pull/18/head
zhangyouji 1 year ago
parent abf96ad23e
commit 79f169989a
  1. 13
      src/views/order/components/billOfLading.vue

@ -157,7 +157,7 @@
订单确认 订单确认
</el-button> </el-button>
</div> </div>
<el-dialog :close-on-click-modal="false" :append-to-body="true" title="提货单信息确认" width="460px" :visible.sync="dialogBillAdd"> <el-dialog :close-on-click-modal="false" :append-to-body="true" title="提货单信息" width="460px" :visible.sync="dialogBillAdd">
<el-form v-if="dialogBillAdd" :model="billAddData" ref="form" :rules="rules"> <el-form v-if="dialogBillAdd" :model="billAddData" ref="form" :rules="rules">
<el-form-item label="预约提货量" prop="preDeliveryQuantity"> <el-form-item label="预约提货量" prop="preDeliveryQuantity">
<el-input v-model="billAddData.preDeliveryQuantity"> <template slot="append"></template></el-input> <el-input v-model="billAddData.preDeliveryQuantity"> <template slot="append"></template></el-input>
@ -209,7 +209,7 @@
<el-button type="primary" @click="billdelivery()"> </el-button> <el-button type="primary" @click="billdelivery()"> </el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog :close-on-click-modal="false" :append-to-body="true" title="提货单信息" width="800px" :visible.sync="imageAdd"> <el-dialog :close-on-click-modal="false" :append-to-body="true" title="提货单信息确认" width="800px" :visible.sync="imageAdd">
<el-form :model="billAddData" style="display: flex; justify-content: space-around"> <el-form :model="billAddData" style="display: flex; justify-content: space-around">
<el-form-item label="出库单" :rules="[{ required: true, message: '请上传图片', trigger: ['blur', 'change'] }]"> <el-form-item label="出库单" :rules="[{ required: true, message: '请上传图片', trigger: ['blur', 'change'] }]">
<el-upload <el-upload
@ -605,7 +605,8 @@ export default {
this.$message.error(response.msg) this.$message.error(response.msg)
return return
} }
this.billAddData.outboundImage = response.data.publicUrl // this.billAddData.outboundImage = response.data.publicUrl
this.$set(this.billAddData, 'outboundImage', response.data.publicUrl)
}, },
// //
handleSuccessWeighImage(response, file) { handleSuccessWeighImage(response, file) {
@ -613,7 +614,8 @@ export default {
this.$message.error(response.msg) this.$message.error(response.msg)
return return
} }
this.billAddData.weighImage = response.data.publicUrl // this.billAddData.weighImage = response.data.publicUrl
this.$set(this.billAddData, 'weighImage', response.data.publicUrl)
}, },
// //
handleSuccessCustomImage(response, file) { handleSuccessCustomImage(response, file) {
@ -621,7 +623,8 @@ export default {
this.$message.error(response.msg) this.$message.error(response.msg)
return return
} }
this.billAddData.customImage = response.data.publicUrl // this.billAddData.customImage = response.data.publicUrl
this.$set(this.billAddData, 'customImage', response.data.publicUrl)
} }
} }
} }

Loading…
Cancel
Save