1.修复无法上传单据到自助平台问题

wms_pzh
x_z 3 years ago
parent 4718ca2104
commit 5761d3c970

@ -957,7 +957,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let orderIds = []; let orderIds = [];
orderIds.push(row.orderIdFk); orderIds.push(row.billNo);
let query = {orderIds: orderIds}; let query = {orderIds: orderIds};
row.uploadStatus = 1; row.uploadStatus = 1;
uploadSpms(query) uploadSpms(query)
@ -972,10 +972,6 @@ export default {
.catch(() => { .catch(() => {
}); });
}).catch(() => { }).catch(() => {
this.$message({
type: 'info',
message: '已取消'
});
}); });
} else { } else {
this.$confirm('是否确认提交到 “' + row.corpName + '” 的UDI自助平台', '提示', { this.$confirm('是否确认提交到 “' + row.corpName + '” 的UDI自助平台', '提示', {
@ -984,7 +980,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let orderIds = []; let orderIds = [];
orderIds.push(row.orderIdFk); orderIds.push(row.billNo);
let query = {orderIds: orderIds}; let query = {orderIds: orderIds};
row.uploadStatus = 1; row.uploadStatus = 1;
uploadSpms(query) uploadSpms(query)
@ -999,13 +995,8 @@ export default {
.catch(() => { .catch(() => {
}); });
}).catch(() => { }).catch(() => {
this.$message({
type: 'info',
message: '已取消'
});
}); });
} }
} }
}, },
components: { components: {

Loading…
Cancel
Save