上传至自助平台修改

wms_pzh
anthonyywj2 3 years ago
parent fd895a7b62
commit 4718ca2104

@ -951,13 +951,13 @@ export default {
uploadSpms(row) { uploadSpms(row) {
if (row.uploadStatus == "1") { if (row.uploadStatus == "1") {
// //
this.$confirm('单据已上传,是否确认重新上传到 “' + row.fromCorp + '” 的UDI自助平台', '提示', { this.$confirm('单据已上传,是否确认重新上传到 “' + row.corpName + '” 的UDI自助平台', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let orderIds = []; let orderIds = [];
orderIds.push(row.orderId); orderIds.push(row.orderIdFk);
let query = {orderIds: orderIds}; let query = {orderIds: orderIds};
row.uploadStatus = 1; row.uploadStatus = 1;
uploadSpms(query) uploadSpms(query)
@ -978,13 +978,13 @@ export default {
}); });
}); });
} else { } else {
this.$confirm('是否确认提交到 “' + row.fromCorp + '” 的UDI自助平台', '提示', { this.$confirm('是否确认提交到 “' + row.corpName + '” 的UDI自助平台', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let orderIds = []; let orderIds = [];
orderIds.push(row.orderId); orderIds.push(row.orderIdFk);
let query = {orderIds: orderIds}; let query = {orderIds: orderIds};
row.uploadStatus = 1; row.uploadStatus = 1;
uploadSpms(query) uploadSpms(query)

Loading…
Cancel
Save