Commit 6ade9623 by 胡悦

Merge branch 'V4.56.0' of http://192.168.3.233:8090/glsx/gl_tape into V4.56.0

2 parents 785c486a 8ed3cbf7
...@@ -225,7 +225,7 @@ export default { ...@@ -225,7 +225,7 @@ export default {
? this.showSelectType({ ? this.showSelectType({
item item
}) })
: this.$emit('jump', name, { ...this.orderCardDetail, type: name == 'CreateOrder' ? 'createWithPay' : '' }) : this.$emit('jump', name, { paramsData: this.orderCardDetail, type: name == 'CreateOrder' ? 'createWithPay' : '' })
} else { } else {
utils.showNoAccess() utils.showNoAccess()
} }
...@@ -269,9 +269,9 @@ export default { ...@@ -269,9 +269,9 @@ export default {
if (this.selectType == 1) { if (this.selectType == 1) {
console.log(await this.inspectionOfProhibitionBill()) console.log(await this.inspectionOfProhibitionBill())
if (await this.inspectionOfProhibitionBill()) return if (await this.inspectionOfProhibitionBill()) return
this.$emit('jump', 'CreateOrder', { ...this.orderCardDetail, type: 'createWithPay' }) this.$emit('jump', 'CreateOrder', { paramsData: this.orderCardDetail, type: 'createWithPay' })
} else { } else {
this.$emit('jump', 'DefeatOrder', { ...this.orderCardDetail, type: 'createWithPay' }) this.$emit('jump', 'DefeatOrder', { paramsData: this.orderCardDetail, type: 'createWithPay' })
} }
}, },
cancelSelection() { cancelSelection() {
......
...@@ -394,7 +394,7 @@ export default { ...@@ -394,7 +394,7 @@ export default {
this.checkPayType() this.checkPayType()
}, },
edit() { edit() {
this.$emit('jump', 'CreateOrder', { ...this.orderInfo, type: 'editWithPay' }) this.$emit('jump', 'CreateOrder', { paramsData: this.orderInfo, type: 'editWithPay' })
}, },
confirmDate(date) { confirmDate(date) {
const { chooseContent } = date const { chooseContent } = date
...@@ -772,6 +772,9 @@ export default { ...@@ -772,6 +772,9 @@ export default {
font-size: toRpx(32); font-size: toRpx(32);
font-weight: 400; font-weight: 400;
margin-bottom: toRpx(20); margin-bottom: toRpx(20);
.price {
font-weight: 500;
}
} }
.meal-bd { .meal-bd {
background: #f6f7fa; background: #f6f7fa;
......
...@@ -28,6 +28,29 @@ ...@@ -28,6 +28,29 @@
<!-- 商品信息 --> <!-- 商品信息 -->
<view class="box-shell"> <view class="box-shell">
<view class="box-shell-title">商品信息</view> <view class="box-shell-title">商品信息</view>
<!-- 套餐 -->
<view class="meal-box" v-for="(item, index) in orderInfo.packageGoodsList">
<view class="meal-hd flex justify-between align-center">
<view>{{ item.packageAlias || item.packageName }}</view>
<view class="price">¥{{ item.totalPrice }}</view>
</view>
<view class="meal-bd">
<view class="meal-bd-box" v-for="g in item.packageGoodsOrderList">
<view class="meal-bd-head flex justify-between align-center">
<view class="flex align-center">
<view class="name">{{ g.upgradeGoodsAlias || g.upgradeGoodsName }}</view>
<view class="meal-bd-bottom flex align-center">
{{ g.upgradeGoodsType === 1 ? g.positionStr : g.upgradeGoodsTypeName }}
<view class="count">x{{ g.number }}</view>
</view>
</view>
<view class="price">¥{{ g.price }}</view>
</view>
</view>
</view>
</view>
<view class="good-list"> <view class="good-list">
<view class="good" v-for="(item, index) in orderInfo.subOrderList" :key="index"> <view class="good" v-for="(item, index) in orderInfo.subOrderList" :key="index">
<view class="flex justify-between align-center"> <view class="flex justify-between align-center">
...@@ -180,7 +203,7 @@ ...@@ -180,7 +203,7 @@
</view> </view>
</view> </view>
<view class="flex align-center footer-box justify-center"> <view class="flex align-center footer-box justify-center" v-if="isMake">
<view class="edit btn flex-1" @click="repeal">撤销工单</view> <view class="edit btn flex-1" @click="repeal">撤销工单</view>
</view> </view>
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 --> <!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
...@@ -220,7 +243,8 @@ export default { ...@@ -220,7 +243,8 @@ export default {
failCustomerService: '../images/kfrefresh.png', failCustomerService: '../images/kfrefresh.png',
warrantyCardVisible: true, warrantyCardVisible: true,
signatureSwitch: false, //不需要走签名逻辑 没有开启签名功能或则是战败订单 signatureSwitch: false, //不需要走签名逻辑 没有开启签名功能或则是战败订单
warrantyCardList: [] warrantyCardList: [],
isMake: true
} }
}, },
async mounted() { async mounted() {
...@@ -228,6 +252,9 @@ export default { ...@@ -228,6 +252,9 @@ export default {
let baseConfigData = await this.setConfigInfo(getApp().globalData) let baseConfigData = await this.setConfigInfo(getApp().globalData)
this.baseConfigData = baseConfigData this.baseConfigData = baseConfigData
this.getDetail(this.transmissionOfData.orderCode) this.getDetail(this.transmissionOfData.orderCode)
const userInfo = uni.$storage.get('userInfo')
console.log(userInfo)
this.isMake = !(userInfo?.isSuper || userInfo?.loginRole == 3 || userInfo.loginRole == 5 || userInfo?.loginRole == 6 || userInfo?.loginRole == 7)
}, },
methods: { methods: {
replaceItemText(item) { replaceItemText(item) {
...@@ -649,6 +676,51 @@ export default { ...@@ -649,6 +676,51 @@ export default {
color: #333333; color: #333333;
font-weight: 400; font-weight: 400;
} }
.meal-box {
border-radius: toRpx(24);
border: toRpx(2) solid #dce0e6;
padding: toRpx(24) toRpx(32);
box-sizing: border-box;
margin-top: toRpx(16);
.meal-hd {
color: #333333;
font-size: toRpx(32);
font-weight: 400;
margin-bottom: toRpx(20);
.price {
font-weight: 500;
}
}
.meal-bd {
background: #f6f7fa;
border-radius: toRpx(16);
padding: 0 toRpx(32);
box-sizing: border-box;
.meal-bd-head {
border-bottom: toRpx(2) solid #dce0e6;
padding: toRpx(24) 0;
.name {
color: #333333;
font-size: toRpx(28);
font-weight: 400;
}
.meal-bd-bottom {
color: #999999;
font-size: toRpx(24);
font-weight: 400;
margin-left: toRpx(8);
}
.price {
color: #333333;
font-size: toRpx(28);
font-weight: 400;
}
}
.meal-bd-box:last-child .meal-bd-head {
border-bottom: none;
}
}
}
.good-list { .good-list {
margin-top: toRpx(16); margin-top: toRpx(16);
.good { .good {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!