Commit 9dab5efb by 乔延琦

Merge branch 'develop-yuancheng' into 'develop'

Develop yuancheng

See merge request GFP/RBC/rbc-frontend!46
parents cba4ad8a 07b465ab
......@@ -17,6 +17,7 @@
:id="billId"
:type="billId ? 'load' : 'init'"
:state="state"
:hideButtonGroup="hideButtonGroup"
@loadFinish="loadFinishFun"
v-if="init"
></gms-bill-form>
......@@ -39,6 +40,7 @@ export default {
isReadOnly: false,
billClass: null,
oldBillData: null,
hideButtonGroup: false
};
},
watch: {
......
......@@ -40,6 +40,14 @@ export default {
},
immediate: true
},
'tmpBill.$attrs.hideButtonGroup': {
handler(nv) {
if (nv) {
this.buttonShow = false
}
},
immediate: true
},
},
mounted() {
......
......@@ -702,7 +702,14 @@ export default {
"type": "field",
"title": "单据id",
"key": "billId"
}
},
{
"isRequired": true,
"ref": "columnField",
"type": "Boolean",
"title": "隐藏工具栏",
"key": "hideButton"
},
]
},
"description": "指定跳转页面,配置单据id和单据类型,通过在当前页签打开形式进行跳转",
......
......@@ -24,7 +24,8 @@ export default {
{
templateName: context.selects[0][param.viewName],
id: context.selects[0][param.billId],
state: 'readOnly'
state: 'readOnly',
hideButtonGroup: param.hideButton? true: false
},
{
openWay: "FUNCTAB",
......@@ -39,6 +40,7 @@ export default {
c.modal_visible = true;
c.isReadOnly = true
c.state = 'readOnly'
c.hideButtonGroup = param.hideButton? true: false
})
}
}
......
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