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
fedc4a63
Commit
fedc4a63
authored
Apr 12, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量改价单价模式必填校验
parent
0313d99f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
batchEdit.vue
src/views/ecw/productPrice/batchEdit.vue
+5
-1
batchEditAir.vue
src/views/ecw/productPrice/batchEditAir.vue
+5
-1
No files found.
src/views/ecw/productPrice/batchEdit.vue
View file @
fedc4a63
...
@@ -221,7 +221,6 @@ export default {
...
@@ -221,7 +221,6 @@ export default {
specialProducts
:
[],
specialProducts
:
[],
// priceStepList: [{},{}], // 阶梯价格
// priceStepList: [{},{}], // 阶梯价格
// specialList:[], // 特殊需求,默认四个
// specialList:[], // 特殊需求,默认四个
rules
:
{},
product
:
null
,
product
:
null
,
/* productType: null, */
/* productType: null, */
currencyList
:
[],
currencyList
:
[],
...
@@ -235,6 +234,11 @@ export default {
...
@@ -235,6 +234,11 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
rules
(){
return
{
priceType
:[{
required
:
true
,
message
:
this
.
$t
(
"
请选择单价模式
"
)}]
}
},
// 类型,默认海运sea,air表示空运
// 类型,默认海运sea,air表示空运
type
(){
type
(){
let
type
=
this
.
$route
.
path
.
split
(
/
[
-_
]
/
).
pop
()
let
type
=
this
.
$route
.
path
.
split
(
/
[
-_
]
/
).
pop
()
...
...
src/views/ecw/productPrice/batchEditAir.vue
View file @
fedc4a63
...
@@ -155,7 +155,6 @@ export default {
...
@@ -155,7 +155,6 @@ export default {
isAllProduct
:
false
,
// 是否全部商品
isAllProduct
:
false
,
// 是否全部商品
isAllFilteredProduct
:
false
,
// 是否勾選全部搜索結果
isAllFilteredProduct
:
false
,
// 是否勾選全部搜索結果
specialProducts
:
[],
specialProducts
:
[],
rules
:
{},
product
:
null
,
product
:
null
,
currencyList
:
[],
currencyList
:
[],
unitList
:
[],
unitList
:
[],
...
@@ -166,6 +165,11 @@ export default {
...
@@ -166,6 +165,11 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
rules
(){
return
{
priceType
:[{
required
:
true
,
message
:
this
.
$t
(
"
请选择单价模式
"
)}]
}
},
// 判断是否空值
// 判断是否空值
isEmpty
()
{
isEmpty
()
{
return
(
content
)
=>
{
return
(
content
)
=>
{
...
...
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