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

凭证工作流bug修复 add by 39135 HuTianzhi

parent 0eb146b1
...@@ -147,6 +147,10 @@ ...@@ -147,6 +147,10 @@
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
if(records.length == 1 && is_salaries){
param['wfl_type'] = 'SALARIES';
}
if ($(ds_id).validate()) { if ($(ds_id).validate()) {
Leaf.showConfirm('${l:HLS.PROMPT}', '是否确认提交审批?', function () { Leaf.showConfirm('${l:HLS.PROMPT}', '是否确认提交审批?', function () {
Leaf.Masker.mask(Ext.getBody(), '${l:HLS.EXECUTING}'); Leaf.Masker.mask(Ext.getBody(), '${l:HLS.EXECUTING}');
......
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