Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
electron-printer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhuzhequan
electron-printer
Commits
e25ddba7
Commit
e25ddba7
authored
Jul 15, 2026
by
linjinhong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into dev_heat_transfer_printing
parents
0508c0d0
e2fcbfe9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
src/server/entity/function.js
+2
-1
src/views/design/head/index.vue
+12
-13
src/views/design/main/index.vue
+1
-1
No files found.
src/server/entity/function.js
View file @
e25ddba7
...
...
@@ -631,7 +631,8 @@ export default {
headers
:
{
"jwt-token"
:
token
},
params
:
{
id
:
params
.
id
,
status
:
params
.
status
status
:
params
.
status
,
type
:
params
.
type
}
});
res
.
send
(
data
);
...
...
src/views/design/head/index.vue
View file @
e25ddba7
...
...
@@ -288,7 +288,7 @@ export default {
// OP 非btn:扫码入库校验库存
const { code, data: resData } = await this.$api.post(
pathMap.scanProduce[this.orderType],
{ id: params.id, status: params.data.status }
{ id: params.id, status: params.data.status
, type: "app"
}
);
if (code === 301) {
this.$confirm(
...
...
@@ -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 === "")
...
...
src/views/design/main/index.vue
View file @
e25ddba7
...
...
@@ -775,7 +775,7 @@ export default {
console
.
log
(
"files.title"
,
files
[
i
]);
const
title
=
files
[
i
].
title
;
const
matchKey
=
keyMap
[
title
]
||
title
;
const
templateSize
=
size
[
matchKey
];
const
templateSize
=
size
?.
[
matchKey
];
if
(
size
&&
!
isCut
)
{
//带黄点模判断是否是cp类,cp类按照newMmToPxFn方法重新计算宽高
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment