Commit 6d4f1fba authored by 刘用法's avatar 刘用法

增加合作厂商

parent 49c0aaf9
...@@ -10,9 +10,14 @@ ...@@ -10,9 +10,14 @@
<view class="right-view">{{ orderData.orderBusinessTypeText }}</view> <view class="right-view">{{ orderData.orderBusinessTypeText }}</view>
</view> </view>
<view class="content-view"> <view class="content-view">
<view class="info-view" v-for="(item, key) in infoTexts" :key="key"> <view class="info-view" v-for="(item, key) in infoTexts" :key="key">
<text>{{item + ':'}}</text> <view class="info-title">
<text>{{orderData[key]}}</text> <text>{{item.name + ':'}}</text>
</view>
<view class="info-content">
<text>{{orderData[key]}}</text>
<text v-if="item.content">{{' / ' + orderData[item.content]}}</text>
</view>
</view> </view>
<view class="address-view"> <view class="address-view">
<view class="address-left-view"> <view class="address-left-view">
...@@ -133,9 +138,10 @@ ...@@ -133,9 +138,10 @@
}, },
infoTexts() { infoTexts() {
return { return {
'orderNumber': '工单编号', 'orderNumber': {name:'工单编号'},
'contactName': '客户信息', 'partnerCompanyName': {name: '合作厂商'},
'contactPhone': '联系方式' 'contactName': {name: '客户信息', content: 'contactPhone'},
} }
}, },
typeTexts() { typeTexts() {
...@@ -375,8 +381,17 @@ ...@@ -375,8 +381,17 @@
text-align: left; text-align: left;
color: #333333; color: #333333;
font-size: 26rpx; font-size: 26rpx;
margin-top: 12rpx; margin-top: 18rpx;
margin-bottom: 12rpx; margin-bottom: 18rpx;
display: flex;
align-items: flex-start;
.info-title {
flex-shrink: 0;
}
.info-content {
word-break: break-all;
}
} }
.address-view { .address-view {
...@@ -385,7 +400,7 @@ ...@@ -385,7 +400,7 @@
justify-content: space-between; justify-content: space-between;
color: #333333; color: #333333;
font-size: 24rpx; font-size: 24rpx;
margin-top: 12rpx; margin-top: 18rpx;
.address-left-view { .address-left-view {
display: flex; display: flex;
......
...@@ -158,6 +158,7 @@ ...@@ -158,6 +158,7 @@
} else { } else {
this.waitInit = true this.waitInit = true
} }
// 第一次入驻成功弹出客服弹窗
if (e && e.visible) { if (e && e.visible) {
this.visible = e.visible this.visible = e.visible
} }
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
<text>工单编号:</text> <text>工单编号:</text>
<text>{{ order.orderNumber }}</text> <text>{{ order.orderNumber }}</text>
</view> </view>
<view class="order-cell">
<text>合作厂商:</text>
<text>{{ order.partnerCompanyName }}</text>
</view>
<view class="order-cell between-cell"> <view class="order-cell between-cell">
<view class="left"> <view class="left">
<text>客户信息:</text> <text>客户信息:</text>
...@@ -1074,7 +1078,7 @@ ...@@ -1074,7 +1078,7 @@
.between-cell { .between-cell {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: center;
} }
.display-cell { .display-cell {
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment