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
b63f7a0b
Commit
b63f7a0b
authored
May 19, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阶梯价格未设置不报错,出错拆单更换数量是否必填接口
parent
7b846879
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
15 deletions
+13
-15
splitOrder.vue
...views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
+3
-5
edit.vue
src/views/ecw/productPrice/edit.vue
+10
-10
No files found.
src/views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
View file @
b63f7a0b
...
@@ -271,10 +271,11 @@
...
@@ -271,10 +271,11 @@
<
script
>
<
script
>
import
{
import
{
getSplitList
,
getSplitList
,
quantitycheck
,
//
quantitycheck,
createSplitItem
,
createSplitItem
,
deleteSplitItem
,
deleteSplitItem
,
}
from
"
@/api/ecw/orderHandle
"
;
}
from
"
@/api/ecw/orderHandle
"
;
import
{
quantityRequired
}
from
"
@/api/ecw/warehouse
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
{
getOrder
,
splitItemUpdate
}
from
"
@/api/ecw/order
"
;
import
{
getOrder
,
splitItemUpdate
}
from
"
@/api/ecw/order
"
;
...
@@ -614,10 +615,7 @@ export default {
...
@@ -614,10 +615,7 @@ export default {
return data;
return data;
},*/
},*/
async
getSelectData
(
item
)
{
async
getSelectData
(
item
)
{
await
quantitycheck
({
await
quantityRequired
(
this
.
orderData
.
lineId
).
then
((
res
)
=>
{
seaFreightVolume
:
item
.
seaFreightVolume
,
clearanceFreightVolume
:
item
.
clearanceFreightVolume
,
}).
then
((
res
)
=>
{
if
(
res
.
data
)
{
if
(
res
.
data
)
{
this
.
isQuantity
=
true
;
this
.
isQuantity
=
true
;
this
.
shopRules
.
putQuantity
=
[
this
.
shopRules
.
putQuantity
=
[
...
...
src/views/ecw/productPrice/edit.vue
View file @
b63f7a0b
...
@@ -735,7 +735,7 @@ export default {
...
@@ -735,7 +735,7 @@ export default {
this
.
form
.
priceStepList
.
forEach
(
item
=>
{
this
.
form
.
priceStepList
.
forEach
(
item
=>
{
let
notEmptyFields
=
[
'
startNum
'
,
'
endNum
'
,
'
weightUnit
'
]
let
notEmptyFields
=
[
'
startNum
'
,
'
endNum
'
,
'
weightUnit
'
]
notEmptyFields
.
forEach
(
field
=>
{
notEmptyFields
.
forEach
(
field
=>
{
if
(
item
[
field
].
toString
().
trim
()
==
''
){
if
(
!
item
[
field
]
||
item
[
field
].
toString
().
trim
()
==
''
){
stepPriceEmpty
=
true
stepPriceEmpty
=
true
}
}
}
)
}
)
...
@@ -744,7 +744,7 @@ export default {
...
@@ -744,7 +744,7 @@ export default {
}
}
}
)
}
)
if
(
stepPriceEmpty
){
if
(
stepPriceEmpty
){
return
this
.
$message
.
error
(
this
.
$t
(
'
阶梯价格设置不能留空
'
))
return
this
.
$message
.
error
(
this
.
$t
(
'
阶梯
和
价格设置不能留空
'
))
}
}
}
}
...
...
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