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
10d9209b
Commit
10d9209b
authored
Sep 05, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特需修改
parent
7179b8c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
specialNeeds.vue
src/views/ecw/order/components/specialNeeds.vue
+15
-6
No files found.
src/views/ecw/order/components/specialNeeds.vue
View file @
10d9209b
...
@@ -5,7 +5,9 @@
...
@@ -5,7 +5,9 @@
<div
class=
"content"
>
<div
class=
"content"
>
<el-form
label-width=
"180px"
label-position=
"left"
>
<el-form
label-width=
"180px"
label-position=
"left"
>
<el-form-item
label=
"特殊要求"
>
<el-form-item
label=
"特殊要求"
>
<dict-selector
v-if=
"show"
v-model=
"advanceType"
multiple
formType=
"checkbox"
:type=
"DICT_TYPE.ORDER_SPECIAL_NEEDS"
></dict-selector>
<el-checkbox-group
v-model=
"advanceType"
>
<el-checkbox
v-for=
"(item) in getDictDatas(DICT_TYPE.ORDER_SPECIAL_NEEDS)"
:disabled=
"advanceTypeList.includes(item.value)"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"特殊要求备注"
><el-input
type=
"textarea"
style=
"width: 300px;"
v-model=
"todoDetail"
></el-input></el-form-item>
<el-form-item
label=
"特殊要求备注"
><el-input
type=
"textarea"
style=
"width: 300px;"
v-model=
"todoDetail"
></el-input></el-form-item>
<el-form-item
v-for=
"(item,index) in this.getDictDatas(this.DICT_TYPE.ORDER_SPECIAL_NEEDS)"
v-if=
"advanceType.indexOf(item.value) > -1"
:key=
"item.value"
:label=
"item.label + '预计金额'"
>
<el-form-item
v-for=
"(item,index) in this.getDictDatas(this.DICT_TYPE.ORDER_SPECIAL_NEEDS)"
v-if=
"advanceType.indexOf(item.value) > -1"
:key=
"item.value"
:label=
"item.label + '预计金额'"
>
...
@@ -14,9 +16,10 @@
...
@@ -14,9 +16,10 @@
<dict-selector
v-model=
"specialNeedsList[index].transCurrency"
:type=
"DICT_TYPE.COMMISSION_CURRENCY_TYPE"
></dict-selector>
<dict-selector
v-model=
"specialNeedsList[index].transCurrency"
:type=
"DICT_TYPE.COMMISSION_CURRENCY_TYPE"
></dict-selector>
</div>
</div>
</el-input>
</el-input>
</el-form-item>
<div
style=
"display: inline-block;margin-left: 20px;"
>
<el-form-item
label=
"付款类型"
>
<span
style=
"margin-right: 10px;"
>
付款类型
</span>
<dict-selector
placeholder=
"请选择付款类型"
v-model=
"payType"
:type=
"DICT_TYPE.PAYMENT_TYPE"
></dict-selector>
<dict-selector
placeholder=
"请选择付款类型"
v-model=
"specialNeedsList[index].payType"
:type=
"DICT_TYPE.PAYMENT_TYPE"
></dict-selector>
</div>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -38,6 +41,12 @@ export default {
...
@@ -38,6 +41,12 @@ export default {
type
:[
String
,
Number
],
type
:[
String
,
Number
],
},
},
show
:
Boolean
,
show
:
Boolean
,
advanceTypes
:
String
,
},
computed
:{
advanceTypeList
(){
return
!!
this
.
advanceTypes
?
this
.
advanceTypes
.
split
(
'
,
'
)
:
[]
}
},
},
data
(){
data
(){
return
{
return
{
...
@@ -47,14 +56,13 @@ export default {
...
@@ -47,14 +56,13 @@ export default {
advanceType
:[],
advanceType
:[],
specialNeedsList
:[],
specialNeedsList
:[],
todoDetail
:
''
,
todoDetail
:
''
,
payType
:
''
}
}
},
},
methods
:{
methods
:{
submit
(){
submit
(){
this
.
specialNeedsList
.
forEach
(
i
=>
{
this
.
specialNeedsList
.
forEach
(
i
=>
{
i
.
todoDetail
=
this
.
todoDetail
i
.
todoDetail
=
this
.
todoDetail
i
.
payType
=
this
.
payType
})
})
let
p
=
this
.
specialNeedsList
.
filter
(
i
=>
this
.
advanceType
.
indexOf
(
i
.
advanceType
)
>
-
1
)
let
p
=
this
.
specialNeedsList
.
filter
(
i
=>
this
.
advanceType
.
indexOf
(
i
.
advanceType
)
>
-
1
)
specialNeedCreate
(
p
).
then
(
r
=>
{
specialNeedCreate
(
p
).
then
(
r
=>
{
...
@@ -75,6 +83,7 @@ export default {
...
@@ -75,6 +83,7 @@ export default {
orderId
:
this
.
orderId
,
orderId
:
this
.
orderId
,
transFee
:
''
,
//预计金额
transFee
:
''
,
//预计金额
transCurrency
:
''
,
//运输费币种
transCurrency
:
''
,
//运输费币种
payType
:
''
})
})
})
})
}
else
{
}
else
{
...
...
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