Commit 2e517a5a by linjinhong

fix:修改问题

parent e301fc30
......@@ -234,11 +234,11 @@ export default {
const params = {
...this.detail,
};
if (this.orderType === "CN") {
params.podJomallOrderCnId = data.podJomallOrderCnId;
} else if (this.orderType === "US") {
params.podJomallOrderUsId = data.podJomallOrderUsId;
}
// if (this.orderType === "CN") {
// params.podJomallOrderCnId = data.podJomallOrderCnId;
// } else if (this.orderType === "US") {
// params.podJomallOrderUsId = data.podJomallOrderUsId;
// }
//如果为惠立彩则判断当前saveImgList字段中的power是否全是true 是则生产完成
const canCallApi =
this.desktopDevice != 3 ||
......@@ -253,10 +253,7 @@ export default {
}
console.log("本地数据removeFromOrderInfo:", getOrderInfoMap());
//生产完成后在本地删除
await this.$api.post(
pathMap["completeDelivery"][this.orderType],
params,
);
await this.$api.post(pathMap["completeDelivery"], params);
this.$message.success("操作成功");
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment