Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
99422c7b
Commit
99422c7b
authored
Oct 26, 2021
by
季圣华
Browse files
给财务单据增加财务人员的快捷录入
parent
7727fd5a
Changes
7
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/financial/mixins/FinancialModalMixin.js
View file @
99422c7b
...
...
@@ -162,6 +162,11 @@ export const FinancialModalMixin = {
this
.
$refs
.
accountModalForm
.
title
=
"
新增结算账户
"
;
this
.
$refs
.
accountModalForm
.
disableSubmit
=
false
;
},
addPerson
()
{
this
.
$refs
.
personModalForm
.
add
();
this
.
$refs
.
personModalForm
.
title
=
"
新增经手人
"
;
this
.
$refs
.
personModalForm
.
disableSubmit
=
false
;
},
vendorModalFormOk
()
{
this
.
initSupplier
()
},
...
...
@@ -171,6 +176,9 @@ export const FinancialModalMixin = {
accountModalFormOk
()
{
this
.
initAccount
()
},
personModalFormOk
()
{
this
.
initPerson
()
},
//单元值改变一个字符就触发一次
onValueChange
(
event
)
{
let
that
=
this
...
...
jshERP-web/src/views/financial/modules/AdvanceInModal.vue
View file @
99422c7b
...
...
@@ -29,6 +29,12 @@
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"财务人员"
>
<a-select
placeholder=
"选择财务人员"
v-decorator=
"[ 'handsPersonId', validatorRules.handsPersonId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
<v-nodes
:vnodes=
"menu"
/>
<a-divider
style=
"margin: 4px 0;"
/>
<div
style=
"padding: 4px 8px; cursor: pointer;"
@
mousedown=
"e => e.preventDefault()"
@
click=
"addPerson"
><a-icon
type=
"plus"
/>
新增经手人
</div>
</div>
<a-select-option
v-for=
"(item,index) in personList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
...
...
@@ -88,10 +94,12 @@
</a-row>
</a-form>
</a-spin>
<person-modal
ref=
"personModalForm"
@
ok=
"personModalFormOk"
></person-modal>
</j-modal>
</
template
>
<
script
>
import
pick
from
'
lodash.pick
'
import
PersonModal
from
'
../../system/modules/PersonModal
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
FinancialModalMixin
}
from
'
../mixins/FinancialModalMixin
'
...
...
@@ -101,8 +109,13 @@
name
:
"
AdvanceInModal
"
,
mixins
:
[
JEditableTableMixin
,
FinancialModalMixin
],
components
:
{
PersonModal
,
JUpload
,
JDate
JDate
,
VNodes
:
{
functional
:
true
,
render
:
(
h
,
ctx
)
=>
ctx
.
props
.
vnodes
,
}
},
data
()
{
return
{
...
...
jshERP-web/src/views/financial/modules/GiroModal.vue
View file @
99422c7b
...
...
@@ -19,6 +19,12 @@
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"财务人员"
>
<a-select
placeholder=
"选择财务人员"
v-decorator=
"[ 'handsPersonId', validatorRules.handsPersonId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
<v-nodes
:vnodes=
"menu"
/>
<a-divider
style=
"margin: 4px 0;"
/>
<div
style=
"padding: 4px 8px; cursor: pointer;"
@
mousedown=
"e => e.preventDefault()"
@
click=
"addPerson"
><a-icon
type=
"plus"
/>
新增经手人
</div>
</div>
<a-select-option
v-for=
"(item,index) in personList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
...
...
@@ -92,11 +98,13 @@
</a-form>
</a-spin>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<person-modal
ref=
"personModalForm"
@
ok=
"personModalFormOk"
></person-modal>
</j-modal>
</
template
>
<
script
>
import
pick
from
'
lodash.pick
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
PersonModal
from
'
../../system/modules/PersonModal
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
FinancialModalMixin
}
from
'
../mixins/FinancialModalMixin
'
...
...
@@ -107,6 +115,7 @@
mixins
:
[
JEditableTableMixin
,
FinancialModalMixin
],
components
:
{
AccountModal
,
PersonModal
,
JUpload
,
JDate
,
VNodes
:
{
...
...
jshERP-web/src/views/financial/modules/ItemInModal.vue
View file @
99422c7b
...
...
@@ -29,6 +29,12 @@
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"财务人员"
>
<a-select
placeholder=
"选择财务人员"
v-decorator=
"[ 'handsPersonId', validatorRules.handsPersonId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
<v-nodes
:vnodes=
"menu"
/>
<a-divider
style=
"margin: 4px 0;"
/>
<div
style=
"padding: 4px 8px; cursor: pointer;"
@
mousedown=
"e => e.preventDefault()"
@
click=
"addPerson"
><a-icon
type=
"plus"
/>
新增经手人
</div>
</div>
<a-select-option
v-for=
"(item,index) in personList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
...
...
@@ -100,11 +106,13 @@
</a-form>
</a-spin>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<person-modal
ref=
"personModalForm"
@
ok=
"personModalFormOk"
></person-modal>
</j-modal>
</
template
>
<
script
>
import
pick
from
'
lodash.pick
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
PersonModal
from
'
../../system/modules/PersonModal
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
FinancialModalMixin
}
from
'
../mixins/FinancialModalMixin
'
...
...
@@ -115,6 +123,7 @@
mixins
:
[
JEditableTableMixin
,
FinancialModalMixin
],
components
:
{
AccountModal
,
PersonModal
,
JUpload
,
JDate
,
VNodes
:
{
...
...
jshERP-web/src/views/financial/modules/ItemOutModal.vue
View file @
99422c7b
...
...
@@ -29,6 +29,12 @@
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"财务人员"
>
<a-select
placeholder=
"选择财务人员"
v-decorator=
"[ 'handsPersonId', validatorRules.handsPersonId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
<v-nodes
:vnodes=
"menu"
/>
<a-divider
style=
"margin: 4px 0;"
/>
<div
style=
"padding: 4px 8px; cursor: pointer;"
@
mousedown=
"e => e.preventDefault()"
@
click=
"addPerson"
><a-icon
type=
"plus"
/>
新增经手人
</div>
</div>
<a-select-option
v-for=
"(item,index) in personList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
...
...
@@ -100,11 +106,13 @@
</a-form>
</a-spin>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<person-modal
ref=
"personModalForm"
@
ok=
"personModalFormOk"
></person-modal>
</j-modal>
</
template
>
<
script
>
import
pick
from
'
lodash.pick
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
PersonModal
from
'
../../system/modules/PersonModal
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
FinancialModalMixin
}
from
'
../mixins/FinancialModalMixin
'
...
...
@@ -115,6 +123,7 @@
mixins
:
[
JEditableTableMixin
,
FinancialModalMixin
],
components
:
{
AccountModal
,
PersonModal
,
JUpload
,
JDate
,
VNodes
:
{
...
...
jshERP-web/src/views/financial/modules/MoneyInModal.vue
View file @
99422c7b
...
...
@@ -35,6 +35,12 @@
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"财务人员"
>
<a-select
placeholder=
"选择财务人员"
v-decorator=
"[ 'handsPersonId', validatorRules.handsPersonId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
<v-nodes
:vnodes=
"menu"
/>
<a-divider
style=
"margin: 4px 0;"
/>
<div
style=
"padding: 4px 8px; cursor: pointer;"
@
mousedown=
"e => e.preventDefault()"
@
click=
"addPerson"
><a-icon
type=
"plus"
/>
新增经手人
</div>
</div>
<a-select-option
v-for=
"(item,index) in personList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
...
...
@@ -128,6 +134,7 @@
<debt-bill-list
ref=
"debtBillList"
@
ok=
"debtBillListOk"
></debt-bill-list>
<customer-modal
ref=
"customerModalForm"
@
ok=
"customerModalFormOk"
></customer-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<person-modal
ref=
"personModalForm"
@
ok=
"personModalFormOk"
></person-modal>
</j-modal>
</
template
>
<
script
>
...
...
@@ -135,6 +142,7 @@
import
DebtBillList
from
'
../dialog/DebtBillList
'
import
CustomerModal
from
'
../../system/modules/CustomerModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
PersonModal
from
'
../../system/modules/PersonModal
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
FinancialModalMixin
}
from
'
../mixins/FinancialModalMixin
'
...
...
@@ -147,6 +155,7 @@
DebtBillList
,
CustomerModal
,
AccountModal
,
PersonModal
,
JUpload
,
JDate
,
VNodes
:
{
...
...
jshERP-web/src/views/financial/modules/MoneyOutModal.vue
View file @
99422c7b
...
...
@@ -35,6 +35,12 @@
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"财务人员"
>
<a-select
placeholder=
"选择财务人员"
v-decorator=
"[ 'handsPersonId', validatorRules.handsPersonId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
<v-nodes
:vnodes=
"menu"
/>
<a-divider
style=
"margin: 4px 0;"
/>
<div
style=
"padding: 4px 8px; cursor: pointer;"
@
mousedown=
"e => e.preventDefault()"
@
click=
"addPerson"
><a-icon
type=
"plus"
/>
新增经手人
</div>
</div>
<a-select-option
v-for=
"(item,index) in personList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
...
...
@@ -128,6 +134,7 @@
<debt-bill-list
ref=
"debtBillList"
@
ok=
"debtBillListOk"
></debt-bill-list>
<vendor-modal
ref=
"vendorModalForm"
@
ok=
"vendorModalFormOk"
></vendor-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<person-modal
ref=
"personModalForm"
@
ok=
"personModalFormOk"
></person-modal>
</j-modal>
</
template
>
<
script
>
...
...
@@ -135,6 +142,7 @@
import
DebtBillList
from
'
../dialog/DebtBillList
'
import
VendorModal
from
'
../../system/modules/VendorModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
PersonModal
from
'
../../system/modules/PersonModal
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
FinancialModalMixin
}
from
'
../mixins/FinancialModalMixin
'
...
...
@@ -147,6 +155,7 @@
DebtBillList
,
VendorModal
,
AccountModal
,
PersonModal
,
JUpload
,
JDate
,
VNodes
:
{
...
...
Write
Preview
Supports
Markdown
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