feat: 阿里采购送货单的业务对接

dev_unify
chenhc 7 months ago
parent cc909c892f
commit 3b3f09eaaf

@ -250,6 +250,7 @@
v-if="selectOrderVisible"> v-if="selectOrderVisible">
<selectMsfxOrderDialog <selectMsfxOrderDialog
:orderFormData = this.orderFormData :orderFormData = this.orderFormData
:closeDialog = this.orderFormDataClose
> >
</selectMsfxOrderDialog> </selectMsfxOrderDialog>
@ -877,7 +878,9 @@ export default {
} }
this.selectOrderVisible = true this.selectOrderVisible = true
}, },
orderFormDataClose(){
this.selectOrderVisible = false
},
// //
resetForm() { resetForm() {
if (this.$refs["dataForm"]) { if (this.$refs["dataForm"]) {

@ -179,6 +179,10 @@ import { addAliBizProduct } from '@/api/inout/order.js'
export default { export default {
components: { retraceCodeDetailDialog }, components: { retraceCodeDetailDialog },
props: { props: {
closeDialog: {
type: Function,
required: true,
},
orderFormData: { orderFormData: {
type: Object, type: Object,
required: true, required: true,
@ -250,6 +254,7 @@ export default {
if (res.code === 20000) { if (res.code === 20000) {
this.codeDetailVisible = false this.codeDetailVisible = false
this.$message.success('选入成功') this.$message.success('选入成功')
this.closeDialog()
} else { } else {
this.$message.error(res.message) this.$message.error(res.message)

Loading…
Cancel
Save