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