Commit 745f7164 authored by 郭晓清's avatar 郭晓清
parents a84bad3e 6d4f1fba
......@@ -114,9 +114,9 @@ export default {
} catch (a) {}
},
async getBaseInfo(vm, callBack) {
uni.showLoading({
title: "加载中……",
});
// uni.showLoading({
// title: "加载中……",
// });
const res = await vm.$u.api.getSettleBaseInfo();
if (res.code !== 200) {
uni.showToast({
......
......@@ -10,9 +10,14 @@
<view class="right-view">{{ orderData.orderBusinessTypeText }}</view>
</view>
<view class="content-view">
<view class="info-view" v-for="(item, key) in infoTexts" :key="key">
<text>{{item + ':'}}</text>
<text>{{orderData[key]}}</text>
<view class="info-view" v-for="(item, key) in infoTexts" :key="key">
<view class="info-title">
<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 class="address-view">
<view class="address-left-view">
......@@ -133,9 +138,10 @@
},
infoTexts() {
return {
'orderNumber': '工单编号',
'contactName': '客户信息',
'contactPhone': '联系方式'
'orderNumber': {name:'工单编号'},
'partnerCompanyName': {name: '合作厂商'},
'contactName': {name: '客户信息', content: 'contactPhone'},
}
},
typeTexts() {
......@@ -375,8 +381,17 @@
text-align: left;
color: #333333;
font-size: 26rpx;
margin-top: 12rpx;
margin-bottom: 12rpx;
margin-top: 18rpx;
margin-bottom: 18rpx;
display: flex;
align-items: flex-start;
.info-title {
flex-shrink: 0;
}
.info-content {
word-break: break-all;
}
}
.address-view {
......@@ -385,7 +400,7 @@
justify-content: space-between;
color: #333333;
font-size: 24rpx;
margin-top: 12rpx;
margin-top: 18rpx;
.address-left-view {
display: flex;
......
......@@ -11,7 +11,7 @@
"style": {
"navigationBarTitleText": "首页",
"navigationStyle": "custom",
"enablePullDownRefresh": true,
// "enablePullDownRefresh": true,
"disableScroll": true
}
},
......
......@@ -158,6 +158,7 @@
} else {
this.waitInit = true
}
// 第一次入驻成功弹出客服弹窗
if (e && e.visible) {
this.visible = e.visible
}
......
......@@ -18,6 +18,10 @@
<text>工单编号:</text>
<text>{{ order.orderNumber }}</text>
</view>
<view class="order-cell">
<text>合作厂商:</text>
<text>{{ order.partnerCompanyName }}</text>
</view>
<view class="order-cell between-cell">
<view class="left">
<text>客户信息:</text>
......@@ -1114,7 +1118,7 @@
.between-cell {
display: flex;
justify-content: space-between;
align-items: flex-start;
align-items: center;
}
.display-cell {
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