Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
hlcm
leaf-hlcm
Commits
06a6904f
Commit
06a6904f
authored
Nov 22, 2019
by
niminmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/发票创建修改' into develop
parents
3b97d348
8480700a
Pipeline
#3719
canceled with stages
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
acr_invoice_billing_object_lov.lwm
...INF/classes/acr/ACR510/acr_invoice_billing_object_lov.lwm
+1
-0
acr_invoice_condition_n.lview
.../webapp/modules/acr/ACR510N/acr_invoice_condition_n.lview
+8
-6
No files found.
src/main/webapp/WEB-INF/classes/acr/ACR510/acr_invoice_billing_object_lov.lwm
View file @
06a6904f
...
...
@@ -26,6 +26,7 @@
<bm:query-sql>
<![CDATA[
select v.contract_id,
v.bp_id,
v.bp_class,
v.bp_code,
v.bp_name,
v.bp_category,
...
...
src/main/webapp/modules/acr/ACR510N/acr_invoice_condition_n.lview
View file @
06a6904f
...
...
@@ -20,9 +20,10 @@
function validate_contractDs(record, name, value) {
if (name == 'object_tax_registry_num' || name == 'invoice_bp_address_phone_num' || name == 'invoice_bp_bank_account') {
if (Ext.isEmpty(value)) {
if (record.get('bill_object_bp_class') == 'NP' || record.get('object_taxpayer_type') == 'SMALL_SCALE_TAXPAYER' || record.get('tax_type_vat') != 'Y') {
//if (record.get('bill_object_bp_class') == 'NP' || record.get('object_taxpayer_type') == 'SMALL_SCALE_TAXPAYER' || record.get('tax_type_vat') != 'Y') {
if (record.get('bill_object_bp_class') == 'NP') {
return true;
} else {
} else
if (record.get('bill_object_bp_class') == 'ORG')
{
return '必输字段不能为空!';
}
}
...
...
@@ -247,6 +248,7 @@
<a:field
name=
"invoice_bp_bank_account"
validator=
"validate_contractDs"
prompt=
"开户行及账号"
/>
<a:field
name=
"billing_object_name"
lovGridHeight=
"300"
lovHeight=
"450"
lovLabelWidth=
"100"
lovService=
"acr.ACR510.acr_invoice_billing_object_lov"
lovWidth=
"650"
required=
"true"
title=
"ACR510.ACR_INVOICE_CONTRACT_V.BILLING_OBJECT_NAME"
>
<a:mapping>
<a:map
from=
"bp_class"
to=
"bill_object_bp_class"
/>
<a:map
from=
"bp_id"
to=
"billing_object_id"
/>
<a:map
from=
"bp_name"
to=
"billing_object_name"
/>
<a:map
from=
"invoice_title"
to=
"invoice_title"
/>
...
...
@@ -307,8 +309,8 @@
<a:tab
prompt=
"开票信息"
>
<a:grid
id=
"cashflowDs_grid"
bindTarget=
"ar510n_cashflow_ds"
marginHeight=
"170"
marginWidth=
"70"
navBar=
"true"
>
<a:columns>
<
a:column
name=
"invoice_type_desc"
prompt=
"发票类型"
/
>
<
a:column
name=
"object_taxpayer_type_desc"
prompt=
"纳税人类型"
/
>
<
!--<a:column name="invoice_type_desc" prompt="发票类型"/>--
>
<
!--<a:column name="object_taxpayer_type_desc" prompt="纳税人类型"/>--
>
<a:column
name=
"contract_number"
lock=
"true"
prompt=
"合同编号"
width=
"150"
/>
<a:column
name=
"invoice_title"
prompt=
"承租人"
/>
<a:column
name=
"bp_id_agent_level1"
prompt=
"代理店"
/>
...
...
@@ -339,8 +341,8 @@
<a:tab
prompt=
"抬头信息"
>
<a:grid
id=
"contractDs_grid"
bindTarget=
"ar510n_cashflow_ds"
marginHeight=
"170"
marginWidth=
"70"
navBar=
"true"
>
<a:columns>
<
a:column
name=
"invoice_type_desc"
prompt=
"发票类型"
/
>
<
a:column
name=
"object_taxpayer_type_desc"
prompt=
"纳税人类型"
/
>
<
!--<a:column name="invoice_type_desc" prompt="发票类型"/>--
>
<
!--<a:column name="object_taxpayer_type_desc" prompt="纳税人类型"/>--
>
<a:column
name=
"contract_number"
prompt=
"合同编号"
width=
"150"
/>
<a:column
name=
"contract_status_desc"
prompt=
"合同状态"
width=
"80"
/>
<a:column
name=
"billing_method_desc"
prompt=
"开票规则"
width=
"80"
/>
...
...
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