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
30119f06
Commit
30119f06
authored
Dec 18, 2019
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]修改bug
parent
08c1e16d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
2 deletions
+35
-2
project_create_np_t_invoice_info_queryfields.js
...outconfig/project_create_np_t_invoice_info_queryfields.js
+7
-0
project_wfl_np_t_invoice_info_queryfields.js
...layoutconfig/project_wfl_np_t_invoice_info_queryfields.js
+7
-0
con350_insurance_import.lview
.../webapp/modules/cont/CON350/con350_insurance_import.lview
+1
-1
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+20
-1
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/project_create_np_t_invoice_info_queryfields.js
0 → 100644
View file @
30119f06
var
add_datafilters
=
[
{
name
:
'project_id'
,
expression
:
"t1.project_id=${@project_id}"
}
];
add_datafilter
();
src/main/webapp/WEB-INF/server-script/layoutconfig/project_wfl_np_t_invoice_info_queryfields.js
0 → 100644
View file @
30119f06
var
add_datafilters
=
[
{
name
:
'project_id'
,
expression
:
"t1.project_id=${@project_id}"
}
];
add_datafilter
();
src/main/webapp/modules/cont/CON350/con350_insurance_import.lview
View file @
30119f06
...
...
@@ -196,7 +196,7 @@
<a:column
name=
"real_insurance_date"
renderer=
"Leaf.formatDate"
prompt=
"保险起始日"
width=
"120"
editor=
"edit_date"
/>
<a:column
name=
"insurance_end_date"
renderer=
"Leaf.formatDate"
prompt=
"保单到期日"
width=
"120"
editor=
"edit_date"
/>
<a:column
name=
"insurance_fee"
prompt=
"保险费"
width=
"120"
editor=
"edit_number"
renderer=
"Leaf.formatMoney"
align=
"right"
/>
<a:column
name=
"insurance_rate"
prompt=
"保险费率(%)"
width=
"120"
editor=
"edit_number"
renderer=
"Leaf.formatMoney
"
/>
<a:column
name=
"insurance_rate"
prompt=
"保险费率(%)"
width=
"120"
editor=
"edit_number"
align=
"center
"
/>
<a:column
name=
"ins_company"
prompt=
"保险公司"
width=
"120"
editor=
"edit_text"
/>
<!-- <a:column name="attachment_file" prompt="附件" width="120" renderer="receipt_attachment_upload" align="center"/>-->
<!-- <a:column name="err_message" prompt="错误信息" width="230"/>-->
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
30119f06
...
...
@@ -53,11 +53,12 @@
model=
"prj.PRJ505.prj_project_create_contract"
modelaction=
"execute"
/>
<a:link
id=
"prj_approval_link_id"
model=
"prj.PRJ501N.project_approval"
modelaction=
"update"
/>
<a:link
id=
"check_prj_lease_item_link_id"
model=
"prj.PRJ501N.project_approval"
modelaction=
"execute"
/>
<script
src=
"${/request/@context_path}/javascripts/jquery-1.6.4.min.js"
type=
"text/javascript"
/>
<!--<link href="${/request/@context_path}/css/lightbox.css" rel="stylesheet" type="text/css"/>
<script src="${/request/@context_path}/javascripts/lightbox.js" type="text/javascript"/>-->
<script
type=
"text/javascript"
>
<![CDATA[
jQuery.noConflict();
window['${/parameter/@layout_code}_user_button5_layout_dynamic_click'] = function () {
Leaf.showConfirm('提示', '是否确认生成合同?', function () {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project');
...
...
@@ -595,6 +596,10 @@ function prj501n_contract_number_renderer(id, name, query_only){
$(bp_ds_id).query();
var quotation_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_quotation');
$(quotation_ds_id).query();
var billing_ds_id=get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'prj_project_bp');
console.log('${/parameter/@project_id}');
$(billing_ds_id).setQueryParameter("project_id",'${/parameter/@project_id}');
$(billing_ds_id).query();
})
//序号自增 add by lijingjing
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_add'] = function(ds, record, config_records, bp_seq) {
...
...
@@ -615,8 +620,22 @@ function prj501n_contract_number_renderer(id, name, query_only){
}
var
rk_value =
seq_num
+
1;
record.set('lease_item_seq',
rk_value);
}
};
//indexchange事件(grid,attach,gridbox,table)
//
window['${/parameter/@layout_code}_on_layout_dynamic_grid_indexchange']
=
function(ds,
record,
bp_seq)
{
//
if(!record.get('pattern')){
//
//
var
nodes=
document.querySelectorAll('td[dataindex="machine_number"]');
//
//
var
nodes=
document.getElementsByClassName('cell-editor-div');
//
for
(var
i=
1;i<nodes.length;i++){
//
nodes[i].children[0]
.style.backgroundColor=
"#FAFACD"
;
//
}
//
//
$('.cell-editor-div').parent().css("background-color","yellow");
//
}
//
};
//客户评分
window['${/parameter/@layout_code}_user_button9_layout_dynamic_click']
=
function()
{
...
...
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