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
7d6d824b
Commit
7d6d824b
authored
Sep 30, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
ee723e17
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
15 deletions
+28
-15
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+17
-5
creatPayment.vue
src/views/ecw/financial/creatPayment.vue
+9
-8
weightDeal.vue
src/views/ecw/order/weightDeal.vue
+2
-2
No files found.
src/views/ecw/financial/creatCollection.vue
View file @
7d6d824b
...
...
@@ -84,7 +84,6 @@
label-width=
"0"
style=
"margin-bottom: 0"
prop=
"remark"
:rules=
"
{ required: true, trigger: ['blur', 'change'], message: '备注不能为空' }"
>
<el-input
v-model=
"form.remark"
placeholder=
"备注"
></el-input>
</el-form-item>
...
...
@@ -136,7 +135,7 @@
</el-table-column>
<el-table-column
label=
"优惠金额"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
discountTotal
?
`${scope.row.discountTotal
}
(${scope.row.discountRemark
}
)`
:
0
}}
{{
scope
.
row
.
discountTotal
?
`${scope.row.discountTotal
}
`
:
0
}}
{{
scope
.
row
.
discountRemark
?(
'
(
'
+
scope
.
row
.
discountRemark
+
'
)
'
):
''
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
>
...
...
@@ -608,10 +607,10 @@
{{
selectListRow
.
totalAmount
-
(
discountForm
.
discountTotal
||
0
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
selectListRow.currencyId
"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
操作人
"
>
<
el
-
form
-
item
v
-
if
=
"
opnotice
"
label
=
"
操作人
"
>
{{
discountForm
.
author
}}
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
操作时间
"
>
<
el
-
form
-
item
v
-
if
=
"
opnotice
"
label
=
"
操作时间
"
>
{{
discountForm
.
time
}}
<
/el-form-item
>
<
/el-form
>
...
...
@@ -657,6 +656,7 @@ export default {
list
:
[],
// fileList: [],
orderData
:
[],
opnotice
:
false
,
dialogTableKey
:
0
,
total
:
0
,
headers
:
{
...
...
@@ -1022,12 +1022,23 @@ export default {
this
.
$set
(
this
.
discountForm
,
'
discountTotal
'
,
res
.
data
.
discountTotal
)
this
.
$set
(
this
.
discountForm
,
'
discountRemark
'
,
res
.
data
.
discountRemark
)
this
.
$set
(
this
.
discountForm
,
'
author
'
,
res
.
data
.
creatorName
)
this
.
opnotice
=
true
}
else
{
this
.
opnotice
=
false
}
}
)
}
,
saveDiscount
()
{
console
.
log
(
this
.
discountForm
)
// this.selectListRow.id
if
(
this
.
discountForm
.
discountTotal
===
0
||!
this
.
discountForm
.
discountTotal
)
{
this
.
$modal
.
msgError
(
"
优惠金额不能为空
"
);
return
}
if
(
this
.
discountForm
.
discountRemark
===
0
||!
this
.
discountForm
.
discountRemark
)
{
this
.
$modal
.
msgError
(
"
优惠原因不能为空
"
);
return
}
const
params
=
{
id
:
this
.
selectListRow
.
id
,
discountTotal
:
this
.
discountForm
.
discountTotal
,
...
...
@@ -1075,7 +1086,8 @@ export default {
this
.
open
=
false
;
}
,
submitForm
(
addType
)
{
const
params
=
{...
this
.
form
,
addType
}
const
params
=
{...
this
.
form
}
params
.
addType
=
addType
params
.
receiptAccountList
.
length
=
params
.
receiptAccountList
.
length
-
1
params
.
receiptAccountList
.
map
(
v
=>
{
delete
v
.
discountTotal
...
...
src/views/ecw/financial/creatPayment.vue
View file @
7d6d824b
...
...
@@ -107,7 +107,7 @@
<el-option
v-for=
"item in bankData"
:key=
"item.id"
:label=
"item.ba
AccountName + '(' + item.baAccountNum
+ ')'"
:label=
"item.ba
nkName + '(' + item.bankNameAccount
+ ')'"
:value=
"item.id"
/>
</el-select>
...
...
@@ -414,7 +414,6 @@ import { DICT_TYPE } from "@/utils/dict";
import
{
getToken
}
from
"
@/utils/auth
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
{
getBankAccountPage
}
from
"
@/api/ecw/bankAccount
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
...
...
@@ -482,9 +481,9 @@ export default {
listSimpleUsers
().
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
getChannelList
().
then
((
res
)
=>
(
that
.
channelList
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
getBankAccountPage
(
that
.
params
).
then
(
(
res
)
=>
(
that
.
bankData
=
res
.
data
.
list
)
);
//
getBankAccountPage(that.params).then(
//
(res) => (that.bankData = res.data.list)
//
);
getSupplierPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}).
then
((
res
)
=>
{
const
{
data
}
=
res
;
this
.
allSupplier
=
data
.
list
;
...
...
@@ -595,7 +594,9 @@ export default {
},
selectChange
(
val
)
{
const
t
=
this
.
allSupplier
.
find
(
v
=>
v
.
id
==
val
)
t
&&
(
this
.
form
.
supplierName
=
t
.
companyZh
)
t
&&
(
this
.
bankData
=
t
.
bankList
)
},
handleQuery
()
{},
handleSelectionChange
(
val
)
{
...
...
@@ -635,7 +636,7 @@ export default {
var
chineseStr
=
''
;
//分离金额后用的数组,预定义
var
parts
;
// 传入的参数为空情况
// 传入的参数为空情况
if
(
money
===
''
)
{
return
''
;
}
...
...
@@ -643,7 +644,7 @@ export default {
if
(
money
>=
maxNum
){
return
''
}
// 传入的参数为0情况
// 传入的参数为0情况
if
(
money
===
0
)
{
chineseStr
=
cnNums
[
0
]
+
cnIntLast
+
cnInteger
;
return
chineseStr
...
...
@@ -678,7 +679,7 @@ export default {
chineseStr
+=
cnNums
[
parseInt
(
n
)]
+
cnIntRadice
[
m
];
}
if
(
m
==
0
&&
zeroCount
<
4
){
chineseStr
+=
cnIntUnits
[
q
];
chineseStr
+=
cnIntUnits
[
q
];
}
}
// 最后+ 元
...
...
src/views/ecw/order/weightDeal.vue
View file @
7d6d824b
...
...
@@ -85,12 +85,12 @@
</el-table-column>
<el-table-column
:label=
"$t('重货方数')"
align=
"center"
v-if=
"type=='order_heavy_cargo_exception'"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
warehouseInInfoVO
?(
scope
.
row
.
warehouseInInfoVO
.
heavyNumber
||
0
):
0
}}
CBM
</span>
<span>
{{
scope
.
row
.
wVolume
||
0
}}
CBM
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('泡货方数')"
align=
"center"
v-else
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
warehouseInInfoVO
?(
scope
.
row
.
warehouseInInfoVO
.
lightNumber
||
0
):
0
}}
CBM
</span>
<span>
{{
scope
.
row
.
vWeight
||
0
}}
CBM
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('最后操作时间')"
scope=
"handlerTime"
/>
...
...
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