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
35380c6c
Commit
35380c6c
authored
Oct 14, 2022
by
dcy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
75e91b9d
119466bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+30
-6
No files found.
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
35380c6c
...
@@ -174,13 +174,16 @@
...
@@ -174,13 +174,16 @@
<el-tab-pane
label=
"添加新品名"
name=
"second"
v-if=
"!edit"
>
<el-tab-pane
label=
"添加新品名"
name=
"second"
v-if=
"!edit"
>
<el-descriptions
border
:column=
"2"
>
<el-descriptions
border
:column=
"2"
>
<el-descriptions-item
label=
"中文品名"
>
<el-descriptions-item>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
中文品名
</
template
>
<product-selector
v-model=
"form1.prodId"
@
change=
"onProductChange"
/>
<product-selector
v-model=
"form1.prodId"
@
change=
"onProductChange"
/>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"英文品名"
>
<el-descriptions-item>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
英文品名
</
template
>
<product-selector
lang=
"En"
v-model=
"form1.prodId"
@
change=
"onProductChange"
/>
<product-selector
lang=
"En"
v-model=
"form1.prodId"
@
change=
"onProductChange"
/>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"品牌"
>
<el-descriptions-item
label=
"品牌"
>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
品牌
</
template
>
<el-select
<el-select
v-model=
"form1.brand"
v-model=
"form1.brand"
placeholder=
"可修改"
placeholder=
"可修改"
...
@@ -195,8 +198,14 @@
...
@@ -195,8 +198,14 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"是否备案"
>
{{ isBeian1 }}
</el-descriptions-item>
<el-descriptions-item
label=
"是否备案"
>
<el-descriptions-item
label=
"收费模式"
>
{{ feeType1 }}
</el-descriptions-item>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
是否备案
</
template
>
{{ isBeian1 }}
</el-descriptions-item>
<el-descriptions-item
label=
"收费模式"
>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
收费模式
</
template
>
{{ feeType1 }}
</el-descriptions-item>
<el-descriptions-item
label=
"填单参数"
>
非填单货物
</el-descriptions-item>
<el-descriptions-item
label=
"填单参数"
>
非填单货物
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
style=
"margin-top: 20px"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
style=
"margin-top: 20px"
>
...
@@ -219,6 +228,9 @@
...
@@ -219,6 +228,9 @@
:data=
"tableData1"
:data=
"tableData1"
style=
"width: 100%"
>
style=
"width: 100%"
>
<el-table-column
label=
"箱数"
width=
"150px"
>
<el-table-column
label=
"箱数"
width=
"150px"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
箱数
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.cartonsNum"
:prop=
"$index + '.cartonsNum'"
>
<el-form-item
:rules=
"tableFormRules.cartonsNum"
:prop=
"$index + '.cartonsNum'"
>
<span
v-if=
"tableData1[$index].id"
>
<span
v-if=
"tableData1[$index].id"
>
...
@@ -232,6 +244,9 @@
...
@@ -232,6 +244,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"包装类型"
width=
"100px"
>
<el-table-column
label=
"包装类型"
width=
"100px"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
包装类型
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item>
<el-form-item>
<span
v-if=
"tableData1[$index].id"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
,
tableData1
[
$index
].
unit
)
}}
</span>
<span
v-if=
"tableData1[$index].id"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
,
tableData1
[
$index
].
unit
)
}}
</span>
...
@@ -264,6 +279,9 @@
...
@@ -264,6 +279,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"体积(m³)"
>
<el-table-column
label=
"体积(m³)"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
体积(m³)
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.volume"
:prop=
"$index + '.volume'"
>
<el-form-item
:rules=
"tableFormRules.volume"
:prop=
"$index + '.volume'"
>
<span
v-if=
"tableData1[$index].id"
>
{{
tableData1
[
$index
].
volume
}}
</span>
<span
v-if=
"tableData1[$index].id"
>
{{
tableData1
[
$index
].
volume
}}
</span>
...
@@ -272,6 +290,9 @@
...
@@ -272,6 +290,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"重量(Kg)"
>
<el-table-column
label=
"重量(Kg)"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
重量(Kg)
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.weight"
:prop=
"$index + '.weight'"
>
<el-form-item
:rules=
"tableFormRules.weight"
:prop=
"$index + '.weight'"
>
<span
v-if=
"tableData1[$index].id"
>
{{
tableData1
[
$index
].
weight
}}
</span>
<span
v-if=
"tableData1[$index].id"
>
{{
tableData1
[
$index
].
weight
}}
</span>
...
@@ -280,6 +301,9 @@
...
@@ -280,6 +301,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"数量"
width=
"130px"
>
<el-table-column
label=
"数量"
width=
"130px"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
数量
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.quantityAll"
:prop=
"$index + '.quantityAll'"
>
<el-form-item
:rules=
"tableFormRules.quantityAll"
:prop=
"$index + '.quantityAll'"
>
<span
v-if=
"tableData1[$index].id"
>
{{
tableData1
[
$index
].
quantityAll
}}
</span>
<span
v-if=
"tableData1[$index].id"
>
{{
tableData1
[
$index
].
quantityAll
}}
</span>
...
@@ -424,7 +448,7 @@ export default {
...
@@ -424,7 +448,7 @@ export default {
quantityAll
:
[{
required
:
true
,
message
:
"
数量不能为空
"
,
trigger
:
"
change
"
}]
quantityAll
:
[{
required
:
true
,
message
:
"
数量不能为空
"
,
trigger
:
"
change
"
}]
},
},
form1
:
{
form1
:
{
"
brand
"
:
"
0
"
,
"
brand
"
:
undefined
,
"
brandType
"
:
0
,
"
brandType
"
:
0
,
"
inTime
"
:
""
,
"
inTime
"
:
""
,
"
material
"
:
""
,
"
material
"
:
""
,
...
@@ -463,7 +487,7 @@ export default {
...
@@ -463,7 +487,7 @@ export default {
opened
(
val
)
{
opened
(
val
)
{
if
(
val
)
{
if
(
val
)
{
this
.
form
.
material
=
this
.
warehousing
.
material
this
.
form
.
material
=
this
.
warehousing
.
material
this
.
form
.
brand
=
this
.
warehousing
.
brand
||
'
0
'
this
.
form
.
brand
=
this
.
warehousing
.
brand
this
.
handleBrandChange
(
this
.
form
.
brand
)
this
.
handleBrandChange
(
this
.
form
.
brand
)
}
else
{
}
else
{
this
.
$emit
(
'
update:visible
'
,
false
)
this
.
$emit
(
'
update:visible
'
,
false
)
...
...
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