Commit 85fecbe0 authored by stone's avatar stone

【fix】月结功能去掉部分月结的提示

parent 5df6675f
......@@ -356,19 +356,19 @@
var record = headers_ds.getAt(0);
//add by wdd 20180514
var income_ds = $('unearned_finance_income_ds');
var income_record = income_ds.getAll();
if (income_record.length) {
for (var i = 0; i < income_record.length; i++) {
var line_income_record = income_record[i];
var finance_income_recognized = line_income_record.get('finance_income_recognized');
if (finance_income_recognized == 'Y') {
Leaf.showMessage('提示', '该日收入已确认,请勿重复确认!', null, 250, 100);
return;
}
}
}
// var income_ds = $('unearned_finance_income_ds');
// var income_record = income_ds.getAll();
// if (income_record.length) {
// for (var i = 0; i < income_record.length; i++) {
// var line_income_record = income_record[i];
// var finance_income_recognized = line_income_record.get('finance_income_recognized');
// if (finance_income_recognized == 'Y') {
// Leaf.showMessage('提示', '该日收入已确认,请勿重复确认!', null, 250, 100);
// return;
// }
//
// }
// }
//end by wdd
year = record.get('period_name').substring(0, 4);
month = record.get('period_name').substring(5, 7);
......
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