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
33b2c721
Commit
33b2c721
authored
Jun 10, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug
parent
2ee6b93d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
30 deletions
+34
-30
src/views/design/head/index.vue
+34
-30
No files found.
src/views/design/head/index.vue
View file @
33b2c721
...
...
@@ -263,13 +263,15 @@ export default {
)
{
const
{
code
,
data
}
=
await
this
.
$api
.
post
(
pathMap
[
"scanProduce"
][
this
.
orderType
],
params
{
id
:
params
.
id
,
status
:
params
.
data
.
status
}
);
if
(
code
==
301
)
{
this
.
$confirm
(
`<p>库存不足,无法进入生产!请联系仓库管理人员核对库存。</p>
<p>库存数量:
${
data
.
availableInventory
||
0
}
,生产中数量:
${
data
.
inventory
||
0
}
,可调配库存:
${
data
.
inventory
||
0
}
</p>`
,
`库存不足,无法进入生产!请联系仓库管理人员核对库存。</br>
库存数量:
${
data
.
availableInventory
||
0
}
,
生产中数量:
${
data
.
inventory
||
0
}
,
<span style="color: red;">可调配库存:
${
data
.
inventory
||
0
}
</span>`
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -727,32 +729,34 @@ export default {
(this.detail.status == "
PENDING_PICK
" ||
this.detail.status == "
PENDING_REPLENISH
")
) {
// const {
// data: checkInventoryData,
// code: checkInventoryCode
// } = await this.$api.post(pathMap["
checkInventory
"][this.orderType], {
// id: this.detail.id,
// status: this.detail.status
// });
// if (checkInventoryCode == 301) {
// this.$confirm(
// `<p>库存不足,无法进入生产!请联系仓库管理人员核对库存。</p>
// <p>库存数量:${checkInventoryData.availableInventory ||
// 0},生产中数量:${checkInventoryData.inventory ||
// 0},可调配库存:${checkInventoryData.inventory || 0}</p>`,
// "
提示
",
// {
// confirmButtonText: "
确定
",
// type: "
error
",
// dangerouslyUseHTMLString: true,
// customClass: "
custom
-
inventory
-
msgbox
"
// }
// );
// this.detail = "";
// this.productionNo = "";
// this.$refs.searchRef?.focus();
// return;
// }
const {
data: checkInventoryData,
code: checkInventoryCode
} = await this.$api.post(pathMap["
checkInventory
"][this.orderType], {
id: this.detail.id,
status: this.detail.status
});
if (checkInventoryCode == 301) {
this.$confirm(
`库存不足,无法进入生产!请联系仓库管理人员核对库存。</br>
库存数量:${checkInventoryData.availableInventory || 0},
生产中数量:${checkInventoryData.inventory || 0},
<span style="
color
:
red
;
">可调配库存:
${checkInventoryData.inventory || 0}</span>`,
"
提示
",
{
confirmButtonText: "
确定
",
type: "
error
",
dangerouslyUseHTMLString: true,
// 🔥 关键:添加自定义类名
customClass: "
custom
-
inventory
-
msgbox
"
}
);
this.detail = "";
this.productionNo = "";
this.$refs.searchRef?.focus();
return;
}
}
let designImagesCanvasJsonList = this.detail.drParam;
...
...
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