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
1179bff7
Commit
1179bff7
authored
Sep 28, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
6f077e14
8e992031
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
66 additions
and
19 deletions
+66
-19
index.vue
src/views/ecw/box/ladingBill/index.vue
+1
-1
index.vue
src/views/ecw/customer/index.vue
+1
-1
transferCustomer.vue
src/views/ecw/customer/transferCustomer.vue
+1
-1
index.vue
src/views/ecw/customerToBeAssigned/index.vue
+1
-1
index.vue
src/views/ecw/myCustomerService/index.vue
+1
-1
batchSingleApplication.vue
src/views/ecw/order/batchSingleApplication.vue
+32
-9
specialNeeds.vue
src/views/ecw/order/components/specialNeeds.vue
+23
-3
warehouseDetails.vue
src/views/ecw/order/components/warehouseDetails.vue
+6
-2
No files found.
src/views/ecw/box/ladingBill/index.vue
View file @
1179bff7
...
@@ -183,7 +183,7 @@ export default {
...
@@ -183,7 +183,7 @@ export default {
}).then((res) => {
}).then((res) => {
const { data } = res;
const { data } = res;
const { titleZh = "", contentZh = "" } = data?.ladingTemplate ?? {};
const { titleZh = "", contentZh = "" } = data?.ladingTemplate ?? {};
let billContent = `
$
{
titleZh
}
$
{
contentZh
}
`,
let billContent = `
$
{
titleZh
}
$
{
data
.
orderInfo
}
$
{
contentZh
}
`,
orderNo = data.orderInfo?.orderNo ?? "";
orderNo = data.orderInfo?.orderNo ?? "";
this.currData = {
this.currData = {
billContent,
billContent,
...
...
src/views/ecw/customer/index.vue
View file @
1179bff7
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
v-hasPermi=
"['ecw:customer:export']"
>
导出
</el-button>
v-hasPermi=
"['ecw:customer:export']"
>
导出
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"
warning"
plain
icon=
"el-icon-download
"
size=
"mini"
@
click=
"transferShow = true;"
:loading=
"exportLoading"
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"
primary
"
size=
"mini"
@
click=
"transferShow = true;"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:export']"
>
批量移交
</el-button>
v-hasPermi=
"['ecw:customer:export']"
>
批量移交
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
...
src/views/ecw/customer/transferCustomer.vue
View file @
1179bff7
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</el-select>
</el-select>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
>
取 消
</el-button>
<el-button
@
click=
"$emit('update:show',false)"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
...
...
src/views/ecw/customerToBeAssigned/index.vue
View file @
1179bff7
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"
warning"
size=
"mini"
@
click=
"batchTransferShow = true;"
:loading=
"exportLoading"
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"
primary"
size=
"mini"
@
click=
"batchTransferShow = true;"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:export']"
>
批量移交
</el-button>
v-hasPermi=
"['ecw:customer:export']"
>
批量移交
</el-button>
</el-col>
</el-col>
</el-col>
</el-col>
...
...
src/views/ecw/myCustomerService/index.vue
View file @
1179bff7
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
v-hasPermi=
"['ecw:customer:export']"
>
导出
</el-button>
v-hasPermi=
"['ecw:customer:export']"
>
导出
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"
warning"
plain
icon=
"el-icon-download
"
size=
"mini"
@
click=
"show = true;"
:loading=
"exportLoading"
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"
primary
"
size=
"mini"
@
click=
"show = true;"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:export']"
>
批量移交
</el-button>
v-hasPermi=
"['ecw:customer:export']"
>
批量移交
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
...
src/views/ecw/order/batchSingleApplication.vue
View file @
1179bff7
...
@@ -83,20 +83,36 @@
...
@@ -83,20 +83,36 @@
<el-col
:span=
"3"
><div
style=
"text-align:center"
>
<el-col
:span=
"3"
><div
style=
"text-align:center"
>
调至
调至
</div></el-col>
</div></el-col>
<el-col
:span=
"8"
><el-select
v-model=
"params.warehouseInId"
>
<el-col
:span=
"8"
><el-select
clearable
v-model=
"params.warehouseInId"
>
<el-option
v-for=
"(item ,index) in availableWarehouse"
v-if=
"item.status !== 1"
:value=
"item.id"
:label=
"item.titleZh"
<el-option
v-for=
"(item ,index) in availableWarehouse"
v-if=
"item.status !== 1"
:value=
"item.id"
:label=
"item.titleZh"
:key=
"index"
></el-option>
:key=
"index"
></el-option>
</el-select></el-col>
</el-select></el-col>
</el-row>
</el-row>
<el-divider></el-divider>
<el-divider
contentPosition=
"left"
>
调仓明细
</el-divider>
<h1
class=
"title"
>
<el-card
class=
"box-card"
>
审批流程
<el-table
:data=
"warehouseList"
>
</h1>
<el-table-column
label=
"调仓编号"
prop=
"id"
></el-table-column>
<el-table-column
label=
"调出仓库"
prop=
"warehouseOutName"
></el-table-column>
<el-table-column
label=
"调入仓库"
prop=
"warehouseInName"
></el-table-column>
<el-table-column
label=
"申请人"
prop=
"creatorName"
></el-table-column>
<el-table-column
label=
"申请时间"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
>
<
template
v-slot=
"{row}"
>
{{
STATUS
[
row
.
status
]
}}
</
template
>
</el-table-column>
</el-table>
</el-card>
<el-divider
contentPosition=
"left"
>
审批流程
</el-divider>
<div
style=
"padding: 20px"
>
<div
style=
"padding: 20px"
>
<work-flow
xmlkey=
"warehouse_transfer"
v-model=
"params.copyUserId"
/>
<work-flow
xmlkey=
"warehouse_transfer"
v-model=
"params.copyUserId"
/>
</div>
</div>
<div
style=
"text-align: center"
v-if=
"!adjustmentBol"
>
<div
style=
"text-align: center"
v-if=
"!adjustmentBol"
>
<el-button
style=
"margin-right: 50px"
@
click=
"submit"
>
提交申请
</el-button>
<el-button
:disabled=
"!params.warehouseInId"
style=
"margin-right: 50px"
@
click=
"submit"
>
提交申请
</el-button>
<el-button
@
click=
"$emit('update:dialogVisible',false)"
>
取消
</el-button>
<el-button
@
click=
"$emit('update:dialogVisible',false)"
>
取消
</el-button>
</div>
</div>
<div
style=
"text-align: center"
v-else
>
<div
style=
"text-align: center"
v-else
>
...
@@ -120,7 +136,7 @@ import {
...
@@ -120,7 +136,7 @@ import {
}
from
"
@/api/ecw/batchSingleApplication
"
;
}
from
"
@/api/ecw/batchSingleApplication
"
;
import
{
getProcessDefinitionBpmnXMLByKey
}
from
"
@/api/bpm/definition
"
;
import
{
getProcessDefinitionBpmnXMLByKey
}
from
"
@/api/bpm/definition
"
;
import
warehouseDetails
from
"
@/views/ecw/order/components/warehouseDetails
"
;
import
warehouseDetails
from
"
@/views/ecw/order/components/warehouseDetails
"
;
import
{
getOrderPage
}
from
"
@/api/ecw/order
"
;
import
{
get
AdjustInfo
,
get
OrderPage
}
from
"
@/api/ecw/order
"
;
import
workFlow
from
"
@/components/WorkFlow
"
;
import
workFlow
from
"
@/components/WorkFlow
"
;
import
Template
from
"
@/views/cms/template
"
;
import
Template
from
"
@/views/cms/template
"
;
import
{
arrryToKeyedObjectBy
}
from
"
@/utils
"
;
import
{
arrryToKeyedObjectBy
}
from
"
@/utils
"
;
...
@@ -142,11 +158,16 @@ export default {
...
@@ -142,11 +158,16 @@ export default {
},
},
created
()
{
created
()
{
getChannelList
().
then
(
res
=>
this
.
channelList
=
res
.
data
)
getChannelList
().
then
(
res
=>
this
.
channelList
=
res
.
data
)
},
},
watch
:
{
watch
:
{
dialogVisible
(
val
)
{
dialogVisible
(
val
)
{
if
(
val
)
{
if
(
val
)
{
this
.
getOrderListFn
()
this
.
getOrderListFn
()
getAdjustInfo
({
orderId
:
this
.
orderList
,
lang
:
0
}).
then
(
r
=>
{
this
.
warehouseList
=
r
.
data
})
}
else
{
}
else
{
this
.
params
=
{
this
.
params
=
{
orderIds
:
undefined
,
orderIds
:
undefined
,
...
@@ -175,6 +196,7 @@ export default {
...
@@ -175,6 +196,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
STATUS
:
{
1
:
'
申请中
'
,
2
:
'
通过
'
,
3
:
'
不通过
'
,
4
:
'
已取消
'
,
5
:
'
已出仓
'
,
6
:
'
已到仓
'
},
list
:
[],
list
:
[],
selectedUsers
:
[],
selectedUsers
:
[],
availableWarehouse
:
[],
availableWarehouse
:
[],
...
@@ -188,7 +210,8 @@ export default {
...
@@ -188,7 +210,8 @@ export default {
copyUserId
:
[],
copyUserId
:
[],
},
},
applyStatus
:{},
//调仓-查看状态,
applyStatus
:{},
//调仓-查看状态,
channelList
:[]
channelList
:[],
warehouseList
:[]
}
}
},
},
...
...
src/views/ecw/order/components/specialNeeds.vue
View file @
1179bff7
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<h1>
{{
orderNo
}}
特需
</h1>
<h1>
{{
orderNo
}}
特需
</h1>
<el-form
label-width=
"180px"
label-position=
"left"
>
<el-form
label-width=
"180px"
label-position=
"left"
>
<el-form-item
label=
"特殊要求"
>
<el-form-item
label=
"特殊要求"
>
<el-checkbox-group
v-model=
"advanceType"
>
<el-checkbox-group
v-model=
"advanceType"
>
<el-checkbox
v-for=
"(item) in getDictDatas(DICT_TYPE.ORDER_SPECIAL_NEEDS)"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
<el-checkbox
@
click=
"change(item)"
v-for=
"(item) in getDictDatas(DICT_TYPE.ORDER_SPECIAL_NEEDS)"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
</el-checkbox-group>
</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>
...
@@ -55,6 +55,7 @@ export default {
...
@@ -55,6 +55,7 @@ export default {
advanceType
:[],
advanceType
:[],
specialNeedsList
:[],
specialNeedsList
:[],
todoDetail
:
''
,
todoDetail
:
''
,
echoList
:[],
}
}
},
},
methods
:{
methods
:{
...
@@ -63,7 +64,25 @@ export default {
...
@@ -63,7 +64,25 @@ export default {
i
.
todoDetail
=
this
.
todoDetail
i
.
todoDetail
=
this
.
todoDetail
})
})
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
=>
{
console
.
log
(
p
,
'
p
'
)
let
p1
=
[]
//获取新增的和修改的
p
.
forEach
(
item
=>
{
if
(
this
.
echoList
.
find
(
i
=>
item
.
id
===
i
.
id
)){
p1
.
push
(
item
)
}
else
{
item
.
oper
=
'
add
'
p1
.
push
(
item
)
}
})
//获取删除的
this
.
echoList
.
forEach
(
item
=>
{
if
(
!
(
p
.
find
(
i
=>
i
.
id
===
item
.
id
))){
item
.
oper
=
'
del
'
p1
.
push
(
item
)
}
})
specialNeedCreate
(
p1
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
$emit
(
'
update:show
'
,
false
)
this
.
$emit
(
'
update:show
'
,
false
)
this
.
$emit
(
'
determine
'
)
this
.
$emit
(
'
determine
'
)
...
@@ -86,6 +105,7 @@ export default {
...
@@ -86,6 +105,7 @@ export default {
})
})
//特需回显
//特需回显
getSpecialListByOrderId
(
this
.
orderId
).
then
(
r
=>
{
getSpecialListByOrderId
(
this
.
orderId
).
then
(
r
=>
{
this
.
echoList
=
r
.
data
;
r
.
data
.
forEach
(
i
=>
{
r
.
data
.
forEach
(
i
=>
{
this
.
advanceType
.
push
(
i
.
advanceType
)
this
.
advanceType
.
push
(
i
.
advanceType
)
let
index
=
this
.
specialNeedsList
.
findIndex
(
item
=>
i
.
advanceType
==
item
.
advanceType
)
let
index
=
this
.
specialNeedsList
.
findIndex
(
item
=>
i
.
advanceType
==
item
.
advanceType
)
...
...
src/views/ecw/order/components/warehouseDetails.vue
View file @
1179bff7
...
@@ -241,8 +241,12 @@ export default {
...
@@ -241,8 +241,12 @@ export default {
break
;
break
;
case
4
:
case
4
:
// 入仓修改
// 入仓修改
getWarehouseUpdateApprovalInfo
(
this
.
processInstanceID
).
then
(
r
=>
{
getWarehouseUpdateApprovalInfo
(
this
.
processInstanceID
).
then
(
res
=>
{
this
.
FeeDetails
.
details
=
r
.
data
.
details
getOrder
(
res
.
data
.
orderIds
).
then
(
r
=>
{
this
.
FeeDetails
=
r
.
data
this
.
FeeDetails
.
details
=
JSON
.
parse
(
res
.
data
.
details
)
// this.FeeDetails.details = res.data.details
})
})
})
break
break
}
}
...
...
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