Commit e25ddba7 by linjinhong

Merge branch 'master' into dev_heat_transfer_printing

parents 0508c0d0 e2fcbfe9
...@@ -631,7 +631,8 @@ export default { ...@@ -631,7 +631,8 @@ export default {
headers: { "jwt-token": token }, headers: { "jwt-token": token },
params: { params: {
id: params.id, id: params.id,
status: params.status status: params.status,
type: params.type
} }
}); });
res.send(data); res.send(data);
......
...@@ -288,7 +288,7 @@ export default { ...@@ -288,7 +288,7 @@ export default {
// OP 非btn:扫码入库校验库存 // OP 非btn:扫码入库校验库存
const { code, data: resData } = await this.$api.post( const { code, data: resData } = await this.$api.post(
pathMap.scanProduce[this.orderType], pathMap.scanProduce[this.orderType],
{ id: params.id, status: params.data.status } { id: params.id, status: params.data.status, type: "app" }
); );
if (code === 301) { if (code === 301) {
this.$confirm( this.$confirm(
...@@ -650,18 +650,17 @@ export default { ...@@ -650,18 +650,17 @@ export default {
console.error("setData 执行失败", err); console.error("setData 执行失败", err);
} }
} }
if (
// if (this.detail && !this.isAutoFinish && this.desktopDevice == 3) { this.detail &&
// //惠立彩判断是否全部图片都已经打印完成 Object.keys(this.detail).length > 0 &&
// const canCallApi = this.orderType === "GC"
// this.detail.saveImgList?.every(el => el.power) ?? false; ) {
// if (canCallApi) { try {
// bus.$emit("busEmit", { await this.setData(this.detail);
// value: this.detail.newId, } catch (err) {
// type: "completeFail" console.error("setData 执行失败", err);
// }); }
// } }
// }
//判断生产单号是否为空 //判断生产单号是否为空
if (this.productionNo === "") if (this.productionNo === "")
......
...@@ -775,7 +775,7 @@ export default { ...@@ -775,7 +775,7 @@ export default {
console.log("files.title", files[i]); console.log("files.title", files[i]);
const title = files[i].title; const title = files[i].title;
const matchKey = keyMap[title] || title; const matchKey = keyMap[title] || title;
const templateSize = size[matchKey]; const templateSize = size?.[matchKey];
if (size && !isCut) { if (size && !isCut) {
//带黄点模判断是否是cp类,cp类按照newMmToPxFn方法重新计算宽高 //带黄点模判断是否是cp类,cp类按照newMmToPxFn方法重新计算宽高
......
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