Commit eff6a238 authored by panhong18943's avatar panhong18943

保证金时间价值补充修改

parent 264bc67e
......@@ -222,13 +222,17 @@
month = year + month;
//month = 202407;
if (records.length != 1) {
Leaf.showMessage('${l:PROMPT}', '请选择一条记录!');
return;
}
var record = $(ds_id).getSelected()[0];
if (Leaf.isEmpty(record.get('deposit_hd_id'))) {
Leaf.showMessage('${l:PROMPT}', '未计算的保证金时间价值的合同不可重算!');
return;
}
if (record.get('enable_calc_flag') == 'N'){
Leaf.showMessage('${l:HLS.PROMPT}', '是否计算保证金时间价值为“否”的单据不可发起重算');
return;
......
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