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
7db8d452
Commit
7db8d452
authored
Apr 09, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev1.6' into dev1.6
parents
cd41b807
8ae698f4
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
73 additions
and
79 deletions
+73
-79
indexSea.vue
src/views/ecw/box/indexSea.vue
+1
-1
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+1
-1
subMaterial.vue
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
+4
-4
index.vue
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
+1
-1
CollectionBankDetail.vue
src/views/ecw/financial/components/CollectionBankDetail.vue
+10
-7
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+40
-54
voucher.vue
src/views/ecw/financial/voucher.vue
+10
-8
warehouseDetails.vue
src/views/ecw/order/components/warehouseDetails.vue
+1
-1
feeApplication.vue
src/views/ecw/order/feeApplication.vue
+3
-1
Warehouse.vue
src/views/ecw/order/warehousing/components/Warehouse.vue
+2
-1
No files found.
src/views/ecw/box/indexSea.vue
View file @
7db8d452
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
:disabled=
"scope.row.ldStatus>=46"
command=
"edit"
v-hasPermi=
"['shipment:box:
sea:edit
']"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
<el-dropdown-item
:disabled=
"scope.row.ldStatus>=46"
command=
"edit"
v-hasPermi=
"['shipment:box:
update
']"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"sea"
v-hasPermi=
"['shipment:box:action:sea']"
>
{{
$t
(
'
操作-海运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"sea"
v-hasPermi=
"['shipment:box:action:sea']"
>
{{
$t
(
'
操作-海运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
v-hasPermi=
"['shipment:box:action:error']"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
v-hasPermi=
"['shipment:box:action:error']"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
v-hasPermi=
"['shipment:box:action:cost']"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
v-hasPermi=
"['shipment:box:action:cost']"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
7db8d452
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
<!-- 修改柜信息 -->
<!-- 修改柜信息 -->
<
template
v-if=
"dialogConfig.type === 'modifyCabinet' && dialogConfig.dialogVisible"
>
<
template
v-if=
"dialogConfig.type === 'modifyCabinet' && dialogConfig.dialogVisible"
>
<el-form
ref=
"modifyForm"
:rules=
"rules"
:model=
"modifyCabinetObj"
label-width=
"80px"
>
<el-form
ref=
"modifyForm"
:rules=
"rules"
:model=
"modifyCabinetObj"
label-width=
"80px"
>
<el-form-item
:label=
"$t('起运仓库')"
prop=
"startWarehouseId"
>
<el-form-item
v-if=
"false"
:label=
"$t('起运仓库')"
prop=
"startWarehouseId"
>
<el-select
v-model=
"modifyCabinetObj.startWarehouseId"
:placeholder=
"$t('请选择仓库')"
filterable
>
<el-select
v-model=
"modifyCabinetObj.startWarehouseId"
:placeholder=
"$t('请选择仓库')"
filterable
>
<el-option
v-for=
"warehouse in $attrs.warehouseList"
:key=
"warehouse.id"
:label=
"$l(warehouse, 'title')"
:value=
"warehouse.id"
></el-option>
<el-option
v-for=
"warehouse in $attrs.warehouseList"
:key=
"warehouse.id"
:label=
"$l(warehouse, 'title')"
:value=
"warehouse.id"
></el-option>
</el-select>
</el-select>
...
...
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
View file @
7db8d452
...
@@ -23,11 +23,11 @@
...
@@ -23,11 +23,11 @@
<ladingSelect
v-model=
"subMaterialObj.shipperId"
:placeholder=
"$t('请选择托运人')"
:allUsers=
"this.$attrs.allLading"
/>
<ladingSelect
v-model=
"subMaterialObj.shipperId"
:placeholder=
"$t('请选择托运人')"
:allUsers=
"this.$attrs.allLading"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('收货人')"
>
<el-form-item
:label=
"$t('收货人')"
>
<el-input
v-model=
"subMaterialObj.consigneeName"
></el-input>
<el-input
v-model=
"subMaterialObj.consigneeName"
readonly
></el-input>
<!--
<userSelect
v-model=
"subMaterialObj.consigneeId"
:placeholder=
"$t('请选择收货人')"
:allUsers=
"this.$attrs.allUsers"
/>
-->
<!--
<userSelect
v-model=
"subMaterialObj.consigneeId"
:placeholder=
"$t('请选择收货人')"
:allUsers=
"this.$attrs.allUsers"
/>
-->
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('通知方')"
>
<el-form-item
:label=
"$t('通知方')"
>
<el-input
v-model=
"subMaterialObj.notifyingName"
></el-input>
<el-input
v-model=
"subMaterialObj.notifyingName"
readonly
></el-input>
<!--
<userSelect
v-model=
"subMaterialObj.notifyingId"
:placeholder=
"$t('请选择通知方')"
:allUsers=
"this.$attrs.allUsers"
/>
-->
<!--
<userSelect
v-model=
"subMaterialObj.notifyingId"
:placeholder=
"$t('请选择通知方')"
:allUsers=
"this.$attrs.allUsers"
/>
-->
</el-form-item>
</el-form-item>
<el-form-item
label=
"Mark & No."
>
<el-form-item
label=
"Mark & No."
>
...
@@ -180,8 +180,8 @@ export default {
...
@@ -180,8 +180,8 @@ export default {
},
},
download
()
{
download
()
{
getBoxLadingBillPdf
({
shipmentId
:
this
.
shipmentObj
.
id
}).
then
(
res
=>
{
getBoxLadingBillPdf
({
shipmentId
:
this
.
shipmentObj
.
id
}).
then
(
res
=>
{
let
blob
=
new
Blob
([
res
],
{
type
:
"
application/
pdf
"
})
let
blob
=
new
Blob
([
res
],
{
type
:
"
application/
vnd.ms-excel
"
})
FileSaver
.
saveAs
(
blob
,
this
.
$t
(
'
提单确认件
'
));
FileSaver
.
saveAs
(
blob
,
this
.
$t
(
'
提单确认件
.xlsx
'
));
})
})
}
}
},
},
...
...
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
View file @
7db8d452
...
@@ -164,7 +164,7 @@ export default {
...
@@ -164,7 +164,7 @@ export default {
list
.
push
({
list
.
push
({
...
oItem
,
...
oItem
,
warehouseInInfo
,
warehouseInInfo
,
multiSpecification
:
item
.
multiSpecification
,
//
multiSpecification: item.multiSpecification,
positionNo
:
oItem
.
positionNo
,
positionNo
:
oItem
.
positionNo
,
tallyStatus
:
item
.
tallyStatus
,
tallyStatus
:
item
.
tallyStatus
,
tallyTime
:
item
.
tallyTime
,
tallyTime
:
item
.
tallyTime
,
...
...
src/views/ecw/financial/components/CollectionBankDetail.vue
View file @
7db8d452
...
@@ -152,6 +152,7 @@ export default {
...
@@ -152,6 +152,7 @@ export default {
currencyList
:[],
currencyList
:[],
list
:[],
list
:[],
detailed
:
[],
detailed
:
[],
detatilData
:[],
showCurrencyId
:
0
,
showCurrencyId
:
0
,
surplusData
:[],
surplusData
:[],
openAddDialog
:
false
,
openAddDialog
:
false
,
...
@@ -159,7 +160,8 @@ export default {
...
@@ -159,7 +160,8 @@ export default {
addForm
:{
}
,
addForm
:{
}
,
receiptId
:
0
,
receiptId
:
0
,
receiptItemId
:
0
,
receiptItemId
:
0
,
reason
:
''
reason
:
''
,
receiptAccountList
:[]
}
}
}
,
}
,
watch
:{
watch
:{
...
@@ -197,18 +199,19 @@ export default {
...
@@ -197,18 +199,19 @@ export default {
}
,
}
,
getList
()
{
getList
()
{
getReceivableItem
({
id
:
this
.
receiptId
}
).
then
(
res
=>
{
getReceivableItem
({
id
:
this
.
receiptId
}
).
then
(
res
=>
{
res
.
d
ata
=
res
.
data
.
map
(
v
=>
({
this
.
detatilD
ata
=
res
.
data
.
map
(
v
=>
({
...
v
,
...
v
,
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
),
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
),
accountNo
:
+
v
.
accountNo
,
accountNo
:
+
v
.
accountNo
,
rate
:
parseFloat
(
v
.
rate
).
toFixed
(
6
),
rate
:
parseFloat
(
v
.
rate
).
toFixed
(
6
),
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}
))
:
[]
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}
))
:
[]
}
))
}
))
this
.
addForm
=
res
.
d
ata
.
find
(
v
=>
v
.
id
==
this
.
receiptItemId
)
this
.
addForm
=
this
.
detatilD
ata
.
find
(
v
=>
v
.
id
==
this
.
receiptItemId
)
this
.
detailed
=
[]
this
.
detailed
=
[]
this
.
detailed
.
push
(
this
.
addForm
)
this
.
detailed
.
push
(
this
.
addForm
)
this
.
getCollectionData
()
this
.
getCollectionData
()
}
)
}
)
}
,
}
,
getReceiptInfo
(){
getReceiptInfo
(){
getReceiptInfoByIds
({
id
:
this
.
receiptId
}
).
then
(
res
=>
{
getReceiptInfoByIds
({
id
:
this
.
receiptId
}
).
then
(
res
=>
{
...
@@ -274,7 +277,7 @@ export default {
...
@@ -274,7 +277,7 @@ export default {
handleAddReceiptItem
()
{
handleAddReceiptItem
()
{
// 已收
// 已收
let
recepted
=
[]
let
recepted
=
[]
this
.
deta
iled
.
forEach
(
item
=>
{
this
.
deta
tilData
.
forEach
(
item
=>
{
if
(
!
recepted
[
item
.
currencyId
]){
if
(
!
recepted
[
item
.
currencyId
]){
recepted
[
item
.
currencyId
]
=
item
.
amount
recepted
[
item
.
currencyId
]
=
item
.
amount
}
else
recepted
[
item
.
currencyId
]
=
NP
.
plus
(
recepted
[
item
.
currencyId
],
item
.
amount
)
}
else
recepted
[
item
.
currencyId
]
=
NP
.
plus
(
recepted
[
item
.
currencyId
],
item
.
amount
)
...
@@ -282,9 +285,9 @@ export default {
...
@@ -282,9 +285,9 @@ export default {
// 应收
// 应收
let
collom
=
[]
let
collom
=
[]
// 从期望收费金额中提取应收币种和金额
// 从期望收费金额中提取应收币种和金额
this
.
collectionAmount
.
forEach
(
item
=>
{
this
.
collectionAmount
.
forEach
(
item
=>
{
collom
[
item
.
currencyId
]
=
item
.
amount
collom
[
item
.
currencyId
]
=
item
.
amount
}
)
}
)
console
.
log
(
recepted
)
console
.
log
(
recepted
)
recepted
.
forEach
((
amount
,
currency
)
=>
{
recepted
.
forEach
((
amount
,
currency
)
=>
{
if
(
amount
){
if
(
amount
){
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
7db8d452
...
@@ -825,6 +825,43 @@ export default {
...
@@ -825,6 +825,43 @@ export default {
if
(
label
.
length
>
0
)
return
this
.
$i18n
.
locale
==
'
zh_CN
'
?
label
[
0
].
titleZh
:
label
[
0
].
titleEn
if
(
label
.
length
>
0
)
return
this
.
$i18n
.
locale
==
'
zh_CN
'
?
label
[
0
].
titleZh
:
label
[
0
].
titleEn
return
''
return
''
}
,
}
,
getsurplusData
()
{
// 已收
this
.
surplusData
=
[]
let
recepted
=
[]
this
.
detailed
.
forEach
(
item
=>
{
if
(
!
recepted
[
item
.
currencyId
]){
recepted
[
item
.
currencyId
]
=
item
.
amount
}
else
recepted
[
item
.
currencyId
]
=
NP
.
plus
(
recepted
[
item
.
currencyId
],
item
.
amount
)
}
)
// 应收
let
collom
=
[]
// 从期望收费金额中提取应收币种和金额
this
.
form
.
receiptAccountList
.
find
(
item
=>
item
.
type
==
'
total
'
).
collectionAmount
.
forEach
(
item
=>
{
collom
[
item
.
currencyId
]
=
item
.
amount
}
)
recepted
.
forEach
((
amount
,
currency
)
=>
{
if
(
amount
){
if
(
collom
[
currency
]){
if
((
collom
[
currency
]
-
amount
)
!=
0
)
this
.
surplusData
[
currency
]
=
+
parseFloat
((
collom
[
currency
]
-
amount
).
toPrecision
(
12
))
}
else
{
this
.
surplusData
[
currency
]
=
-
amount
}
}
}
)
collom
.
forEach
((
amount
,
currency
)
=>
{
if
(
amount
){
if
(
!
this
.
surplusData
[
currency
]){
if
(
recepted
[
currency
]){
if
((
amount
-
recepted
[
currency
])
!=
0
)
this
.
surplusData
[
currency
]
=
+
parseFloat
((
amount
-
recepted
[
currency
]).
toPrecision
(
12
))
}
else
{
this
.
surplusData
[
currency
]
=
amount
}
}
}
}
)
}
,
calculation
()
{
calculation
()
{
// this.currencyList.forEach((item,index)=>
{
// this.currencyList.forEach((item,index)=>
{
// var verificationList = this.detailed.filter(v => v.status === 1)
// var verificationList = this.detailed.filter(v => v.status === 1)
...
@@ -945,7 +982,7 @@ export default {
...
@@ -945,7 +982,7 @@ export default {
}
);
}
);
}
)
}
)
.
catch
(()
=>
{
this
.
wiffShow
=
false
}
);
.
catch
(()
=>
{
this
.
wiffShow
=
false
}
);
}
,
}
,
//显示取消审核弹窗
//显示取消审核弹窗
detailClickCancel
(
type
){
detailClickCancel
(
type
){
...
@@ -1082,6 +1119,7 @@ export default {
...
@@ -1082,6 +1119,7 @@ export default {
return
this
.
$router
.
push
(
"
creatCollection?id=
"
+
this
.
id
);
return
this
.
$router
.
push
(
"
creatCollection?id=
"
+
this
.
id
);
}
,
}
,
detailClick
(
row
)
{
detailClick
(
row
)
{
this
.
getsurplusData
()
this
.
openAddDialog
=
true
this
.
openAddDialog
=
true
this
.
dialogTitle
=
this
.
$t
(
'
银行实收明细详情
'
)
this
.
dialogTitle
=
this
.
$t
(
'
银行实收明细详情
'
)
this
.
isView
=
true
this
.
isView
=
true
...
@@ -1183,59 +1221,7 @@ export default {
...
@@ -1183,59 +1221,7 @@ export default {
this
.
openAddDialog
=
false
this
.
openAddDialog
=
false
}
,
}
,
handleAddReceiptItem
()
{
handleAddReceiptItem
()
{
this
.
surplusData
=
[]
this
.
getsurplusData
()
// 已收
let
recepted
=
[]
this
.
detailed
.
forEach
(
item
=>
{
if
(
!
recepted
[
item
.
currencyId
]){
recepted
[
item
.
currencyId
]
=
item
.
amount
}
else
recepted
[
item
.
currencyId
]
=
NP
.
plus
(
recepted
[
item
.
currencyId
],
item
.
amount
)
}
)
console
.
log
(
'
rece
'
,
recepted
)
// 应收
let
collom
=
[]
/* this.form.receiptAccountList.forEach(item => {
if(item.type!='total'){
if(!collom[item.currencyId]){
collom[item.currencyId] = item.receivableAmount-item.discountTotal
}
else collom[item.currencyId] = NP.plus(collom[item.currencyId], item.receivableAmount)
}
}
) */
// 从期望收费金额中提取应收币种和金额
this
.
form
.
receiptAccountList
.
find
(
item
=>
item
.
type
==
'
total
'
).
collectionAmount
.
forEach
(
item
=>
{
collom
[
item
.
currencyId
]
=
item
.
amount
}
)
console
.
log
(
this
.
form
.
receiptAccountList
)
console
.
log
(
'
collom
'
,
collom
)
// if(recepted.length>collom.length)
{
recepted
.
forEach
((
amount
,
currency
)
=>
{
if
(
amount
){
if
(
collom
[
currency
]){
if
((
collom
[
currency
]
-
amount
)
!=
0
)
this
.
surplusData
[
currency
]
=
+
parseFloat
((
collom
[
currency
]
-
amount
).
toPrecision
(
12
))
}
else
{
this
.
surplusData
[
currency
]
=
-
amount
}
}
}
)
//
}
else
{
collom
.
forEach
((
amount
,
currency
)
=>
{
if
(
amount
){
if
(
!
this
.
surplusData
[
currency
]){
if
(
recepted
[
currency
]){
if
((
amount
-
recepted
[
currency
])
!=
0
)
this
.
surplusData
[
currency
]
=
+
parseFloat
((
amount
-
recepted
[
currency
]).
toPrecision
(
12
))
}
else
{
this
.
surplusData
[
currency
]
=
amount
}
}
}
}
)
//
}
console
.
log
(
this
.
surplusData
)
this
.
addForm
=
{
}
this
.
addForm
=
{
}
this
.
openAddDialog
=
true
this
.
openAddDialog
=
true
this
.
isView
=
false
this
.
isView
=
false
...
...
src/views/ecw/financial/voucher.vue
View file @
7db8d452
...
@@ -316,6 +316,7 @@ export default {
...
@@ -316,6 +316,7 @@ export default {
dateType
:
[],
dateType
:
[],
loading
:
""
,
loading
:
""
,
params
:
{
params
:
{
}
,
}
,
// 查询参数
// 查询参数
queryParams
:
{
queryParams
:
{
...
@@ -361,6 +362,13 @@ export default {
...
@@ -361,6 +362,13 @@ export default {
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
params
=
{
}
for
(
var
key
in
this
.
queryParams
){
if
(
this
.
queryParams
[
key
]){
this
.
params
[
key
]
=
this
.
queryParams
[
key
]
}
}
console
.
log
(
this
.
params
)
// 处理查询参数
// 处理查询参数
let
params
=
{
...
this
.
params
}
;
let
params
=
{
...
this
.
params
}
;
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
"
createTime
"
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
"
createTime
"
);
...
@@ -451,7 +459,7 @@ export default {
...
@@ -451,7 +459,7 @@ export default {
this
.
cancelShow
=
false
this
.
cancelShow
=
false
this
.
getList
();
this
.
getList
();
this
.
$message
.
success
(
this
.
$t
(
"
提交成功
"
));
this
.
$message
.
success
(
this
.
$t
(
"
提交成功
"
));
}
);
}
);
}
}
...
@@ -500,7 +508,6 @@ export default {
...
@@ -500,7 +508,6 @@ export default {
}
,
}
,
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
this
.
params
=
{
}
if
(
this
.
dateFilter
&&
this
.
dateFilter
.
length
>
0
){
if
(
this
.
dateFilter
&&
this
.
dateFilter
.
length
>
0
){
this
.
queryParams
.
beginCreateTime
=
this
.
dateFilter
[
0
]
this
.
queryParams
.
beginCreateTime
=
this
.
dateFilter
[
0
]
this
.
queryParams
.
endCreateTime
=
this
.
dateFilter
[
1
]
this
.
queryParams
.
endCreateTime
=
this
.
dateFilter
[
1
]
...
@@ -509,12 +516,7 @@ export default {
...
@@ -509,12 +516,7 @@ export default {
this
.
queryParams
.
endCreateTime
=
''
this
.
queryParams
.
endCreateTime
=
''
}
}
this
.
queryParams
.
pageNo
=
1
;
this
.
queryParams
.
page
=
1
;
for
(
var
key
in
this
.
queryParams
){
if
(
this
.
queryParams
[
key
]){
this
.
params
[
key
]
=
this
.
queryParams
[
key
]
}
}
this
.
getList
();
this
.
getList
();
}
,
}
,
/** 新增按钮操作 */
/** 新增按钮操作 */
...
...
src/views/ecw/order/components/warehouseDetails.vue
View file @
7db8d452
...
@@ -192,7 +192,7 @@ export default {
...
@@ -192,7 +192,7 @@ export default {
channelList
:[],
channelList
:[],
processInstanceID
:
undefined
,
processInstanceID
:
undefined
,
list
:[],
list
:[],
currencyList
:[],
prodName
:
''
prodName
:
''
}
}
},
},
...
...
src/views/ecw/order/feeApplication.vue
View file @
7db8d452
...
@@ -55,7 +55,8 @@
...
@@ -55,7 +55,8 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<el-table-column
:label=
"$t('操作')"
>
<
template
v-slot:default =
'scope'
>
<
template
v-slot:default =
'scope'
>
<el-button
type=
"text"
v-if=
"scope.row.status !== 0"
>
{{
STATUS
[
scope
.
row
.
status
]
}}
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.status !== 0&&scope.row.status !== 1"
>
{{
STATUS
[
scope
.
row
.
status
]
}}
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.status == 1"
@
click=
"examineFn"
>
{{
$t
(
'
审核中
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.status === 2"
@
click=
"modify(scope.row)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.status === 2"
@
click=
"modify(scope.row)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -185,6 +186,7 @@ export default {
...
@@ -185,6 +186,7 @@ export default {
},
},
examineFn
(){
examineFn
(){
let
item
=
this
.
list
.
find
(
e
=>
e
.
status
===
1
);
let
item
=
this
.
list
.
find
(
e
=>
e
.
status
===
1
);
console
.
log
(
item
)
this
.
$router
.
push
({
path
:
'
/bpm/process-instance/detail
'
,
query
:{
id
:
item
.
bpmProcessId
}})
this
.
$router
.
push
({
path
:
'
/bpm/process-instance/detail
'
,
query
:{
id
:
item
.
bpmProcessId
}})
},
},
cancel
(){
cancel
(){
...
...
src/views/ecw/order/warehousing/components/Warehouse.vue
View file @
7db8d452
...
@@ -503,10 +503,10 @@ export default {
...
@@ -503,10 +503,10 @@ export default {
watch
:
{
watch
:
{
visible
(
val
){
visible
(
val
){
if
(
val
)
{
if
(
val
)
{
this
.
init
()
this
.
getProductBrandPage
(
this
.
warehousing
.
brandName
)
this
.
getProductBrandPage
(
this
.
warehousing
.
brandName
)
this
.
getProductBrandPage1
()
this
.
getProductBrandPage1
()
this
.
handleBrandChange
(
parseInt
(
this
.
form
.
brand
))
this
.
handleBrandChange
(
parseInt
(
this
.
form
.
brand
))
this
.
init
()
}
else
{
}
else
{
this
.
$emit
(
'
close
'
)
this
.
$emit
(
'
close
'
)
}
}
...
@@ -723,6 +723,7 @@ export default {
...
@@ -723,6 +723,7 @@ export default {
orderId
:
this
.
warehousing
.
orderId
,
orderId
:
this
.
warehousing
.
orderId
,
orderItemId
:
this
.
warehousing
.
orderItemId
,
orderItemId
:
this
.
warehousing
.
orderItemId
,
orderNo
:
this
.
warehousing
.
orderNo
,
orderNo
:
this
.
warehousing
.
orderNo
,
isAppend
:
this
.
isAdd
?
true
:
undefined
,
orderWarehouseInItemDoList
:
this
.
form
.
table
.
map
(
e
=>
{
orderWarehouseInItemDoList
:
this
.
form
.
table
.
map
(
e
=>
{
return
{
return
{
...
e
,
...
e
,
...
...
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