Commit afbc2001 by 王聪

Merge branch 'develop-zhouyi' into 'develop'

fix(@gms/gms-plugin-billexpand): 选择单据不触发公式

See merge request GFP/RBC/rbc-frontend!146
parents 8862ac49 487e3933
...@@ -6,6 +6,7 @@ export default { ...@@ -6,6 +6,7 @@ export default {
let name = GMS.$hideContainer.addComponent(addInfoModal, {}, function (c) { let name = GMS.$hideContainer.addComponent(addInfoModal, {}, function (c) {
component = c; component = c;
c.masterFieldsObj={}; c.masterFieldsObj={};
if(param.param && param.param.masterFields){ if(param.param && param.param.masterFields){
param.param.masterFields.forEach(v=>{ param.param.masterFields.forEach(v=>{
v.fieldBillRelation.forEach(item=>{ v.fieldBillRelation.forEach(item=>{
...@@ -15,9 +16,12 @@ export default { ...@@ -15,9 +16,12 @@ export default {
}) })
}) })
} }
c.bill = bill; c.bill = bill;
c.actionParam = param; c.actionParam = param;
c.actionParam.param.viewArr.map(v=>v.title=v.title.split('[')[0]) c.actionParam.param.viewArr.map(v=>v.title=v.title.split('[')[0])
// 不知道这玩意哪来的,先用这个替代吧
c.actionParam.param.masterSubRelation = bill.getTableType('sub_table')
c.getAssetsModal(); c.getAssetsModal();
c.currentRowData = {}; c.currentRowData = {};
c.selectBill=''; c.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