|
|
@ -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) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|