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
Show 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 @@
...
@@ -84,7 +84,6 @@
label-width=
"0"
label-width=
"0"
style=
"margin-bottom: 0"
style=
"margin-bottom: 0"
prop=
"remark"
prop=
"remark"
:rules=
"
{ required: true, trigger: ['blur', 'change'], message: '备注不能为空' }"
>
>
<el-input
v-model=
"form.remark"
placeholder=
"备注"
></el-input>
<el-input
v-model=
"form.remark"
placeholder=
"备注"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -136,7 +135,7 @@
...
@@ -136,7 +135,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"优惠金额"
align=
"center"
>
<el-table-column
label=
"优惠金额"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
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
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
>
...
@@ -608,10 +607,10 @@
...
@@ -608,10 +607,10 @@
{{
selectListRow
.
totalAmount
-
(
discountForm
.
discountTotal
||
0
)
}}
{{
selectListRow
.
totalAmount
-
(
discountForm
.
discountTotal
||
0
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
selectListRow.currencyId
"
/>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
selectListRow.currencyId
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
操作人
"
>
<
el
-
form
-
item
v
-
if
=
"
opnotice
"
label
=
"
操作人
"
>
{{
discountForm
.
author
}}
{{
discountForm
.
author
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
操作时间
"
>
<
el
-
form
-
item
v
-
if
=
"
opnotice
"
label
=
"
操作时间
"
>
{{
discountForm
.
time
}}
{{
discountForm
.
time
}}
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
...
@@ -657,6 +656,7 @@ export default {
...
@@ -657,6 +656,7 @@ export default {
list
:
[],
list
:
[],
// fileList: [],
// fileList: [],
orderData
:
[],
orderData
:
[],
opnotice
:
false
,
dialogTableKey
:
0
,
dialogTableKey
:
0
,
total
:
0
,
total
:
0
,
headers
:
{
headers
:
{
...
@@ -1022,12 +1022,23 @@ export default {
...
@@ -1022,12 +1022,23 @@ export default {
this
.
$set
(
this
.
discountForm
,
'
discountTotal
'
,
res
.
data
.
discountTotal
)
this
.
$set
(
this
.
discountForm
,
'
discountTotal
'
,
res
.
data
.
discountTotal
)
this
.
$set
(
this
.
discountForm
,
'
discountRemark
'
,
res
.
data
.
discountRemark
)
this
.
$set
(
this
.
discountForm
,
'
discountRemark
'
,
res
.
data
.
discountRemark
)
this
.
$set
(
this
.
discountForm
,
'
author
'
,
res
.
data
.
creatorName
)
this
.
$set
(
this
.
discountForm
,
'
author
'
,
res
.
data
.
creatorName
)
this
.
opnotice
=
true
}
else
{
this
.
opnotice
=
false
}
}
}
)
}
)
}
,
}
,
saveDiscount
()
{
saveDiscount
()
{
console
.
log
(
this
.
discountForm
)
console
.
log
(
this
.
discountForm
)
// this.selectListRow.id
// 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
=
{
const
params
=
{
id
:
this
.
selectListRow
.
id
,
id
:
this
.
selectListRow
.
id
,
discountTotal
:
this
.
discountForm
.
discountTotal
,
discountTotal
:
this
.
discountForm
.
discountTotal
,
...
@@ -1075,7 +1086,8 @@ export default {
...
@@ -1075,7 +1086,8 @@ export default {
this
.
open
=
false
;
this
.
open
=
false
;
}
,
}
,
submitForm
(
addType
)
{
submitForm
(
addType
)
{
const
params
=
{...
this
.
form
,
addType
}
const
params
=
{...
this
.
form
}
params
.
addType
=
addType
params
.
receiptAccountList
.
length
=
params
.
receiptAccountList
.
length
-
1
params
.
receiptAccountList
.
length
=
params
.
receiptAccountList
.
length
-
1
params
.
receiptAccountList
.
map
(
v
=>
{
params
.
receiptAccountList
.
map
(
v
=>
{
delete
v
.
discountTotal
delete
v
.
discountTotal
...
...
src/views/ecw/financial/creatPayment.vue
View file @
7d6d824b
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
<el-option
<el-option
v-for=
"item in bankData"
v-for=
"item in bankData"
:key=
"item.id"
:key=
"item.id"
:label=
"item.ba
AccountName + '(' + item.baAccountNum
+ ')'"
:label=
"item.ba
nkName + '(' + item.bankNameAccount
+ ')'"
:value=
"item.id"
:value=
"item.id"
/>
/>
</el-select>
</el-select>
...
@@ -414,7 +414,6 @@ import { DICT_TYPE } from "@/utils/dict";
...
@@ -414,7 +414,6 @@ import { DICT_TYPE } from "@/utils/dict";
import
{
getToken
}
from
"
@/utils/auth
"
;
import
{
getToken
}
from
"
@/utils/auth
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
{
getBankAccountPage
}
from
"
@/api/ecw/bankAccount
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
...
@@ -482,9 +481,9 @@ export default {
...
@@ -482,9 +481,9 @@ export default {
listSimpleUsers
().
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
listSimpleUsers
().
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
getChannelList
().
then
((
res
)
=>
(
that
.
channelList
=
res
.
data
));
getChannelList
().
then
((
res
)
=>
(
that
.
channelList
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
getBankAccountPage
(
that
.
params
).
then
(
//
getBankAccountPage(that.params).then(
(
res
)
=>
(
that
.
bankData
=
res
.
data
.
list
)
//
(res) => (that.bankData = res.data.list)
);
//
);
getSupplierPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}).
then
((
res
)
=>
{
getSupplierPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}).
then
((
res
)
=>
{
const
{
data
}
=
res
;
const
{
data
}
=
res
;
this
.
allSupplier
=
data
.
list
;
this
.
allSupplier
=
data
.
list
;
...
@@ -595,7 +594,9 @@ export default {
...
@@ -595,7 +594,9 @@ export default {
},
},
selectChange
(
val
)
{
selectChange
(
val
)
{
const
t
=
this
.
allSupplier
.
find
(
v
=>
v
.
id
==
val
)
const
t
=
this
.
allSupplier
.
find
(
v
=>
v
.
id
==
val
)
t
&&
(
this
.
form
.
supplierName
=
t
.
companyZh
)
t
&&
(
this
.
form
.
supplierName
=
t
.
companyZh
)
t
&&
(
this
.
bankData
=
t
.
bankList
)
},
},
handleQuery
()
{},
handleQuery
()
{},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
...
...
src/views/ecw/order/weightDeal.vue
View file @
7d6d824b
...
@@ -85,12 +85,12 @@
...
@@ -85,12 +85,12 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('重货方数')"
align=
"center"
v-if=
"type=='order_heavy_cargo_exception'"
>
<el-table-column
:label=
"$t('重货方数')"
align=
"center"
v-if=
"type=='order_heavy_cargo_exception'"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
warehouseInInfoVO
?(
scope
.
row
.
warehouseInInfoVO
.
heavyNumber
||
0
):
0
}}
CBM
</span>
<span>
{{
scope
.
row
.
wVolume
||
0
}}
CBM
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('泡货方数')"
align=
"center"
v-else
>
<el-table-column
:label=
"$t('泡货方数')"
align=
"center"
v-else
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
warehouseInInfoVO
?(
scope
.
row
.
warehouseInInfoVO
.
lightNumber
||
0
):
0
}}
CBM
</span>
<span>
{{
scope
.
row
.
vWeight
||
0
}}
CBM
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('最后操作时间')"
scope=
"handlerTime"
/>
<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