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
dc04b8e9
Commit
dc04b8e9
authored
Feb 21, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
387f2453
13854378
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
11 deletions
+27
-11
CancelCargo.vue
src/views/ecw/order/components/CancelCargo.vue
+1
-1
PrintTag.vue
src/views/ecw/order/components/PrintTag.vue
+3
-0
edit.vue
src/views/ecw/order/edit.vue
+19
-6
index.vue
src/views/ecw/product/index.vue
+4
-4
No files found.
src/views/ecw/order/components/CancelCargo.vue
View file @
dc04b8e9
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('控货手机号')"
>
<el-form-item
:label=
"$t('控货手机号')"
>
+
{{
detail
.
country
Code
}}
{{
detail
.
phone
}}
+
{{
detail
.
dial
Code
}}
{{
detail
.
phone
}}
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('手机验证码')"
>
<el-form-item
:label=
"$t('手机验证码')"
>
<el-input
v-model=
"formData.code"
placeholder=
""
style=
"width: 100px; margin-right:10px"
></el-input>
<el-input
v-model=
"formData.code"
placeholder=
""
style=
"width: 100px; margin-right:10px"
></el-input>
...
...
src/views/ecw/order/components/PrintTag.vue
View file @
dc04b8e9
...
@@ -11,6 +11,9 @@
...
@@ -11,6 +11,9 @@
<el-form-item
:label=
"$t('结束标签')"
prop=
"end"
required
>
<el-form-item
:label=
"$t('结束标签')"
prop=
"end"
required
>
<el-input
v-model.number=
"form.end"
type=
"number"
></el-input>
<el-input
v-model.number=
"form.end"
type=
"number"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('标签范围')"
v-if=
"tags.length"
>
<el-input
:value=
"tags[0].labels"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<el-button
type=
"primary"
@
click=
"showPreview"
>
{{
$t
(
'
去打印
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"showPreview"
>
{{
$t
(
'
去打印
'
)
}}
</el-button>
</el-form-item>
</el-form-item>
...
...
src/views/ecw/order/edit.vue
View file @
dc04b8e9
...
@@ -833,7 +833,10 @@ export default {
...
@@ -833,7 +833,10 @@ export default {
}
}
},
},
'
form.isCargoControl
'
(
isCargoControl
){
'
form.isCargoControl
'
(
isCargoControl
){
this
.
$set
(
this
.
form
,
'
drawee
'
,
isCargoControl
?
1
:
2
)
console
.
log
(
'
form.isCargoControl
'
,
this
.
form
.
isCargoControl
,
this
.
initing
)
if
(
!
this
.
initing
){
this
.
$set
(
this
.
form
,
'
drawee
'
,
isCargoControl
?
1
:
2
)
}
},
},
/* 'form.orderItemVOList'(){
/* 'form.orderItemVOList'(){
console.log('form.orderItemVOList', this.form.orderItemVOList.length, this.form.orderItemVOList)
console.log('form.orderItemVOList', this.form.orderItemVOList.length, this.form.orderItemVOList)
...
@@ -875,11 +878,14 @@ export default {
...
@@ -875,11 +878,14 @@ export default {
if
(
this
.
$route
.
query
.
id
){
if
(
this
.
$route
.
query
.
id
){
this
.
getOrder
()
this
.
getOrder
()
}
else
this
.
addProduct
()
}
else
{
this
.
addProduct
()
this
.
$nextTick
(()
=>
{
this
.
initing
=
false
})
}
this
.
$nextTick
(()
=>
{
this
.
initing
=
false
})
},
},
methods
:
{
methods
:
{
onTableMounted
(
e
){
onTableMounted
(
e
){
...
@@ -887,7 +893,7 @@ export default {
...
@@ -887,7 +893,7 @@ export default {
},
},
getOrder
(){
getOrder
(){
getUpdateInfo
(
this
.
$route
.
query
.
id
).
then
(
res
=>
{
getUpdateInfo
(
this
.
$route
.
query
.
id
).
then
(
res
=>
{
this
.
form
=
Object
.
assign
({},
res
.
data
,
{
orderItemVOList
:
[]})
this
.
form
=
Object
.
assign
({},
{...
res
.
data
}
,
{
orderItemVOList
:
[]})
/* this.form.orderItemVOList = []; */
/* this.form.orderItemVOList = []; */
...
@@ -926,6 +932,13 @@ export default {
...
@@ -926,6 +932,13 @@ export default {
this
.
showWorkFlow
=
true
this
.
showWorkFlow
=
true
}
}
// 如果是自定义付款人,则需要同步具体发货人信息
if
(
this
.
form
.
drawee
==
3
){
this
.
customDraweeList
.
forEach
(
item
=>
{
item
.
value
=
this
.
form
.
customDraweeVOList
.
find
(
it
=>
it
.
name
==
item
.
name
)?.
value
||
item
.
value
})
}
// 如果已完成入仓,则需要监听必填内容,发生更改后需要填写审批表单
// 如果已完成入仓,则需要监听必填内容,发生更改后需要填写审批表单
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
res
.
data
.
orderItemVOList
.
forEach
(
item
=>
{
res
.
data
.
orderItemVOList
.
forEach
(
item
=>
{
...
...
src/views/ecw/product/index.vue
View file @
dc04b8e9
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
<el-input
v-model=
"queryParams.titleZh"
:placeholder=
"$t('请输入商品名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.titleZh"
:placeholder=
"$t('请输入商品名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<
!--
<el-form-item
:label=
"$t('商品属性
')"
prop=
"attrId"
>
<
el-form-item
:label=
"$t('商品类型
')"
prop=
"attrId"
>
<el-select
v-model=
"queryParams.typeId"
:placeholder=
"$t('选择商品类型')"
clearable
>
<el-select
v-model=
"queryParams.typeId"
:placeholder=
"$t('选择商品类型')"
clearable
>
<el-option
v-for=
"type in typeList"
:key=
"type.id"
:label=
"
type.titleZh
"
:value=
"type.id"
/>
<el-option
v-for=
"type in typeList"
:key=
"type.id"
:label=
"
$l(type, 'title')
"
:value=
"type.id"
/>
</el-select>
</el-select>
</el-form-item>
-->
</el-form-item>
<el-form-item
:label=
"$t('商品特性')"
prop=
"attrId"
>
<el-form-item
:label=
"$t('商品特性')"
prop=
"attrId"
>
<el-select
v-model=
"queryParams.attrId"
:placeholder=
"$t('选择商品特性')"
clearable
>
<el-select
v-model=
"queryParams.attrId"
:placeholder=
"$t('选择商品特性')"
clearable
>
...
@@ -328,7 +328,7 @@ export default {
...
@@ -328,7 +328,7 @@ export default {
activated
(){
activated
(){
if
(
this
.
$route
.
query
.
typeId
!=
this
.
queryParams
.
typeId
){
if
(
this
.
$route
.
query
.
typeId
!=
this
.
queryParams
.
typeId
){
this
.
queryParams
.
typeId
=
this
.
$route
.
query
.
typeId
this
.
queryParams
.
typeId
=
+
this
.
$route
.
query
.
typeId
||
null
}
}
this
.
getList
()
this
.
getList
()
},
},
...
...
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