Merge remote-tracking branch 'origin/ww' into orderChange

zhairh
wangwei 2 years ago
commit f99e536e4f

@ -316,13 +316,13 @@ export function submitStockOrderToThirdSys(params) {
}) })
} }
export function findOrderByStockOrder(query) { // export function findOrderByStockOrder(query) {
return axios({ // return axios({
url: "/udiwms/inout/order/findOrderByStockOrder", // url: "/udiwms/inout/order/findOrderByStockOrder",
method: 'get', // method: 'get',
params: query // params: query
}); // });
} // }
export function rollbackOrder(params) { export function rollbackOrder(params) {
return axios({ return axios({
@ -343,3 +343,5 @@ export function rollUnReceivebackOrder(params) {

@ -190,6 +190,7 @@ export default {
1: "未审核", 1: "未审核",
2: "已完成" 2: "已完成"
}, },
}; };
}, },
methods: { methods: {
@ -213,6 +214,11 @@ export default {
handleCurrentChange(val) { handleCurrentChange(val) {
this.filterQuery.page = val; this.filterQuery.page = val;
this.getList(); this.getList();
if(val==2){
this.getList1();
}
}, },
getList() { getList() {
this.loading = true this.loading = true
@ -229,6 +235,24 @@ export default {
} }
}); });
}, },
getList1() {
this.filterQuery.page = 1;
this.loading = true
this.detailList = [];
this.detailTotal = 0;
getMAOrderList(this.filterQuery).then((res) => {
this.loading = false;
if (res.code === 20000) {
this.list = res.data.list || [];
this.total = res.data.total || 0;
} else {
this.list = [];
this.total = 0;
}
});
},
handleChange(row) { handleChange(row) {
this.detailQuery.orderIdFk = row.orderId; this.detailQuery.orderIdFk = row.orderId;
this.detailQuery.page = 1; this.detailQuery.page = 1;

Loading…
Cancel
Save