Commit fc31231a authored by congzhao's avatar congzhao

[建机]电子合同开发 试运行店铺条件添加以及取消签约按钮显示调整

parent 3d165d75
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: zc
$Date: 2021年1月5日 09点13分
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:e="leaf.service.exception" xmlns:o="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" needAccessControl="false">
<bm:fields>
<bm:field name="pilot_run_flag" databaseType="VARCHAR2" datatype="java.lang.String"/>
</bm:fields>
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT *
FROM (select 'N' pilot_run_flag,
su.user_id
from sys_user su
where su.user_name not in ('HAND'))
t1 #WHERE_CLAUSE#
]]></bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
......@@ -58,6 +58,7 @@
param['function_usage'] = 'QUERY';
//add by 24976
param['sign_contract_status'] = record.get('sign_contract_status');
param['contract_status'] = record.get('contract_status');
}
param['winid'] = 'con_contract_modify_win_id';
param['url_title'] = '${l:CON301.CONTRACT_DETAIL}';
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,7 +3,9 @@
2019-9-6 Spencer 3893 合同提前结清申请创建明细
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true">
<a:init-procedure/>
<a:init-procedure>
<a:model-query defaultWhereClause="t1.user_id=${/session/@user_id}" fetchAll="true" model="wx.WX100.sys_pilot_run_user" rootPath="pilot_run_user"/>
</a:init-procedure>
<a:view>
<a:link id="con_contract_repo_detail_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/>
<a:link id="con_et002_submit_link" model="cont.CON_ET001.submit_change_req" modelaction="execute"/>
......@@ -32,6 +34,9 @@
$(ds_con_id).setQueryParameter('contract_id', '${/parameter/@contract_id}');
$(ds_con_id).query();
}
if ('${/model/pilot_run_user/record/@pilot_run_flag}' == 'N'){
$('${/parameter/@layout_code}_user_button4').hide();
}
});
var calc_flag='N';
//新增和加载时调用form
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment