Commit f3233ce3 by qiaoyanqi

加hideButtonGroup属性

parent a29f1257
...@@ -10,7 +10,7 @@ export default { ...@@ -10,7 +10,7 @@ export default {
for (const key in filterFieldObj) { for (const key in filterFieldObj) {
let extrConditionObj = { name: filterFieldObj[key] } let extrConditionObj = { name: filterFieldObj[key] }
let value = bill.getMasterData().getValue(key) let value = bill.getMasterData().getValue(key)
extrConditionObj.values = await getExtrConditionObjValue(value), extrConditionObj.values = await getExtrConditionObjValue(value)
extrConditionObj.type = getExtrConditionObjType(value) extrConditionObj.type = getExtrConditionObjType(value)
extrConditions.push(extrConditionObj) extrConditions.push(extrConditionObj)
} }
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
:id="billId" :id="billId"
:type="billId ? 'load' : 'init'" :type="billId ? 'load' : 'init'"
:state="state" :state="state"
:hideButtonGroup="hideButtonGroup"
@loadFinish="loadFinishFun" @loadFinish="loadFinishFun"
></gms-bill-form> ></gms-bill-form>
</div> </div>
...@@ -32,6 +33,7 @@ export default { ...@@ -32,6 +33,7 @@ export default {
templateName: "", templateName: "",
init:true, init:true,
curTagId: null, curTagId: null,
hideButtonGroup:false
}; };
}, },
created() { created() {
...@@ -39,6 +41,7 @@ export default { ...@@ -39,6 +41,7 @@ export default {
this.billId = this.config.id; this.billId = this.config.id;
this.state = this.config.state || ''; this.state = this.config.state || '';
this.templateName = this.config.templateName || this.config.name; this.templateName = this.config.templateName || this.config.name;
this.hideButtonGroup = this.config.hideButtonGroup || false;
}, },
mounted() { mounted() {
this.$portalAPI.on("resetBillData", this.changeData); this.$portalAPI.on("resetBillData", this.changeData);
......
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