Commit c55c28c9 by qiaoyanqi

主表映射关系 如果是空的就不赋值

parent b2bc6f6f
......@@ -237,7 +237,9 @@ export default {
obj.fieldBillRelation.forEach(v=>{
let field = bill.billdata.billTable.masterName + "." + v.originalField;
let value = this.masterFieldsObj[v.targetField];
if(value){//如果是空的就不赋值
bill.getMasterData().setValue(field,value);
}
})
}
},
......
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