Commit d8fd0361 by linjinhong

fix:修改老pod兼容问题

parent 9bbf885f
......@@ -650,18 +650,17 @@ export default {
console.error("setData 执行失败", err);
}
}
// if (this.detail && !this.isAutoFinish && this.desktopDevice == 3) {
// //惠立彩判断是否全部图片都已经打印完成
// const canCallApi =
// this.detail.saveImgList?.every(el => el.power) ?? false;
// if (canCallApi) {
// bus.$emit("busEmit", {
// value: this.detail.newId,
// type: "completeFail"
// });
// }
// }
if (
this.detail &&
Object.keys(this.detail).length > 0 &&
this.orderType === "GC"
) {
try {
await this.setData(this.detail);
} catch (err) {
console.error("setData 执行失败", err);
}
}
//判断生产单号是否为空
if (this.productionNo === "")
......
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