Commit 7983e306 by Joey

fix(@gms/gms-plugin-billexpand): 单据加载完后报错导致没有oldbilldata

parent b0521afa
...@@ -231,7 +231,13 @@ export default { ...@@ -231,7 +231,13 @@ export default {
}, 100); }, 100);
}, },
setFieldFromMaster(bill){ setFieldFromMaster(bill){
if(!this.actionParam.param.masterFields) return if(
!this.actionParam
|| !this.actionParam.param
|| !this.actionParam.param.masterFields
) {
return
}
let obj = this.actionParam.param.masterFields.find( let obj = this.actionParam.param.masterFields.find(
(v) => v.billName == this.selectBill (v) => v.billName == this.selectBill
); );
......
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