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
0e504caa
Commit
0e504caa
authored
Oct 19, 2022
by
dcy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
6359e437
35fd5dbf
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
123 additions
and
79 deletions
+123
-79
done.vue
src/views/bpm/task/done.vue
+1
-1
todo.vue
src/views/bpm/task/todo.vue
+1
-1
edit.vue
src/views/ecw/customer/edit.vue
+1
-1
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+81
-56
printVoucher.vue
src/views/ecw/financial/printVoucher.vue
+2
-2
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+37
-18
No files found.
src/views/bpm/task/done.vue
View file @
0e504caa
...
...
@@ -33,7 +33,7 @@
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
:label=
"$t('流程编号')"
align=
"center"
prop=
"id"
width=
"320"
fixed
/>
<el-table-column
:label=
"$t('流程编号')"
align=
"center"
prop=
"
processInstance.
id"
width=
"320"
fixed
/>
<el-table-column
:label=
"$t('流程名称')"
align=
"center"
prop=
"processInstance.name"
width=
"200"
/>
<el-table-column
:label=
"$t('业务编号')"
align=
"center"
prop=
"businessNo"
/>
<el-table-column
:label=
"$t('流程分类')"
align=
"center"
prop=
"category"
width=
"200"
>
...
...
src/views/bpm/task/todo.vue
View file @
0e504caa
...
...
@@ -33,7 +33,7 @@
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
:label=
"$t('流程编号')"
align=
"center"
prop=
"id"
width=
"320"
/>
<el-table-column
:label=
"$t('流程编号')"
align=
"center"
prop=
"
processInstance.
id"
width=
"320"
/>
<el-table-column
:label=
"$t('流程名称')"
align=
"center"
prop=
"processInstance.name"
width=
"320"
/>
<el-table-column
:label=
"$t('流程分类')"
align=
"center"
prop=
"category"
>
...
...
src/views/ecw/customer/edit.vue
View file @
0e504caa
...
...
@@ -168,7 +168,7 @@
</el-col>
<el-col
:span=
"24"
>
<el-form-item
:label=
"$t('到仓确认')"
prop=
"arrivalConfirm"
>
<el-switch
v-model=
"form.arrivalConfirm"
:active-value=
"
0"
:inactive-value=
"1
"
/>
<el-switch
v-model=
"form.arrivalConfirm"
:active-value=
"
1"
:inactive-value=
"0
"
/>
</el-form-item>
</el-col>
<el-col
:span=
"13"
>
...
...
src/views/ecw/financial/creatCollection.vue
View file @
0e504caa
This diff is collapsed.
Click to expand it.
src/views/ecw/financial/printVoucher.vue
View file @
0e504caa
...
...
@@ -64,7 +64,7 @@
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
A
/
C
NO
:
{{
bankTiem
.
platformAccountNo
}}
<
/p
>
<
/div
>
<
div
style
=
"
padding:6px 0;width: 87.5%;text-align: center;
"
>
<
p
style
=
"
margin: 0;
"
>
应收
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
bankTiem.currencyId
"
/>
:
¥
{{
bankTiem
.
receivableAmount
}}
<
/p
>
<
p
style
=
"
margin: 0;
"
>
应收
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
bankTiem.currencyId
"
/>
:
{{
bankTiem
.
receivableAmount
}}
¥
<
/p
>
<!--
<
p
style
=
"
margin: 0;
"
>
未收:¥
{{
bankTiem
.
noReceipt
}}
<
/p> --
>
<
/div
>
<
/div
>
...
...
@@ -241,7 +241,7 @@
getOrder
(
orderId
).
then
(
response
=>
{
this
.
orderData
=
response
.
data
}
);
}
,
}
,
print
(){
lodop
().
then
(
LODOP
=>
{
LODOP
.
PRINT_INIT
();
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
0e504caa
...
...
@@ -192,7 +192,8 @@
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('期望收款币种')
"
align
=
"
center
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.collectionCurrencyId
"
/>
<!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.collectionCurrencyId
"
/>
-->
{{
getCurrencyLabel
(
scope
.
row
.
collectionCurrencyId
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('期望收款汇率')
"
align
=
"
center
"
>
...
...
@@ -324,9 +325,22 @@
prop
=
"
currencyId
"
:
rules
=
"
{ required: true, trigger: ['blur', 'change'], message: $t('币种不能为空')
}
"
>
<
dict
-
selector
v
-
if
=
"
!isView
"
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
v
-
model
=
"
addForm.currencyId
"
@
change
=
"
val => currencyIdChange(val)
"
/>
<
el
-
select
v
-
model
=
"
addForm.currencyId
"
:
placeholder
=
"
$t('请选择')
"
:
disabled
=
"
isView
"
@
change
=
"
val => currencyIdChange(val)
"
>
<
el
-
option
v
-
for
=
"
item in currencyList
"
:
key
=
"
item.id
"
:
label
=
"
item.titleZh
"
:
value
=
"
item.id
"
/>
<
/el-select
>
<!--
<
dict
-
selector
v
-
if
=
"
!isView
"
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
v
-
model
=
"
addForm.currencyId
"
@
change
=
"
val => currencyIdChange(val)
"
/>
-->
<!--
<
span
v
-
else
>
{{
addForm
.
currencyId
}}
<
/span> --
>
<
dict
-
tag
v
-
else
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
addForm.currencyId
"
/
>
<
!--
<
dict
-
tag
v
-
else
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
addForm.currencyId
"
/>
--
>
<
/el-form-item
>
<
/div
>
<
el
-
form
-
item
...
...
@@ -533,10 +547,10 @@ export default {
const
dollarList
=
res
.
data
.
filter
(
v
=>
v
.
collectionCurrencyId
==
1
)
const
dollar
=
dollarList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
collectionAmount
||
0
),
0
)
const
rmbList
=
res
.
data
.
filter
(
v
=>
v
.
collectionCurrencyId
==
2
)
const
rmbList
=
res
.
data
.
filter
(
v
=>
v
.
collectionCurrencyId
==
3
)
const
rmb
=
rmbList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
collectionAmount
||
0
),
0
)
const
nairaList
=
res
.
data
.
filter
(
v
=>
v
.
collectionCurrencyId
==
3
)
const
nairaList
=
res
.
data
.
filter
(
v
=>
v
.
collectionCurrencyId
==
2
)
const
naira
=
nairaList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
collectionAmount
||
0
),
0
)
res
.
data
[
res
.
data
.
length
-
1
].
collectionAmount
=
[
dollar
,
rmb
,
naira
]
...
...
@@ -547,14 +561,14 @@ export default {
const
d
=
res
.
data
.
find
(
v
=>
v
.
currencyId
==
1
)
d
&&
(
d
.
discountTotal
=
discountDollar
)
const
rmbListByList
=
this
.
list
.
filter
(
v
=>
v
.
currencyId
===
2
)
const
rmbListByList
=
this
.
list
.
filter
(
v
=>
v
.
currencyId
===
3
)
const
discountRmb
=
rmbListByList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
discountTotal
||
0
),
0
)
const
r
=
res
.
data
.
find
(
v
=>
v
.
currencyId
==
2
)
const
r
=
res
.
data
.
find
(
v
=>
v
.
currencyId
==
3
)
r
&&
(
r
.
discountTotal
=
discountRmb
)
const
nairaListByList
=
this
.
list
.
filter
(
v
=>
v
.
currencyId
===
3
)
const
nairaListByList
=
this
.
list
.
filter
(
v
=>
v
.
currencyId
===
2
)
const
discountNaira
=
nairaListByList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
discountTotal
||
0
),
0
)
const
n
=
res
.
data
.
find
(
v
=>
v
.
currencyId
==
3
)
const
n
=
res
.
data
.
find
(
v
=>
v
.
currencyId
==
2
)
n
&&
(
n
.
discountTotal
=
discountNaira
)
...
...
@@ -573,13 +587,18 @@ export default {
setWriteOffAmount
()
{
this
.
$set
(
this
.
addForm
,
'
writeOffAmount
'
,
NP
.
times
(
this
.
addForm
.
rate
||
0
,
this
.
addForm
.
amount
||
0
))
}
,
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
}
,
calculation
()
{
const
verificationList
=
this
.
detailed
.
filter
(
v
=>
v
.
status
===
1
)
const
dollarList
=
verificationList
.
filter
(
v
=>
v
.
currencyId
===
1
)
const
dollar
=
dollarList
.
length
>
0
?
dollarList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
amount
||
0
),
0
)
:
0
const
rmbList
=
verificationList
.
filter
(
v
=>
v
.
currencyId
===
2
)
const
rmbList
=
verificationList
.
filter
(
v
=>
v
.
currencyId
===
3
)
const
rmb
=
rmbList
.
length
>
0
?
rmbList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
amount
||
0
),
0
)
:
0
const
nairaList
=
verificationList
.
filter
(
v
=>
v
.
currencyId
===
3
)
const
nairaList
=
verificationList
.
filter
(
v
=>
v
.
currencyId
===
2
)
const
naira
=
nairaList
.
length
>
0
?
nairaList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
amount
||
0
),
0
)
:
0
// const usCount = NP.plus(dollar, NP.times(this.RMBtoUS(), rmb), NP.times(this.NANtoUS(), naira))
...
...
@@ -653,12 +672,12 @@ export default {
if
(
val
===
this
.
showCurrencyId
)
{
rate
=
1
}
else
{
if
(
this
.
showCurrencyId
===
1
&&
val
===
2
)
rate
=
this
.
RMBtoUS
()
else
if
(
this
.
showCurrencyId
===
1
&&
val
===
3
)
rate
=
this
.
NANtoUS
()
else
if
(
this
.
showCurrencyId
===
2
&&
val
===
1
)
rate
=
this
.
UStoRMB
()
else
if
(
this
.
showCurrencyId
===
2
&&
val
===
3
)
rate
=
this
.
NANtoRMB
()
else
if
(
this
.
showCurrencyId
===
3
&&
val
===
1
)
rate
=
this
.
UStoNAN
()
else
if
(
this
.
showCurrencyId
===
3
&&
val
===
2
)
rate
=
this
.
RMBtoNAN
()
if
(
this
.
showCurrencyId
===
1
&&
val
===
3
)
rate
=
this
.
RMBtoUS
()
else
if
(
this
.
showCurrencyId
===
1
&&
val
===
2
)
rate
=
this
.
NANtoUS
()
else
if
(
this
.
showCurrencyId
===
3
&&
val
===
1
)
rate
=
this
.
UStoRMB
()
else
if
(
this
.
showCurrencyId
===
3
&&
val
===
2
)
rate
=
this
.
NANtoRMB
()
else
if
(
this
.
showCurrencyId
===
2
&&
val
===
1
)
rate
=
this
.
UStoNAN
()
else
if
(
this
.
showCurrencyId
===
2
&&
val
===
3
)
rate
=
this
.
RMBtoNAN
()
}
this
.
$set
(
this
.
addForm
,
'
rate
'
,
rate
)
}
,
...
...
@@ -787,7 +806,7 @@ export default {
}
)
.
then
(()
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
核销成功
'
));
this
.
$
router
.
back
(
);
this
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
);
}
)
.
catch
(()
=>
{
}
);
}
,
...
...
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