Commit f9bbbfaa authored by Damon's avatar Damon

fix: 配件选择样式

parent 4fc56662
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
font-size: 32rpx; font-size: 32rpx;
color: #333; color: #333;
font-weight: bold; font-weight: bold;
height: 50rpx; height: 48rpx;
overflow: hidden; overflow: hidden;
} }
.right-content-desc { .right-content-desc {
......
...@@ -567,21 +567,23 @@ ...@@ -567,21 +567,23 @@
}, },
// 提交配件信息 // 提交配件信息
submitParts() { submitParts() {
const lists = this.form.orderAccessorys.filter(v => v.quantity > 0) if (this.form.orderAccessorys) {
const params = { const lists = this.form.orderAccessorys.filter(v => v.quantity > 0)
workOrderId: this.orderId, const params = {
applyType: '10', workOrderId: this.orderId,
parts: JSON.stringify(lists) applyType: '10',
} parts: JSON.stringify(lists)
this.$u.api.createParts(params).then(res => {
if (res.code !== 200) {
this.$refs.uToast.show({
title: res.data,
type: 'error',
})
} }
})
this.$u.api.createParts(params).then(res => {
if (res.code !== 200) {
this.$refs.uToast.show({
title: res.data,
type: 'error',
})
}
})
}
}, },
// 提交订单 // 提交订单
orderFinish(){ orderFinish(){
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
</view> </view>
<view class="warp u-flex"> <view class="warp u-flex">
<view class="brand u-flex"> <view class="brand u-flex" v-if="brand.length > 0">
<view class="label-content u-flex" v-if="brand.length > 0"> <view class="label-content u-flex">
<scroll-view <scroll-view
style="width:100%;white-space: nowrap;" style="width:100%;white-space: nowrap;"
scroll-x="true" scroll-x="true"
......
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