Commit 6dbd51a1 authored by 18083's avatar 18083

佣金资产管理费进项票税率自定义-资产管理费部分优化开发

parent 5402e77b
......@@ -45,11 +45,11 @@
}
}
if(Ext.isEmpty(records[i].data.vat_rate)||Ext.isEmpty(records[i].data.vat_rate_date)){
$L.showMessage("提示",'当前代理店未填写【进项票税率】/【进项票税率到期日】,请前往“租前管理-主数据管理-代理店管理”功能填写!');
$L.showMessage("提示",'当前代理店未填写进项票税率/进项票税率到期日,请前往“租前管理-主数据管理-代理店管理”功能填写!');
return;
}
if(Leaf.formatDate(records[i].data.vat_rate_date)<Leaf.formatDate(new Date())){
$L.showMessage("提示",'当前代理店的进项票税率到期日为'+Leaf.formatDate(records[i].data.vat_rate_date)+',请前往“租前管理-主数据管理-代理店管理”功能重新维护到期日!');
$L.showMessage("提示",'当前代理店的进项票税率到期日为'+Leaf.formatDate(records[i].data.vat_rate_date)+',请前往“租前管理-主数据管理-代理店管理”功能重新维护!');
return;
}
records[i].set('_status','execute');
......@@ -57,7 +57,7 @@
}
var vat_rate =records[0].get('vat_rate');
var vat_rate_date =Leaf.formatDate(records[0].get('vat_rate_date'));
Leaf.showConfirm('${l:PROMPT}', '当前代理店的进项票税率为'+vat_rate+',有效期到'+vat_rate_date+',确认提交资产管理费对账工作流?', function () {
Leaf.showConfirm('${l:PROMPT}', '当前代理店的进项票税率为'+vat_rate+'%,有效期到'+vat_rate_date+',<br/>确认提交资产管理费对账工作流?', function () {
Leaf.request({
url: $('asset_check_wfl_link_id').getUrl(),
para: ParaData,
......
......@@ -184,13 +184,22 @@
Leaf.showMessage('${l:PROMPT}', '代理店或佣金政策与所选合同不匹配,请重新查询后再选择数据提交审批');
return;
}
if(Ext.isEmpty(records[i].data.vat_rate)||Ext.isEmpty(records[i].data.vat_rate_date)){
$L.showMessage("提示",'当前代理店未填写进项票税率/进项票税率到期日,请前往“租前管理-主数据管理-代理店管理”功能填写!');
return;
}
if(Leaf.formatDate(records[i].data.vat_rate_date)<Leaf.formatDate(new Date())){
$L.showMessage("提示",'当前代理店的进项票税率到期日为'+Leaf.formatDate(records[i].data.vat_rate_date)+',请前往“租前管理-主数据管理-代理店管理”功能重新维护!');
return;
}
param.push({
'contract_id': records[i].get('contract_id')
});
}
Leaf.showConfirm('${l:HLS.PROMPT}', '是否确认提交审批?', function() {
var vat_rate =records[0].get('vat_rate');
var vat_rate_date =Leaf.formatDate(records[0].get('vat_rate_date'));
Leaf.showConfirm('${l:HLS.PROMPT}', '当前代理店的进项票税率为'+vat_rate+'%,有效期到'+vat_rate_date+',<br/>确认提交佣金计提工作流?', function() {
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
Leaf.request({
url: $('${/parameter/@layout_code}_submit_comsn_selected_link_id').getUrl(),
......
......@@ -567,11 +567,6 @@
return;
}
var comment_record = $('comment_text_ds').getCurrentRecord();
if (action_type == 1 && comment_record && !comment_record.get('comment_text')) {
//comment_record.set('comment_text', '同意');
}
var record_id = '${/parameter/@record_id}';
var comment_text = $('comment_text_id').getValue();
var wfl_ajax_flag = 'N';
......@@ -629,9 +624,6 @@
zjwfl5110_approvePage_noMask();
},300,showConfirmHight);
win.on('close', function() {
if (action_type == 1 && comment_record && comment_record.get('comment_text') == '同意') {
comment_record.set('comment_text', '');
}
if (wfl_ajax_flag == 'N') {
zjwfl5110_approvePage_noMask();
}
......
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