Commit a604da98 authored by 邓乾隆's avatar 邓乾隆

铁甲业务产品线描述校验提示修改为二手机业务

parent 0533a64a
......@@ -294,8 +294,14 @@
<a:record code_value="30" code_value_name="高空作业车"/>
<a:record code_value="40" code_value_name="其它"/>
<a:record code_value="50" code_value_name="星邦高空作业车"/>
<a:record code_value="90" code_value_name="租赁二手机"/>
<!--<a:record code_value="90" code_value_name="租赁二手机"/>-->
<a:record code_value="90" code_value_name="租赁二手机(日立)"/>
<a:record code_value="91" code_value_name="神钢建机"/>
<a:record code_value="92" code_value_name="北京心诚"/>
<a:record code_value="99" code_value_name="工程机械"/>
<a:record code_value="80" code_value_name="叉车"/>
<!--<a:record code_value="70" code_value_name="铁甲业务"/>-->
<a:record code_value="70" code_value_name="二手机业务"/>
<a:record code_value="92" code_value_name="北京卡家"/>
</a:datas>
</a:dataSet>
......@@ -522,7 +528,7 @@
<a:comboBox bindTarget="allConditionDs" name="invoice_method_n" prompt="开票方式"/>
<a:comboBox bindTarget="allConditionDs" name="division_n" prompt="租赁物"/>
<a:comboBox bindTarget="allConditionDs" name="invoice_type_n" prompt="开票类型"/>
<a:comboBox bindTarget="allConditionDs" name="rl_flag_n" prompt="是否日立返还金"/>
<a:comboBox bindTarget="allConditionDs" name="rl_flag_n" prompt="是否日立为优质客户付租金"/>
</a:hBox>
<a:hBox>
<a:comboBox bindTarget="allConditionDs" name="billing_status_n" prompt="开票状态"/>
......
......@@ -611,7 +611,8 @@
if ($(ds_id).validate()) {
if('${/model/wfl_status/record/@mar_status}' != 'Y'){
if(record.get('division')=='70'&&record.get('write_off_amount')<record.get('customer_margin')){
Leaf.showMessage('${l:PROMPT}', '铁甲业务需要保证金入账后才能起租');
// Leaf.showMessage('${l:PROMPT}', '铁甲业务需要保证金入账后才能起租');
Leaf.showMessage('${l:PROMPT}', '二手机业务需要保证金入账后才能起租');
return;
}
}
......
......@@ -202,9 +202,11 @@
<a:checkBox name="lease_name30" bindTarget="contract_sales_report_ds" prompt="高空作业车"/>
<a:checkBox name="lease_name50" bindTarget="contract_sales_report_ds" prompt="星邦高空作业车"/>
<a:checkBox name="lease_name60" bindTarget="contract_sales_report_ds" prompt="新业务"/>
<a:checkBox name="lease_name70" bindTarget="contract_sales_report_ds" prompt="铁甲业务"/>
<!-- <a:checkBox name="lease_name70" bindTarget="contract_sales_report_ds" prompt="铁甲业务"/>-->
<a:checkBox name="lease_name70" bindTarget="contract_sales_report_ds" prompt="二手机业务"/>
<a:checkBox name="lease_name80" bindTarget="contract_sales_report_ds" prompt="叉车"/>
<a:checkBox name="lease_name90" bindTarget="contract_sales_report_ds" prompt="租赁二手机"/>
<!-- <a:checkBox name="lease_name90" bindTarget="contract_sales_report_ds" prompt="租赁二手机"/>-->
<a:checkBox name="lease_name90" bindTarget="contract_sales_report_ds" prompt="租赁二手机(日立)"/>
<a:checkBox name="lease_name40" bindTarget="contract_sales_report_ds" prompt="其它"/>
<a:checkBox name="lease_name91" bindTarget="contract_sales_report_ds" prompt="神钢建机"/>//addby xsh35973 20221011 I-12357新增产品线
<a:checkBox name="lease_name92" bindTarget="contract_sales_report_ds" prompt="北京卡家"/>
......
......@@ -117,7 +117,8 @@
}
if(record.get('division') == '70' && ccr_document_type == 'LEASE_CHAG'){
//if(record.get('division') == '70' &&(ccr_document_type == 'LEASE_CHAG' ||ccr_document_type == 'CUT_CHAG')){
Leaf.showErrorMessage('${l:PROMPT}', '铁甲业务无法操作此项变更!');
// Leaf.showErrorMessage('${l:PROMPT}', '铁甲业务无法操作此项变更!');
Leaf.showErrorMessage('${l:PROMPT}', '二手机业务无法操作此项变更!');
return;
}
if((record.get('division') != '70' && record.get('division') != '92') && ccr_document_type == 'CCR_BEFORE_SIGN'){
......
......@@ -200,9 +200,11 @@
<a:checkBox name="lease_name50" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="星邦高空作业车"/>
<a:checkBox name="lease_name60" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="新业务"/>
<a:checkBox name="lease_name70" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="铁甲业务"/>
<!-- <a:checkBox name="lease_name70" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="铁甲业务"/>-->
<a:checkBox name="lease_name70" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="二手机业务"/>
<a:checkBox name="lease_name80" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="叉车"/>
<a:checkBox name="lease_name90" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="租赁二手机"/>
<!-- <a:checkBox name="lease_name90" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="租赁二手机"/>-->
<a:checkBox name="lease_name90" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="租赁二手机(日立)"/>
<a:checkBox name="lease_name40" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="其它"/>
<a:checkBox name="lease_name91" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="神钢建机"/>//addby xsh35973 20221011 I-12357新增产品线
<a:checkBox name="lease_name92" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="北京卡家"/>
......
......@@ -63,7 +63,8 @@
}
//对铁甲和非铁甲的校验 add 18943
if (a[i].get('division') != division) {
$L.showErrorMessage("提示", '铁甲业务合同和非铁甲业务合同不可同一批次申请,请确认!');
// $L.showErrorMessage("提示", '铁甲业务合同和非铁甲业务合同不可同一批次申请,请确认!');
$L.showErrorMessage("提示", '二手机业务合同和非二手机业务合同不可同一批次申请,请确认!');
return;
}
//暂时去掉
......
......@@ -54,12 +54,14 @@
var params = record.data;
var marAfterStatus= params.mar_after_status;
if(Ext.isEmpty(marAfterStatus)){
Leaf.showErrorMessage('提示', '修改后茂甲保证金校验状态不能为空!');
// Leaf.showErrorMessage('提示', '修改后茂甲保证金校验状态不能为空!');
Leaf.showErrorMessage('提示', '修改后二手机业务保证金校验状态不能为空!');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
if (marAfterStatus == '${/model/wfl_status/record/@mar_status}') {
Leaf.showErrorMessage('提示', '请选择与修改前茂甲保证金校验不同的状态');
if (marAfterStatus == '${/model/wfl_status/record/@mar_status}' || marAfterStatus == beforStatus) {
// Leaf.showErrorMessage('提示', '请选择与修改前茂甲保证金校验不同的状态');
Leaf.showErrorMessage('提示', '请选择与修改前二手机业务保证金校验不同的状态');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
......
......@@ -350,7 +350,7 @@
record.getField('agent_bs_area_level').setPropertity('validator', 'hls303_record_field_validator');
record.getField('validity_period_from').setPropertity('validator', 'hls303_record_field_validator');
record.getField('validity_period_to').setPropertity('validator', 'hls303_record_field_validator');
if(record.get('extra_nam')=='茂甲'||record.get('extra_nam')=='铁甲'){
if(record.get('extra_nam')=='茂甲'||record.get('extra_nam')=='铁甲' ||record.get('extra_nam')=='河南融投'){
record.getField('agent_phone').setRequired(true);
}
}
......
......@@ -63,7 +63,8 @@
var req_ln_records = req_ln_ds.getSelected();
var con_records = con_ds.getSelected();
if (req_ln_records.length == 0 || con_records.length > 0) {
Leaf.showMessage('${l:PROMPT}', '只能勾选铁甲付款单数据!');
// Leaf.showMessage('${l:PROMPT}', '只能勾选铁甲付款单数据!');
Leaf.showMessage('${l:PROMPT}', '只能勾选二手机业务付款单数据!');
return;
}
new Leaf.Window({
......@@ -90,7 +91,8 @@
var req_ln_records = req_ln_ds.getSelected();
var con_records = con_ds.getSelected();
if (req_ln_records.length == 0 || con_records.length > 0) {
Leaf.showMessage('${l:PROMPT}', '只能勾选铁甲付款单数据!');
//Leaf.showMessage('${l:PROMPT}', '只能勾选铁甲付款单数据!');
Leaf.showMessage('${l:PROMPT}', '只能勾选二手机业务付款单数据!');
return;
}
new Leaf.Window({
......
......@@ -44,7 +44,8 @@
var r_records = r_batch_ds.getSelected();
if (records.length != 0 && r_records.length != 0) {
Leaf.showMessage('${l:PROMPT}', '不能同时选择铁甲付款单和退款付款单!');
// Leaf.showMessage('${l:PROMPT}', '不能同时选择铁甲付款单和退款付款单!');
Leaf.showMessage('${l:PROMPT}', '不能同时选择二手机业务付款单和退款付款单!');
return;
}
......@@ -118,7 +119,8 @@
var bank_item;
if (records.length != 0 && r_records.length != 0) {
Leaf.showMessage('${l:PROMPT}', '不能同时选择铁甲付款单和退款付款单!');
// Leaf.showMessage('${l:PROMPT}', '不能同时选择铁甲付款单和退款付款单!');
Leaf.showMessage('${l:PROMPT}', '不能同时选择二手机业务付款单和退款付款单!');
return;
}
......@@ -177,7 +179,8 @@
var r_records = r_batch_ds.getSelected();
if (records.length != 0 && r_records.length != 0) {
Leaf.showMessage('${l:PROMPT}', '不能同时选择铁甲付款单和退款付款单!');
//Leaf.showMessage('${l:PROMPT}', '不能同时选择铁甲付款单和退款付款单!');
Leaf.showMessage('${l:PROMPT}', '不能同时选择二手机业务付款单和退款付款单!');
return;
}
......
......@@ -32,7 +32,8 @@
var record = $(ds_id).getCurrentRecord();
if(record.data.division=='70'&&record.data.business_type!='LEASEBACK'){
debugger;
$L.showErrorMessage("提示", '租赁物为铁甲业务的业务类型只能是售后回租!');
// $L.showErrorMessage("提示", '租赁物为铁甲业务的业务类型只能是售后回租!');
$L.showErrorMessage("提示", '租赁物为二手机业务的业务类型只能是售后回租!');
return false;
}
if(record.data.division=='92'&&record.data.business_type!='LEASEBACK'){
......
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