Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
e7602e7f
Commit
e7602e7f
authored
Nov 13, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数量问题
parent
07269986
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
splitOrder.vue
...views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
+6
-9
No files found.
src/views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
View file @
e7602e7f
...
...
@@ -199,7 +199,7 @@
{{shopForm.num||0}}
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
v-show=
"isQuantity"
>
<el-form-item
label=
"剩余数量(个):"
>
{{shopForm.quantity||0}}
</el-form-item>
...
...
@@ -208,7 +208,7 @@
<el-form-item
label=
"放入箱数:"
>
{{shopForm.num||0}}
</el-form-item>
<el-form-item
label=
"放入数量(个):"
prop=
"putQuantity"
>
<el-form-item
label=
"放入数量(个):"
prop=
"putQuantity"
v-show=
"isQuantity"
>
<el-input-number
v-model=
"shopForm.putQuantity"
controls-position=
"right"
:min=
"0"
></el-input-number>
</el-form-item>
<el-form-item
label=
"备注信息:"
>
...
...
@@ -237,7 +237,6 @@ import { getOrder } from "@/api/ecw/order";
import
{
serviceMsg
,
toReviewDetail
}
from
"
../../utils
"
;
import
{
createApproval
,
approvalCancel
,
splitList
}
from
"
@/api/ecw/boxSea
"
;
import
Decimal
from
"
decimal.js
"
;
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
;
export
default
{
name
:
"
splitOrder
"
,
...
...
@@ -282,7 +281,7 @@ export default {
orderId
:
0
,
lang
:
0
,
},
units
:
[]
,
isQuantity
:
false
,
};
},
created
()
{
...
...
@@ -292,11 +291,6 @@ export default {
this
.
queryParams
.
orderId
=
this
.
currRow
.
orderId
;
this
.
getOrderDetail
();
this
.
getSplit
();
// 获取单位
getUnitList
().
then
((
res
)
=>
{
const
{
data
}
=
res
;
this
.
units
=
data
??
[];
});
},
watch
:
{
//监听table这个对象
...
...
@@ -451,6 +445,7 @@ export default {
addShop
()
{
this
.
shopForm
=
{};
this
.
shopOpen
=
true
;
this
.
isQuantity
=
false
;
},
async
changeProdTitleZh
()
{
const
data
=
await
this
.
getSelectData
(
"
zhId
"
);
...
...
@@ -480,6 +475,7 @@ export default {
clearanceFreightVolume
:
data
.
clearanceFreightVolume
,
}).
then
((
res
)
=>
{
if
(
res
.
data
)
{
this
.
isQuantity
=
true
;
this
.
shopRules
.
putQuantity
=
[
{
required
:
true
,
...
...
@@ -488,6 +484,7 @@ export default {
},
];
}
else
{
this
.
isQuantity
=
false
;
delete
this
.
shopRules
.
putQuantity
;
}
});
...
...
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