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
f3197757
Commit
f3197757
authored
Oct 12, 2022
by
dcy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
95ef0c58
d337293c
Changes
14
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
762 additions
and
72 deletions
+762
-72
.gitignore
.gitignore
+1
-1
collectI18nMessages.js
collectI18nMessages.js
+3
-2
ProcessDesigner.vue
.../bpmnProcessDesigner/package/designer/ProcessDesigner.vue
+5
-0
copy.vue
src/views/bpm/task/copy.vue
+3
-3
done.vue
src/views/bpm/task/done.vue
+2
-2
creatPayment.vue
src/views/ecw/financial/creatPayment.vue
+3
-3
paymentDetail.vue
src/views/ecw/financial/paymentDetail.vue
+605
-0
paymentVoucher.vue
src/views/ecw/financial/paymentVoucher.vue
+12
-4
voucher.vue
src/views/ecw/financial/voucher.vue
+5
-5
edit.vue
src/views/ecw/offer/edit.vue
+1
-0
edit.vue
src/views/ecw/order/edit.vue
+51
-27
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+41
-12
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+25
-10
index.vue
src/views/ecw/order/warehousing/index.vue
+5
-3
No files found.
.gitignore
View file @
f3197757
...
@@ -10,7 +10,7 @@ tests/**/coverage/
...
@@ -10,7 +10,7 @@ tests/**/coverage/
tests/e2e/reports
tests/e2e/reports
selenium-debug.log
selenium-debug.log
# 提取的需要翻译的文件列表
# 提取的需要翻译的文件列表
messages.txt
i18n-
messages.txt
# Editor directories and files
# Editor directories and files
.idea
.idea
.vscode
.vscode
...
...
collectI18nMessages.js
View file @
f3197757
...
@@ -2,6 +2,7 @@ const fs = require('fs');
...
@@ -2,6 +2,7 @@ const fs = require('fs');
const
root
=
"
./src
"
const
root
=
"
./src
"
let
allFiles
=
[]
let
allFiles
=
[]
function
getFiles
(
dir
){
function
getFiles
(
dir
){
let
files
=
fs
.
readdirSync
(
dir
)
let
files
=
fs
.
readdirSync
(
dir
)
files
.
forEach
(
file
=>
{
files
.
forEach
(
file
=>
{
...
@@ -16,12 +17,12 @@ getFiles(root)
...
@@ -16,12 +17,12 @@ getFiles(root)
let
messages
=
new
Set
()
let
messages
=
new
Set
()
allFiles
.
forEach
(
file
=>
{
allFiles
.
forEach
(
file
=>
{
let
data
=
fs
.
readFileSync
(
file
,
{
encoding
:
'
utf-8
'
})
let
data
=
fs
.
readFileSync
(
file
,
{
encoding
:
'
utf-8
'
})
let
matched
=
data
.
matchAll
(
/
\$
t
\([\'\"]{1}([^\"\']
+
)[\'\"]{1}
\)
/g
)
let
matched
=
data
.
matchAll
(
/
\$
t
\([\'\"]{1}([^\"\']
+
)[\'\"]{1}
/g
)
let
i
=
0
let
i
=
0
for
(
let
item
of
matched
){
for
(
let
item
of
matched
){
i
++
i
++
messages
.
add
(
item
[
1
])
messages
.
add
(
item
[
1
])
}
}
})
})
fs
.
writeFileSync
(
"
./messages.txt
"
,
Array
.
from
(
messages
).
join
(
"
\n
"
))
fs
.
writeFileSync
(
"
./
i18n-
messages.txt
"
,
Array
.
from
(
messages
).
join
(
"
\n
"
))
console
.
log
(
"
done!
"
)
console
.
log
(
"
done!
"
)
\ No newline at end of file
src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
View file @
f3197757
...
@@ -478,3 +478,8 @@ export default {
...
@@ -478,3 +478,8 @@ export default {
}
}
};
};
</
script
>
</
script
>
<
style
scoped
>
.my-process-designer
{
height
:
calc
(
100vh
-
84px
-
40px
);
}
</
style
>
src/views/bpm/task/copy.vue
View file @
f3197757
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
流程
名称"
prop=
"processName"
>
<el-form-item
label=
"
任务
名称"
prop=
"processName"
>
<el-input
v-model=
"queryParams.processName"
placeholder=
"请输入
流程
名称"
clearable
/>
<el-input
v-model=
"queryParams.processName"
placeholder=
"请输入
任务
名称"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
<el-form-item
:label=
"$t('创建时间')"
>
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<dict-tag
:type=
"DICT_TYPE.BPM_MODEL_CATEGORY"
:value=
"scope.row.categoryId"
/>
<dict-tag
:type=
"DICT_TYPE.BPM_MODEL_CATEGORY"
:value=
"scope.row.categoryId"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"
流程
名称"
align=
"center"
prop=
"processName"
/>
<el-table-column
label=
"
任务
名称"
align=
"center"
prop=
"processName"
/>
<el-table-column
label=
"流程发起人"
align=
"center"
prop=
"originatorName"
/>
<el-table-column
label=
"流程发起人"
align=
"center"
prop=
"originatorName"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
...
src/views/bpm/task/done.vue
View file @
f3197757
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<!-- 搜索工作栏 -->
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
:label=
"$t('
流程名
')"
prop=
"name"
>
<el-form-item
:label=
"$t('
任务名称
')"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
:placeholder=
"$t('请输入
流程名
')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.name"
:placeholder=
"$t('请输入
任务名称
')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
<el-form-item
:label=
"$t('创建时间')"
>
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
...
...
src/views/ecw/financial/creatPayment.vue
View file @
f3197757
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"价税合计(RMB)"
align=
"center"
prop=
"total"
>
<el-table-column
label=
"价税合计(RMB)"
align=
"center"
prop=
"total"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
total
=
(
scope
.
row
.
totalAmount
*
scope
.
row
.
exchangeRate
)
+
(
scope
.
row
.
totalAmount
*
scope
.
row
.
exchangeRate
)
*
(
scope
.
row
.
taxRate
/
100
)
}}
</span>
<span>
{{
scope
.
row
.
total
=
(
(
scope
.
row
.
totalAmount
*
scope
.
row
.
exchangeRate
)
+
(
scope
.
row
.
totalAmount
*
scope
.
row
.
exchangeRate
)
*
(
scope
.
row
.
taxRate
/
100
)).
toFixed
(
6
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
</el-card>
</el-card>
<div
slot=
"footer"
style=
"margin: 20px 0"
>
<div
slot=
"footer"
style=
"margin: 20px 0"
>
<!-- <el-button type="primary" @click="submitDraft">保 存</el-button> -->
<!-- <el-button type="primary" @click="submitDraft">保 存</el-button> -->
<el-button
type=
"primary"
@
click=
"submitForm"
>
新 增
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{id==0?'新 增':'编 辑'}}
</el-button>
</div>
</div>
<el-dialog
<el-dialog
:visible.sync=
"open"
:visible.sync=
"open"
...
@@ -542,7 +542,7 @@ export default {
...
@@ -542,7 +542,7 @@ export default {
const
index
=
sums
.
length
-
1
const
index
=
sums
.
length
-
1
sums
[
index
-
1
]
=
'
价税合计大写
'
sums
[
index
-
1
]
=
'
价税合计大写
'
const
t
=
data
.
map
(
v
=>
v
.
total
).
reduce
((
prev
,
curr
)
=>
{
const
t
=
data
.
map
(
v
=>
v
.
total
).
reduce
((
prev
,
curr
)
=>
{
return
p
rev
+
curr
;
return
p
arseFloat
(
prev
)
+
parseFloat
(
curr
)
;
},
0
)
},
0
)
sums
[
index
]
=
this
.
convertCurrency
(
t
)
sums
[
index
]
=
this
.
convertCurrency
(
t
)
return
sums
;
return
sums
;
...
...
src/views/ecw/financial/paymentDetail.vue
0 → 100644
View file @
f3197757
This diff is collapsed.
Click to expand it.
src/views/ecw/financial/paymentVoucher.vue
View file @
f3197757
...
@@ -98,7 +98,11 @@
...
@@ -98,7 +98,11 @@
<span>
{{
scope
.
$index
+
1
}}
</span>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"付款单号"
align=
"center"
prop=
"paymentNo"
/>
<el-table-column
label=
"付款单号"
align=
"center"
prop=
"paymentNo"
>
<
template
slot-scope=
"scope"
>
<span
style=
"color: #1890ff;"
@
click=
"paymentDetail(scope.row)"
>
{{
scope
.
row
.
paymentNo
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"supplierName"
/>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"supplierName"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -256,6 +260,10 @@ export default {
...
@@ -256,6 +260,10 @@ export default {
this
.
loading
=
false
;
this
.
loading
=
false
;
}
);
}
);
}
,
}
,
paymentDetail
(
row
){
const
id
=
row
.
id
;
return
this
.
$router
.
push
(
"
paymentDetail?id=
"
+
id
);
}
,
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
this
.
queryParams
.
page
=
1
;
this
.
queryParams
.
page
=
1
;
...
...
src/views/ecw/financial/voucher.vue
View file @
f3197757
...
@@ -120,12 +120,12 @@
...
@@ -120,12 +120,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="自编号" align="center" prop="orderNo" /> -->
<!-- <el-table-column label="自编号" align="center" prop="orderNo" /> -->
<
el-table-column
label=
"订单号"
align=
"center"
prop=
"orderNo"
>
<
!-- <el-table-column label="订单号" align="center" prop="orderNo"> --
>
<
template
slot-scope=
"scope"
>
<
!-- <template slot-scope="scope"> --
>
<
span
style=
"color: #1890ff;"
@
click=
"verificationCancelClick(scope.row)"
>
{{
scope
.
row
.
orderNo
}}
</span
>
<
!-- <span style="color: #1890ff;" @click="verificationCancelClick(scope.row)">{{scope.row.orderNo}}</span> --
>
<!-- <el-button size="mini" type="text" @click="verificationCancelClick(scope.row)">{{ scope.row.receiptNo }}</el-button> -->
<!-- <el-button size="mini" type="text" @click="verificationCancelClick(scope.row)">{{ scope.row.receiptNo }}</el-button> -->
<
/
template
>
<
!-- </template> --
>
<
/el-table-column
>
<
!-- </el-table-column> --
>
<el-table-column
label=
"客户名称"
align=
"center"
prop=
"customerName"
/>
<el-table-column
label=
"客户名称"
align=
"center"
prop=
"customerName"
/>
<el-table-column
label=
"创建日期"
align=
"center"
prop=
"createTime"
>
<el-table-column
label=
"创建日期"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
...
src/views/ecw/offer/edit.vue
View file @
f3197757
...
@@ -1021,6 +1021,7 @@ export default {
...
@@ -1021,6 +1021,7 @@ export default {
console
.
log
(
'
产品未选择
'
,
item
)
console
.
log
(
'
产品未选择
'
,
item
)
calcable
=
false
calcable
=
false
}
}
item
.
brandType
=
item
.
brand
})
})
if
(
this
.
calculating
||
!
calcable
)
return
false
if
(
this
.
calculating
||
!
calcable
)
return
false
this
.
calculating
=
true
this
.
calculating
=
true
...
...
src/views/ecw/order/edit.vue
View file @
f3197757
This diff is collapsed.
Click to expand it.
src/views/ecw/order/prepayDeal.vue
View file @
f3197757
...
@@ -32,12 +32,12 @@
...
@@ -32,12 +32,12 @@
<div
v-if=
"orderExceptionData.orderExceptionType!='order_doc_exception'&&orderExceptionData.orderExceptionType!='order_consignor_exception'&&orderExceptionData.orderExceptionType!='order_other_exception'"
>
<div
v-if=
"orderExceptionData.orderExceptionType!='order_doc_exception'&&orderExceptionData.orderExceptionType!='order_consignor_exception'&&orderExceptionData.orderExceptionType!='order_other_exception'"
>
<el-row>
<el-row>
<el-form-item
:label=
"$t('填单参数')+':'"
>
<el-form-item
:label=
"$t('填单参数')+':'"
>
{{
(
shopData
.
num
||
0
)
+
$t
(
'
箱
'
)
+
(
shopData
.
volume
||
0
)
+
'
m³
'
+
(
shopData
.
weight
||
0
)
+
'
kg
'
+
(
shopData
.
q
uantity
||
0
)
+
$t
(
'
个
'
)
}}
{{
(
orderData
.
costVO
.
totalNum
||
0
)
+
$t
(
'
箱
'
)
+
(
orderData
.
costVO
.
totalVolume
||
0
)
+
'
m³
'
+
(
orderData
.
costVO
.
totalWeight
||
0
)
+
'
kg
'
+
(
orderData
.
costVO
.
totalQ
uantity
||
0
)
+
$t
(
'
个
'
)
}}
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
:label=
"$t('入仓参数')+':'"
>
<el-form-item
:label=
"$t('入仓参数')+':'"
>
<span>
{{
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
cartonsNum
:
0
)
+
$t
(
'
箱
'
)
+
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
volume
:
0
)
+
'
m³
'
+
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
weight
:
0
)
+
'
kg
'
+
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
quantityAll
:
0
)
+
$t
(
'
个
'
)
}}
</span>
<span>
{{
(
orderData
.
sumNum
||
0
)
+
$t
(
'
箱
'
)
+
(
orderData
.
sumVolume
||
0
)
+
'
m³
'
+
(
orderData
.
sumWeight
||
0
)
+
'
kg
'
+
(
orderData
.
sumQuantity
||
0
)
+
$t
(
'
个
'
)
}}
</span>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row
:span=
"12"
>
<el-row
:span=
"12"
>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</el-row>
</el-row>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-form-item
:label=
"$t('收费参数')+':'"
>
<el-form-item
:label=
"$t('收费参数')+':'"
>
<span>
{{
orderData
.
entryNum
||
0
}}{{
$t
(
'
箱
'
)
}}
{{
orderData
.
entryVolume
||
0
}}
m³
{{
orderData
.
entryWeight
||
0
}}
Kg
{{
orderData
.
entry
Quantity
||
0
}}{{
$t
(
'
个
'
)
}}
</span>
<span>
{{
orderData
.
sumNum
||
0
}}{{
$t
(
'
箱
'
)
}}
{{
orderData
.
wvolume
||
0
}}
m³
{{
orderData
.
vweight
||
0
}}
Kg
{{
orderData
.
sum
Quantity
||
0
}}{{
$t
(
'
个
'
)
}}
</span>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<!--
<el-row
:span=
"12"
>
<!--
<el-row
:span=
"12"
>
...
@@ -78,10 +78,15 @@
...
@@ -78,10 +78,15 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('收入类型')"
>
<el-table-column
:label=
"$t('收入类型')"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"scope.row.feeType"
></dict-tag>
<dict-tag
:type=
"DICT_TYPE.FEE_TYPE"
:value=
"scope.row.feeType"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('应收金额')"
prop=
"totalAmount"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
totalAmount
}}
{{
currentMap
[
row
.
currencyId
]
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('应收金额')"
prop=
"totalAmount"
/>
<!-- <el-table-column label="总金额美元" align="center" prop="totalAmount">
<!-- <el-table-column label="总金额美元" align="center" prop="totalAmount">
<template slot-scope="{row}">
<template slot-scope="{row}">
{{row.totalAmount}}({{row.exchangeRate}})
{{row.totalAmount}}({{row.exchangeRate}})
...
@@ -123,9 +128,21 @@
...
@@ -123,9 +128,21 @@
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('方数')"
prop=
"volume"
/>
<el-table-column
:label=
"$t('方数')"
prop=
"volume"
>
<el-table-column
:label=
"$t('重量')"
prop=
"weight"
/>
<
template
slot-scope=
"scope"
>
<el-table-column
:label=
"$t('数量')"
prop=
"quantity"
/>
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
volume
:
0
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('重量')"
prop=
"weight"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
weight
:
0
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('数量')"
prop=
"quantity"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
quantityAll
:
0
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('货值')"
prop=
"worth"
/>
<el-table-column
:label=
"$t('货值')"
prop=
"worth"
/>
</el-table>
</el-table>
<el-form
:model=
"handlerParams"
ref=
"queryForms"
size=
"small"
:inline=
"true"
label-width=
"120px"
class=
"card"
>
<el-form
:model=
"handlerParams"
ref=
"queryForms"
size=
"small"
:inline=
"true"
label-width=
"120px"
class=
"card"
>
...
@@ -271,6 +288,7 @@
...
@@ -271,6 +288,7 @@
import
FileUpload
from
'
@/components/FileUpload
'
import
FileUpload
from
'
@/components/FileUpload
'
import
{
getDictData
,
getDictDatas
}
from
'
@/utils/dict
'
import
{
getDictData
,
getDictDatas
}
from
'
@/utils/dict
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
,
getOrderFeeById
}
from
"
@/api/ecw/orderException
"
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
,
getOrderFeeById
}
from
"
@/api/ecw/orderException
"
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
...
@@ -301,7 +319,8 @@
...
@@ -301,7 +319,8 @@
routerList
:[],
routerList
:[],
multipleSelection
:[],
multipleSelection
:[],
preException
:[],
preException
:[],
orderFee
:[]
orderFee
:[],
currencyList
:[],
};
};
},
},
created
()
{
created
()
{
...
@@ -311,6 +330,16 @@
...
@@ -311,6 +330,16 @@
this
.
getList
()
this
.
getList
()
}
}
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
},
computed
:
{
currentMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
this
.
$l
(
item
,
'
title
'
)
})
return
map
},
},
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
...
@@ -325,9 +354,9 @@
...
@@ -325,9 +354,9 @@
that
.
loading
=
false
;
that
.
loading
=
false
;
that
.
orderId
=
response
.
data
.
orderId
that
.
orderId
=
response
.
data
.
orderId
that
.
getOrderData
()
that
.
getOrderData
()
if
(
response
.
data
.
hasOwnProperty
(
'
orderItemId
'
)){
//
if(response.data.hasOwnProperty('orderItemId')){
that
.
getShopData
(
response
.
data
.
orderItemId
)
//
that.getShopData(response.data.orderItemId)
}
//
}
if
(
that
.
orderExceptionData
.
orderExceptionType
==
'
order_pay_exception
'
){
if
(
that
.
orderExceptionData
.
orderExceptionType
==
'
order_pay_exception
'
){
that
.
getOrderFeeByIdData
()
that
.
getOrderFeeByIdData
()
...
...
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
f3197757
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-dialog
<el-dialog
:title=
"title + ' - ' + warehousing.orderNo"
:title=
"title + ' - ' + warehousing.orderNo"
:visible.sync=
"opened"
:visible.sync=
"opened"
width=
"1
0
80px"
width=
"1
2
80px"
>
>
<el-tabs
v-model=
"activeName"
type=
"card"
@
tab-click=
"handleTabs"
>
<el-tabs
v-model=
"activeName"
type=
"card"
@
tab-click=
"handleTabs"
>
<el-tab-pane
:label=
"edit ? '货物修改' : '货物入仓'"
name=
"first"
>
<el-tab-pane
:label=
"edit ? '货物修改' : '货物入仓'"
name=
"first"
>
...
@@ -73,6 +73,9 @@
...
@@ -73,6 +73,9 @@
:data=
"tableData"
:data=
"tableData"
style=
"width: 100%"
>
style=
"width: 100%"
>
<el-table-column
label=
"箱数"
width=
"150px"
>
<el-table-column
label=
"箱数"
width=
"150px"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
箱数
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.cartonsNum"
:prop=
"$index + '.cartonsNum'"
>
<el-form-item
:rules=
"tableFormRules.cartonsNum"
:prop=
"$index + '.cartonsNum'"
>
<span
v-if=
"tableData[$index].id && !edit"
>
<span
v-if=
"tableData[$index].id && !edit"
>
...
@@ -86,6 +89,9 @@
...
@@ -86,6 +89,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"包装类型"
width=
"100px"
>
<el-table-column
label=
"包装类型"
width=
"100px"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
包装类型
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item>
<el-form-item>
<span
v-if=
"tableData[$index].id && !edit"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
,
tableData
[
$index
].
unit
)
}}
</span>
<span
v-if=
"tableData[$index].id && !edit"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
,
tableData
[
$index
].
unit
)
}}
</span>
...
@@ -118,22 +124,31 @@
...
@@ -118,22 +124,31 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"体积(m³)"
>
<el-table-column
label=
"体积(m³)"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
体积(m³)
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.volume"
:prop=
"$index + '.volume'"
>
<el-form-item
:rules=
"tableFormRules.volume"
:prop=
"$index + '.volume'"
>
<span
v-if=
"tableData[$index].id && !edit"
>
{{
tableData
[
$index
].
volume
}}
</span>
<span
v-if=
"tableData[$index].id && !edit"
>
{{
tableData
[
$index
].
volume
}}
</span>
<el-input
v-else
v-model
.number=
"tableData[$index].volume"
placeholder=
"
"
></el-input>
<el-input
v-else
v-model
=
"tableData[$index].volume"
placeholder=
""
type=
"number
"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"重量(Kg)"
>
<el-table-column
label=
"重量(Kg)"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
重量(Kg)
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.weight"
:prop=
"$index + '.weight'"
>
<el-form-item
:rules=
"tableFormRules.weight"
:prop=
"$index + '.weight'"
>
<span
v-if=
"tableData[$index].id && !edit"
>
{{
tableData
[
$index
].
weight
}}
</span>
<span
v-if=
"tableData[$index].id && !edit"
>
{{
tableData
[
$index
].
weight
}}
</span>
<el-input
v-else
v-model
.number=
"tableData[$index].weight"
placeholder=
"
"
></el-input>
<el-input
v-else
v-model
=
"tableData[$index].weight"
placeholder=
""
type=
"number
"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"数量"
width=
"130px"
>
<el-table-column
label=
"数量"
width=
"130px"
>
<
template
v-slot:header
>
<span
style=
"color: red"
>
*
</span>
数量
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.quantityAll"
:prop=
"$index + '.quantityAll'"
>
<el-form-item
:rules=
"tableFormRules.quantityAll"
:prop=
"$index + '.quantityAll'"
>
<span
v-if=
"tableData[$index].id && !edit"
>
{{
tableData
[
$index
].
quantityAll
}}
</span>
<span
v-if=
"tableData[$index].id && !edit"
>
{{
tableData
[
$index
].
quantityAll
}}
</span>
...
@@ -400,13 +415,13 @@ export default {
...
@@ -400,13 +415,13 @@ export default {
recordMode
:
undefined
recordMode
:
undefined
},
},
tableFormRules
:
{
tableFormRules
:
{
cartonsNum
:
[{
required
:
true
,
message
:
this
.
$t
(
"
箱数不能为空
"
),
trigger
:
"
blur
"
}],
cartonsNum
:
[{
required
:
true
,
message
:
this
.
$t
(
"
箱数不能为空
"
),
trigger
:
"
change
"
}],
boxGauge1
:
[{
required
:
true
,
message
:
this
.
$t
(
"
货物长不能为空
"
),
trigger
:
"
blur
"
}],
boxGauge1
:
[{
required
:
true
,
message
:
this
.
$t
(
"
货物长不能为空
"
),
trigger
:
"
change
"
}],
boxGauge2
:
[{
required
:
true
,
message
:
this
.
$t
(
"
货物宽不能为空
"
),
trigger
:
"
blur
"
}],
boxGauge2
:
[{
required
:
true
,
message
:
this
.
$t
(
"
货物宽不能为空
"
),
trigger
:
"
change
"
}],
boxGauge3
:
[{
required
:
true
,
message
:
this
.
$t
(
"
货物高不能为空
"
),
trigger
:
"
blur
"
}],
boxGauge3
:
[{
required
:
true
,
message
:
this
.
$t
(
"
货物高不能为空
"
),
trigger
:
"
change
"
}],
volume
:
[{
required
:
true
,
message
:
this
.
$t
(
"
体积不能为空
"
),
trigger
:
"
blur
"
}],
volume
:
[{
required
:
true
,
message
:
this
.
$t
(
"
体积不能为空
"
),
trigger
:
"
change
"
}],
weight
:
[{
required
:
true
,
message
:
this
.
$t
(
"
重量不能为空
"
),
trigger
:
"
blur
"
}],
weight
:
[{
required
:
true
,
message
:
this
.
$t
(
"
重量不能为空
"
),
trigger
:
"
change
"
}],
quantityAll
:
[{
required
:
true
,
message
:
"
数量不能为空
"
,
trigger
:
"
blur
"
}]
quantityAll
:
[{
required
:
true
,
message
:
"
数量不能为空
"
,
trigger
:
"
change
"
}]
},
},
form1
:
{
form1
:
{
"
brand
"
:
"
0
"
,
"
brand
"
:
"
0
"
,
...
...
src/views/ecw/order/warehousing/index.vue
View file @
f3197757
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
label=
"入库货物属性"
>
label=
"入库货物属性"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<template
v-if=
"row.warehouseInInfoVO"
>
<template
v-if=
"row.warehouseInInfoVO"
>
品牌:
{{
[
'
无牌
'
,
'
有牌
'
,
'
中性
'
][
row
.
brand
Type
]
}}
<br>
品牌:
{{
[
'
无牌
'
,
'
有牌
'
,
'
中性
'
][
row
.
fee
Type
]
}}
<br>
箱数:
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}
<br>
箱数:
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}
<br>
体积:
{{
row
.
warehouseInInfoVO
.
volume
}}
m³
<br>
体积:
{{
row
.
warehouseInInfoVO
.
volume
}}
m³
<br>
重量:
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
重量:
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
...
@@ -343,12 +343,14 @@ export default {
...
@@ -343,12 +343,14 @@ export default {
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
this
.
escapeBol
=
false
;
this
.
escapeBol
=
false
;
this
.
finishVisible
=
false
this
.
finishVisible
=
false
const
message
=
!
r
.
data
?
'
该订单已成功入仓,是否打印?
'
:
"
<h3>货物已入仓,存在异常</h3>该订单已成功入仓,是否打印?
"
this
.
$confirm
(
this
.
$confirm
(
'
该订单已成功入仓,是否打印?
'
,
message
,
'
货物已入仓
'
,
'
货物已入仓
'
,
{
{
confirmButtonText
:
'
是
'
,
confirmButtonText
:
'
是
'
,
cancelButtonText
:
'
否
'
cancelButtonText
:
'
否
'
,
dangerouslyUseHTMLString
:
true
}
}
).
then
(()
=>
{
).
then
(()
=>
{
this
.
isShowPrint
=
true
this
.
isShowPrint
=
true
...
...
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