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
c49895f0
Commit
c49895f0
authored
Apr 18, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'predev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into predev
parents
aa4735ad
2de82d37
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
30 deletions
+57
-30
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+15
-10
index.vue
src/views/ecw/order/warehousing/index.vue
+26
-4
index.vue
src/views/system/version/index.vue
+16
-16
No files found.
src/views/ecw/order/transferWarehousing.vue
View file @
c49895f0
...
...
@@ -141,11 +141,11 @@
<
/div
>
<
warehouse
-
location
ref
=
"
area
"
:
visible
.
sync
=
"
areaVisible
"
v
-
model
=
"
params.orderLocationCreateReqVOList
"
:
warehouse
-
id
=
"
Number(this.type) === 1 ? warehouseDetails.warehouseOutId : warehouseDetails.warehouseInId
"
:
order
-
id
=
"
Number(orderId)
"
><
/warehouse-location
>
<
el
-
dialog
:
title
=
"
$t('订单转异')
"
center
:
visible
.
sync
=
"
escapeBol
"
>
<
el
-
form
label
-
position
=
"
top
"
label
-
width
=
"
200
"
>
<
el
-
form
-
item
:
label
=
"
$t('原因类型')
"
>
<
el
-
form
ref
=
"
form2
"
:
model
=
"
params
"
label
-
position
=
"
top
"
label
-
width
=
"
200
"
>
<
el
-
form
-
item
prop
=
"
manualExceptionType
"
:
rules
=
"
{ required:true,message:'至少选择一个转异原因'
}
"
:
label
=
"
$t('原因类型')
"
>
<
dict
-
selector
v
-
model
=
"
params.manualExceptionType
"
form
-
type
=
"
checkbox
"
:
type
=
"
DICT_TYPE.MANUAL_EXCEPTION_TYPE
"
multiple
><
/dict-selector
>
<
/el-form-item
>
<
el
-
form
-
item
required
:
label
=
"
$t('附件')
"
>
<
el
-
form
-
item
:
label
=
"
$t('附件')
"
>
<
image
-
upload
v
-
model
=
"
params.exceptionUrls
"
><
/image-upload
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('详细信息')
"
>
...
...
@@ -241,6 +241,7 @@ export default {
}
}
,
toWarehouseAbnormal
(){
let
exceptionUrls
=
this
.
params
.
exceptionUrls
return
{
arrivalDate
:
this
.
params
.
arrivalDate
,
arrivalRemark
:
this
.
params
.
deliveryRemark
,
...
...
@@ -249,8 +250,7 @@ export default {
manualExceptionType
:
this
.
params
.
manualExceptionType
.
join
(
'
,
'
),
orderLocationCreateReqVOList
:
this
.
params
.
orderLocationCreateReqVOList
,
urls
:
this
.
params
.
urls
,
exceptionUrls
:
this
.
params
.
exceptionUrls
.
split
(
'
,
'
),
exceptionUrls
:
exceptionUrls
.
length
?
exceptionUrls
.
split
(
'
,
'
)
:[],
}
}
,
toWarehouse
(){
...
...
@@ -345,12 +345,17 @@ export default {
)
}
,
submit2
(
val
){
warehouseAdjustArrived
(
val
?
this
.
toWarehouse
:
this
.
toWarehouseAbnormal
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
$message
.
success
(
this
.
$t
(
'
调拨到仓成功!
'
));
this
.
$tab
.
closeOpenPage
({
path
:
'
/order/order
'
}
)
this
.
$refs
.
form2
.
validate
(
validate
=>
{
if
(
validate
){
warehouseAdjustArrived
(
val
?
this
.
toWarehouse
:
this
.
toWarehouseAbnormal
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
$message
.
success
(
this
.
$t
(
'
调拨到仓成功!
'
));
this
.
$tab
.
closeOpenPage
({
path
:
'
/order/order
'
}
)
}
}
)
}
}
)
}
)
}
,
totalFn
({
columns
,
data
}
){
// 体积,数量,重量 W:入仓
...
...
src/views/ecw/order/warehousing/index.vue
View file @
c49895f0
...
...
@@ -196,8 +196,8 @@
</div>
</el-dialog>
<el-dialog
:title=
"order.orderNo + $t('订单转异')"
center
:visible.sync=
"escapeBol"
>
<el-form
label-position=
"top"
label-width=
"200"
>
<el-form-item
:label=
"$t('原因类型')"
>
<el-form
label-position=
"top"
label-width=
"200"
ref=
"exceptionForm"
:model=
"form"
:rules=
"exceptionRules"
>
<el-form-item
:label=
"$t('原因类型')"
prop=
"manualExceptionType"
>
<dict-selector
v-model=
"form.manualExceptionType"
form-type=
"checkbox"
:type=
"DICT_TYPE.MANUAL_EXCEPTION_TYPE"
multiple
></dict-selector>
</el-form-item>
<el-form-item
:label=
"$t('附件')"
>
...
...
@@ -208,7 +208,7 @@
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handle
Submit
"
>
{{$t('确认并完成入仓')}}
</el-button>
<el-button
type=
"primary"
@
click=
"handle
Exception
"
>
{{$t('确认并完成入仓')}}
</el-button>
<el-button
@
click=
"escapeBol = false"
>
{{$t('取消')}}
</el-button>
</span>
</el-dialog>
...
...
@@ -286,7 +286,7 @@ export default {
orderLocationCreateReqVOList
:
[],
exceptionUrls
:[],
descZh
:
''
,
manualExceptionType
:
''
,
manualExceptionType
:
[]
,
urls
:
[],
sumVolume
:
''
,
sumWeight
:
''
,
...
...
@@ -309,6 +309,19 @@ export default {
"
start
"
:
0
}
]
},
exceptionRules
:
{
manualExceptionType
:
[
{
required
:
true
,
message
:
'
请勾选原因类型
'
,
trigger
:
'
change
'
},
{
validator
:
(
rule
,
value
,
callback
)
=>
{
if
(
value
.
length
<=
0
)
{
callback
(
new
Error
(
'
请勾选原因类型
'
))
}
callback
()
},
trigger
:
'
change
'
}
]
}
}
},
...
...
@@ -401,6 +414,15 @@ export default {
})
return
result
},
handleException
()
{
this
.
$refs
.
exceptionForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
handleSubmit
()
}
else
{
this
.
$message
.
warning
(
'
请勾选原因类型
'
)
}
})
},
async
handleSubmit
()
{
if
(
this
.
specialHas0
())
{
const
confirm
=
await
this
.
$confirm
(
this
.
$t
(
'
有特需费用为0或未填写,请问是否继续?
'
),
this
.
$t
(
'
注意
'
),
{
...
...
src/views/system/version/index.vue
View file @
c49895f0
...
...
@@ -3,7 +3,7 @@
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
:label=
"$t('系统类型')"
prop=
"appType"
>
<el-select
v-model=
"queryParams.appType"
:placeholder=
"$t('请选择系统类型')"
clearable=
""
>
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.ECW_DATA_SOURCE)"
:key=
"type.value"
:label=
"$l(type, 'label')"
:value=
"type.value"
></el-option>
...
...
@@ -13,13 +13,13 @@
<el-form-item
:label=
"$t('强制更新')"
>
<el-select
v-model=
"queryParams.forceUpdate"
:placeholder=
"$t('请选择更新条件')"
clearable=
""
>
<el-option
v-for=
"item in forceUpdateArray"
:key=
"item.type"
:label=
"$l(item, 'value')"
:value=
"item.type"
></el-option>
</el-select>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('内部版本')"
prop=
"versionCode"
>
<el-input
v-model.number=
"queryParams.versionCode"
:placeholder=
"$t('请输入内部版本')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
重置
</el-button>
...
...
@@ -45,7 +45,7 @@
<el-table-column
label=
"系统类型"
align=
"center"
prop=
"appType"
>
<template
slot-scope=
"
{row}">
<dict-tag
:type=
"DICT_TYPE.ECW_DATA_SOURCE"
:value=
"row.appType"
/>
</
template
>
</
template
>
</el-table-column>
<el-table-column
label=
"版本号"
align=
"center"
prop=
"appVersion"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -74,13 +74,13 @@
</el-table-column>
</el-table>
<!-- 分页组件 -->
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page
No"
:limit.sync=
"queryParams.pageSize
"
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page
"
:limit.sync=
"queryParams.rows
"
@
pagination=
"getList"
/>
<!-- 对话框(添加 / 修改) -->
<el-dialog
:title=
"title"
:visible.sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
:label=
"$t('系统')"
prop=
"appType"
>
<el-select
v-model=
"form.appType"
:placeholder=
"$t('请选择系统类型')"
>
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.ECW_DATA_SOURCE)"
:key=
"type.value"
:label=
"type.label"
:value=
"type.value"
/>
...
...
@@ -101,14 +101,14 @@
</el-form-item>
<el-form-item
v-if=
"linkType==2"
>
<el-upload
<el-upload
ref=
"upload"
:limit=
"1"
:headers=
"upload.headers"
:action=
"upload.url"
:headers=
"upload.headers"
:action=
"upload.url"
:data=
"upload.data"
:disabled=
"upload.isUploading"
:show-file-list=
"true"
:show-file-list=
"true"
:on-change=
"handleFileChange"
:on-progress=
"uploadProcess"
:on-success=
"handleFileSuccess"
...
...
@@ -116,7 +116,7 @@
<el-button
size=
"small"
>
{{ $t('上传') }}
<i
class=
"el-icon-upload el-icon--right"
></i>
</el-button>
</el-upload>
</el-form-item>
<el-form-item
:label=
"$t('版本链接')"
prop=
"appUrl"
>
...
...
@@ -126,7 +126,7 @@
<el-form-item
:label=
"$t('强制更新')"
prop=
"forceUpdate"
>
<el-select
v-model=
"form.forceUpdate"
:placeholder=
"$t('请选择更新条件')"
>
<el-option
v-for=
"item in forceUpdateArray"
:key=
"item.type"
:label=
"$l(item, 'value')"
:value=
"item.type"
></el-option>
</el-select>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('说明')"
prop=
"desp"
>
<el-input
type=
"textarea"
v-model=
"form.desp"
:placeholder=
"$t('请输入说明')"
/>
...
...
@@ -177,8 +177,8 @@ export default {
dateRangeCreateTime
:
[],
// 查询参数
queryParams
:
{
page
No
:
1
,
pageSize
:
10
,
page
:
1
,
rows
:
10
,
appUrl
:
null
,
appType
:
null
,
appVersion
:
null
,
...
...
@@ -260,7 +260,7 @@ export default {
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
page
No
=
1
;
this
.
queryParams
.
page
=
1
;
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