Commit b56ba066 authored by TIANZHI.HU's avatar TIANZHI.HU

凭证导入bug修复 add by 39135 HuTianzhi

parent 5ae1736c
...@@ -147,8 +147,8 @@ ...@@ -147,8 +147,8 @@
var journal_type = records[0].get('journal_type'); var journal_type = records[0].get('journal_type');
param['wfl_type'] = journal_type; param['wfl_type'] = journal_type;
} }
//当属于工资工作模板工作流的单条凭证被提交时,wfl_type也要为 SALARIES //当属于工资工作模板工作流的单条或多条凭证被提交时,wfl_type也要为 SALARIES
if(records.length == 1 && is_salaries){ if(is_salaries){
param['wfl_type'] = 'SALARIES'; param['wfl_type'] = 'SALARIES';
} }
if ($(ds_id).validate()) { if ($(ds_id).validate()) {
......
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