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
62f54dd1
Commit
62f54dd1
authored
Mar 15, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
d84824db
d603250d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
release.vue
src/views/ecw/order/release.vue
+4
-4
index.vue
src/views/ecw/zhongPao/index.vue
+2
-5
No files found.
src/views/ecw/order/release.vue
View file @
62f54dd1
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<dict-selector
:type=
"DICT_TYPE.ECW_HARVEST_METHOD"
v-model=
"form.pickType"
form-type=
"radio"
formatter=
"number"
></dict-selector>
<dict-selector
:type=
"DICT_TYPE.ECW_HARVEST_METHOD"
v-model=
"form.pickType"
form-type=
"radio"
formatter=
"number"
></dict-selector>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('提货时间')"
v-if=
"form.pickType == 1"
>
<el-form-item
:label=
"$t('提货时间')"
v-if=
"form.pickType == 1"
>
<el-date-picker
v-model=
"form.pickTime"
placeholder=
""
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
v-model=
"form.pickTime"
placeholder=
""
type=
"datetime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
<template
v-if=
"form.pickType == 2"
>
<template
v-if=
"form.pickType == 2"
>
...
@@ -49,14 +49,14 @@
...
@@ -49,14 +49,14 @@
<el-form-item
:label=
"$t('附件')"
>
<el-form-item
:label=
"$t('附件')"
>
<image-upload
v-model=
"form.attachment"
/>
<image-upload
v-model=
"form.attachment"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('备注')"
>
<el-form-item
:label=
"$t('备注')"
>
<el-input
v-model=
"form.remark"
type=
"textarea"
placeholder=
""
></el-input>
<el-input
v-model=
"form.remark"
type=
"textarea"
placeholder=
""
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<el-button
type=
"primary"
@
click=
"submit"
>
{{$t('确认放货')}}
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
{{$t('确认放货')}}
</el-button>
<el-button
type=
"default"
@
click=
"$router.back()"
>
{{$t('取消')}}
</el-button>
<el-button
type=
"default"
@
click=
"$router.back()"
>
{{$t('取消')}}
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</template>
</template>
...
@@ -98,4 +98,4 @@ export default {
...
@@ -98,4 +98,4 @@ export default {
}
}
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
src/views/ecw/zhongPao/index.vue
View file @
62f54dd1
...
@@ -194,10 +194,7 @@ export default {
...
@@ -194,10 +194,7 @@ export default {
handleStatusChange
(
row
){
handleStatusChange
(
row
){
let
text
=
row
.
status
===
CommonStatusEnum
.
ENABLE
?
this
.
$t
(
"
启用
"
)
:
this
.
$t
(
"
停用
"
);
let
text
=
row
.
status
===
CommonStatusEnum
.
ENABLE
?
this
.
$t
(
"
启用
"
)
:
this
.
$t
(
"
停用
"
);
this
.
$modal
.
confirm
(
'
确认要
'
+
text
+
'
吗?
'
).
then
(
function
()
{
this
.
$modal
.
confirm
(
'
确认要
'
+
text
+
'
吗?
'
).
then
(
function
()
{
return
updateZhongPao
({
return
updateZhongPao
(
row
)
id
:
row
.
id
,
status
:
row
.
status
})
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
$modal
.
msgSuccess
(
text
+
"
成功
"
);
this
.
$modal
.
msgSuccess
(
text
+
"
成功
"
);
}).
catch
(
function
()
{
}).
catch
(
function
()
{
...
@@ -207,7 +204,7 @@ export default {
...
@@ -207,7 +204,7 @@ export default {
},
},
departureFormatter
(
row
,
column
,
cellValue
)
{
departureFormatter
(
row
,
column
,
cellValue
)
{
if
(
cellValue
===
0
)
return
this
.
$t
(
'
全部
'
)
if
(
cellValue
===
0
)
return
this
.
$t
(
'
全部
'
)
return
this
.
warehouse
List
.
find
(
e
=>
e
.
id
===
cellValue
)?.
titleZh
return
this
.
tradeCity
List
.
find
(
e
=>
e
.
id
===
cellValue
)?.
titleZh
},
},
objectiveFormatter
(
row
,
column
,
cellValue
)
{
objectiveFormatter
(
row
,
column
,
cellValue
)
{
if
(
!
cellValue
||
cellValue
.
length
===
0
)
return
''
if
(
!
cellValue
||
cellValue
.
length
===
0
)
return
''
...
...
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