|
|
|
@ -203,6 +203,11 @@ export default {
|
|
|
|
|
produceCode: '',
|
|
|
|
|
warehouseNo: '',
|
|
|
|
|
},
|
|
|
|
|
queryParams2: {
|
|
|
|
|
orderNo: '',
|
|
|
|
|
warehouseNo: '',
|
|
|
|
|
orderLines:[],
|
|
|
|
|
},
|
|
|
|
|
// 表单参数
|
|
|
|
|
form: {},
|
|
|
|
|
// 表单校验
|
|
|
|
@ -420,7 +425,10 @@ export default {
|
|
|
|
|
// this.getList();
|
|
|
|
|
// });
|
|
|
|
|
} else {
|
|
|
|
|
addPurchaseOrderOutbound(_this.selectedRows).then(response => {
|
|
|
|
|
this.queryParams2.orderNo = this.queryParams1.produceCode
|
|
|
|
|
this.queryParams2.warehouseCode = this.queryParams1.warehouseCode
|
|
|
|
|
this.queryParams2.orderLines = _this.selectedRows
|
|
|
|
|
addPurchaseOrderOutbound(_this.queryParams2).then(response => {
|
|
|
|
|
if (response.data) {
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|
this.open = false;
|
|
|
|
|