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
26cd29c3
Commit
26cd29c3
authored
Dec 15, 2022
by
21471731
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
租赁物导入调整19
parent
5865ce8f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
con_contract_get_layout_code.lview
...pp/modules/cont/CON500/con_contract_get_layout_code.lview
+5
-0
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+7
-4
prj_project_lease_import_details.lview
...odules/prj/PRJ501N/prj_project_lease_import_details.lview
+0
-2
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+2
-0
No files found.
src/main/webapp/modules/cont/CON500/con_contract_get_layout_code.lview
View file @
26cd29c3
...
...
@@ -84,6 +84,11 @@
if (list_ds) {
$(list_ds).query();
}
}else if(param['function_code']=='PRJ501INC'){
if (list_ds) {
$(list_ds).query();
}
Leaf.showMessage('提示信息', '租赁物信息发生变化,请重新进行报价');
}
else{
if (list_ds) {
...
...
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
26cd29c3
...
...
@@ -64,6 +64,13 @@
<script
type=
"text/javascript"
>
<![CDATA[
// alert('${/parameter/@division}')
//add by zhuxianfei
Leaf.onReady(function() {
if(division!='30' && division!='50'){
var gridId= 'PROJECT_CREATE_NP_G_LEASE_HEAD_CAR_prj_project_lease_item_layout_grid_id';
$(gridId).hideColumn('machine_number_n');
}
});
window['${/parameter/@layout_code}_quote_layout_dynamic_click'] = function () {
var url;
...
...
@@ -1075,10 +1082,6 @@
var lease_item_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
if(lease_item_ds_id == ds.id
&&
lease_item_ds_id){
var gridId= ds.bindname+'_layout_grid_id';
//隐藏超链接
if(division!='30'
&&
division!='50'){
$(gridId).hideColumn('machine_number_n');
}
if(division=='70'){
if(record!=''){
record.getField('lease_name_n').setRequired(true);
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_lease_import_details.lview
View file @
26cd29c3
...
...
@@ -189,8 +189,6 @@
},
success:
function()
{
$(ds_id).query();
Leaf.showMessage('提示信息',
'租赁物信息发生变化,请重新进行报价');
},
error:
function()
{
},
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
26cd29c3
...
...
@@ -1599,6 +1599,7 @@
var
total_price=
records.get('total_price');
var
lease_item_amount=
record.get('lease_item_amount');
var
residual_value=
record.get('residual_value');
debugger;
var
q_value=
'${/model/residual_value/record/@residual_value}'
;
if(total_price!=lease_item_amount
&&total_price!=null){
Leaf.showMessage('${l:PROMPT}',
'支付计划页面“设备价格”字段值与租赁物明细“设备单价(总)”合计不相等,无法进行提交!');
...
...
@@ -1659,6 +1660,7 @@
var
lease_item_amount=
record.get('lease_item_amount');
var
residual_value=
record.get('residual_value');
var
q_value=
'${/model/residual_value/record/@residual_value}'
;
debugger;
if(total_price!=lease_item_amount
&&total_price!=null){
Leaf.showMessage('${l:PROMPT}',
'支付计划页面“设备价格”字段值与租赁物明细“设备单价(总)”合计不相等,无法进行提交!');
return;
...
...
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