diff --git a/src/views/activiti/form/ProcessMaterialsAllotForm.vue b/src/views/activiti/form/ProcessMaterialsAllotForm.vue index 3afe154..59f4810 100644 --- a/src/views/activiti/form/ProcessMaterialsAllotForm.vue +++ b/src/views/activiti/form/ProcessMaterialsAllotForm.vue @@ -367,7 +367,14 @@ type: Boolean, default: false, required: false + }, + //表单禁用 + hieg: { + type: Boolean, + default: true, + required: false } + }, computed: { formDisabled() { @@ -377,6 +384,10 @@ } return true } + // console.log("this.hieg",this.hieg); + // console.log("this.disabled",this.disabled); + // console.log("this.heid",this.heid); + this.heid = this.hieg; // console.log("this.disabled",this.disabled); return this.disabled }, @@ -632,7 +643,7 @@ }, /*回显数据*/ init() { - this.taskT =true + // this.taskT =true this.btndisabled = true this.issh =true var r = this.processData @@ -652,7 +663,7 @@ if (res.success) { // if (res.result){ // console.log(this.heid,"this.heid"); - this.heid = false + // this.heid = false getAction(this.url.unitWasteNameUrl, null).then((res) => { if (res.success) { if (this.processMaterialsAllotListTable.columns[6].options.length > 0) {