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
8445e5e4
Commit
8445e5e4
authored
Nov 25, 2019
by
niminmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]发票修改
parent
06a6904f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
22 deletions
+28
-22
pom.xml
pom.xml
+1
-1
acr_invoice_reverse.lview
src/main/webapp/modules/acr/ACR514/acr_invoice_reverse.lview
+27
-21
No files found.
pom.xml
View file @
8445e5e4
...
...
@@ -148,7 +148,7 @@
<dependency>
<groupId>
javax.activation
</groupId>
<artifactId>
activation
</artifactId>
<version>
1.
0.2
</version>
<version>
1.
1
</version>
</dependency>
</dependencies>
<build>
...
...
src/main/webapp/modules/acr/ACR514/acr_invoice_reverse.lview
View file @
8445e5e4
...
...
@@ -129,6 +129,12 @@
return;
}
}
for
(var
i =
0;i
<
records.length;i++)
{
if
(records[i].get('vat_interface_status')=='BACK')
{
Leaf.showMessage('${l:HLS.PROMPT}',
'单据号:'
+
records[i].get('document_number')
+
'金税状态已回写,不可反冲');
return;
}
}
for
(var
i =
0;i
<
records.length;i++)
{
records[i].getField('vat_red_notice_num').setRequired(false);
...
...
@@ -281,44 +287,44 @@
<!-- <a:toolbarButton click="acr514_invoice_reverse" text="HLS.REVERSE"/>-->
<a:toolbarButton
click=
"acr514_invoice_invalid"
text=
"作废"
/>
</a:screenTopToolbar>
<a:form
marginWidth=
"30"
padding=
"0"
title=
"应收发票反冲"
>
<a:hBox
labelSeparator=
"
"
>
<a:form
marginWidth=
"30"
padding=
"0"
title=
"应收发票反冲"
labelWidth=
"130"
>
<a:hBox
labelSeparator=
"
"
labelWidth=
"120
"
>
<a:textField
name=
"document_number_f"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"HLS.DOCUMENT_NUMBER_FROM"
width=
"135"
/>
<
div>
<![CDATA[${l:HLS.DOCUMENT_NUMBER_TO}]]>
</div
>
<a:textField
name=
"document_number_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
""
width=
"135"
/>
<
!--<div><![CDATA[${l:HLS.DOCUMENT_NUMBER_TO}]]></div>--
>
<a:textField
name=
"document_number_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"
合同编号到
"
width=
"135"
/>
<a:lov
name=
"project_number_f"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"HLS.PROJECT_NUMBER_FROM"
width=
"135"
/>
<
div>
<![CDATA[${l:HLS.DOCUMENT_NUMBER_TO}]]>
</div
>
<a:lov
name=
"project_number_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
""
width=
"135"
/>
<
!--<div><![CDATA[${l:HLS.DOCUMENT_NUMBER_TO}]]></div>--
>
<a:lov
name=
"project_number_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"
申请编号到
"
width=
"135"
/>
<a:comboBox
name=
"business_type_desc"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"HLS.BUSINESS_TYPE_DESC"
width=
"135"
/>
<a:comboBox
name=
"currency_name"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"HLS.CURRENCY"
width=
"135"
/>
</a:hBox>
<a:hBox
labelSeparator=
"
"
>
<a:hBox
labelSeparator=
"
"
labelWidth=
"120
"
>
<a:textField
name=
"invoice_number_f"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR.INVOICE_NUMBER_FROM"
width=
"135"
/>
<
div>
<![CDATA[${l:ACR.INVOICE_NUMBER_TO}]]>
</div
>
<a:textField
name=
"invoice_number_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
""
width=
"135"
/>
<
!--<div><![CDATA[${l:ACR.INVOICE_NUMBER_TO}]]></div>--
>
<a:textField
name=
"invoice_number_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"
发票编号到
"
width=
"135"
/>
<a:lov
name=
"contract_number_f"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"HLS.CONTRACT_NUMBER_FROM"
width=
"135"
/>
<
div>
<![CDATA[${l:HLS.CONTRACT_NUMBER_TO}]]>
</div
>
<a:lov
name=
"contract_number_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
""
width=
"135"
/>
<
!--<div><![CDATA[${l:HLS.CONTRACT_NUMBER_TO}]]></div>--
>
<a:lov
name=
"contract_number_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"
合同编号到
"
width=
"135"
/>
<a:comboBox
name=
"invoice_kind_desc"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR.INVOICE_KIND"
width=
"135"
/>
<a:lov
name=
"created_by_name"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR.CREATED_BY_NAME"
width=
"135"
/>
</a:hBox>
<a:hBox
labelSeparator=
"
"
>
<a:hBox
labelSeparator=
"
"
labelWidth=
"120
"
>
<a:datePicker
name=
"invoice_date_f"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR.INVOICE_DATE_FROM"
width=
"135"
/>
<
div>
<![CDATA[${l:ACR.INVOICE_DATE_TO}]]>
</div
>
<a:datePicker
name=
"invoice_date_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
""
width=
"135"
/>
<
!--<div><![CDATA[${l:ACR.INVOICE_DATE_TO}]]></div>--
>
<a:datePicker
name=
"invoice_date_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"
发票日期到
"
width=
"135"
/>
<a:lov
name=
"invoice_bp_code_f"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"HLS.CUSTOMER_NUMBER_FROM"
width=
"135"
/>
<
div>
<![CDATA[${l:HLS.CUSTOMER_NUMBER_TO}]]>
</div
>
<a:lov
name=
"invoice_bp_code_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
""
width=
"135"
/>
<
!--<div><![CDATA[${l:HLS.CUSTOMER_NUMBER_TO}]]></div>--
>
<a:lov
name=
"invoice_bp_code_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"
客户编号到
"
width=
"135"
/>
<a:textField
name=
"invoice_title"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR.INVOICE_TITLE"
width=
"135"
/>
<a:lov
name=
"confirmed_by_name"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR.CHECKER"
width=
"135"
/>
</a:hBox>
<a:hBox
labelSeparator=
" "
>
<a:hBox>
<a:datePicker
name=
"accounting_date_f"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"HLS.ACCOUNT_DATE_FROM"
width=
"135"
/>
<
div>
<![CDATA[${l:HLS.ACCOUNT_DATE_TO}]]>
</div
>
<a:datePicker
name=
"accounting_date_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
""
width=
"135"
/>
<
!--<div><![CDATA[${l:HLS.ACCOUNT_DATE_TO}]]></div>--
>
<a:datePicker
name=
"accounting_date_t"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"
记账日期到
"
width=
"135"
/>
<a:numberField
name=
"total_amount_f"
allowFormat=
"true"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR.TOTAL_AMOUNT_FROM"
width=
"135"
/>
<
div>
<![CDATA[${l:ACR.TOTAL_AMOUNT_TO}]]>
</div
>
<a:numberField
name=
"total_amount_t"
allowFormat=
"true"
bindTarget=
"acr514_invoice_query_ds"
prompt=
""
width=
"135"
/>
<
!--<div><![CDATA[${l:ACR.TOTAL_AMOUNT_TO}]]></div>--
>
<a:numberField
name=
"total_amount_t"
allowFormat=
"true"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"
发票金额到
"
width=
"135"
/>
<a:comboBox
name=
"invoice_status_desc"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR.INVOICE_STATUS"
width=
"135"
/>
<a:comboBox
name=
"vat_interface_status_desc"
bindTarget=
"acr514_invoice_query_ds"
prompt=
"ACR310.VAT_INTERFACE_STATUS_NAME"
width=
"135"
/>
</a:hBox>
...
...
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