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
493fb359
Commit
493fb359
authored
Mar 26, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单bug修复
parent
35d96a0c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
13 deletions
+19
-13
bankDetail.vue
src/views/ecw/financial/bankDetail.vue
+2
-9
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+14
-1
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+1
-1
voucher.vue
src/views/ecw/financial/voucher.vue
+2
-2
No files found.
src/views/ecw/financial/bankDetail.vue
View file @
493fb359
...
...
@@ -13,7 +13,7 @@
</div>
</el-form-item>
<el-form-item
:label=
"$t('收款账户')"
prop=
"accountNo"
>
<span>
{{ addForm.accountNo }}
</span>
<span>
{{ addForm.accountNo
+'('+addForm.accountName+')'
}}
</span>
</el-form-item>
<el-form-item
:label=
"$t('实收日期')"
prop=
"amountDate"
>
<span>
{{ addForm.amountDate }}
</span>
...
...
@@ -23,14 +23,7 @@
<span>
{{ addForm.amount }}
</span>
</el-form-item>
<el-form-item
label-width=
"0px"
prop=
"currencyId"
>
<el-select
v-model=
"addForm.currencyId"
:disabled=
"true"
>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"$i18n.locale=='zh_CN'?item.titleZh:item.titleEn"
:value=
"item.id"
/>
</el-select>
<span>
({{getCurrencyLabel(showCurrencyId)}})
</span>
</el-form-item>
</div>
<el-form-item
...
...
src/views/ecw/financial/creatCollection.vue
View file @
493fb359
...
...
@@ -867,6 +867,13 @@ export default {
}
);
}
,
computed
:
{
rules
(){
return
{
customerId
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户不能为空
'
)
}
],
departmentId
:
[{
required
:
true
,
message
:
this
.
$t
(
'
部门不能为空
'
)
}
],
salesmanId
:
[{
required
:
true
,
message
:
this
.
$t
(
'
业务员不能为空
'
)
}
],
}
}
,
expoerCityList
()
{
// return this.tradeCityList.filter((item) => item.type == 2);
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
2
||
item
.
tradeType
==
3
)
...
...
@@ -1193,6 +1200,8 @@ export default {
discountRemark
:
this
.
discountForm
.
discountRemark
,
orderNo
:
this
.
selectListRow
.
orderNo
,
orderId
:
this
.
selectListRow
.
orderId
,
taxPoint
:
this
.
selectListRow
.
taxPoint
,
taxAmount
:
this
.
selectListRow
.
taxAmount
,
}
updateReceivableDiscountById
(
params
).
then
(
res
=>
{
if
(
this
.
selectListRow
.
discountTotal
)
{
...
...
@@ -1251,7 +1260,11 @@ export default {
submitForm
(
addType
)
{
const
params
=
{...
this
.
form
}
params
.
addType
=
addType
this
.
$refs
[
"
form
"
].
validate
((
valid
,
errors
)
=>
{
if
(
!
valid
)
{
return
this
.
$showFormValidateErrors
(
errors
)
}
}
)
// params.receiptAccountList = params.receiptAccountList.map(v => Object.assign(v,
{
}
))
if
(
this
.
list
&&
this
.
list
.
length
>
0
)
{
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
493fb359
...
...
@@ -336,7 +336,7 @@
<
el
-
select
v
-
if
=
"
!isView
"
v
-
model
=
"
addForm.accountId
"
:
placeholder
=
"
$t('请选择收款账户')
"
style
=
"
width: 220px
"
@
change
=
"
accountChange
"
>
<
el
-
option
v
-
for
=
"
item in bankData
"
:
key
=
"
item.id
"
:
label
=
"
item.baAccountName + '(' + item.baAccountNum + ')'
"
:
value
=
"
item.id
"
/>
<
/el-select
>
<
span
v
-
else
>
{{
addForm
.
accountNo
}}
<
/span
>
<
span
v
-
else
>
{{
addForm
.
accountNo
+
'
(
'
+
addForm
.
accountName
+
'
)
'
}}
<
/span
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('实收日期')
"
...
...
src/views/ecw/financial/voucher.vue
View file @
493fb359
...
...
@@ -118,7 +118,7 @@
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
查看
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state === 0
|| scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3|| scope.row.state == 8
"
v
-
if
=
"
scope.row.state === 0
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:edit']
"
...
...
@@ -189,7 +189,7 @@
>
{{
$t
(
'
开票
'
)
}}
<
/el-butto
n
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3
"
v
-
hasPermi
=
"
['ecw:voucher:payment']
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
收款
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
[0,1,8].indexOf(scope.row.state) > -1
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:delete']
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 0
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:delete']
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state != 0 && scope.row.state != 7 && scope.row.state != 11 && scope.row.state != 8 && scope.row.state != 9
"
size
=
"
mini
"
...
...
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