loulijun2021
2022-07-04 bc95be087fbf1b6c93bb8cdb8f0478305ec1199f
src/views/jcsz/zzjg.vue
@@ -150,7 +150,7 @@
          </el-radio-group>
        </el-form-item>
        <el-form-item label="组织编码" prop="OrgCode">
          <el-input v-model="dialogForm.OrgCode" disabled style="width: 200px" />
          <el-input v-model="dialogForm.OrgCode" :disabled="operation!=='add'" style="width: 200px" />
        </el-form-item>
        <el-form-item label="组织名称" prop="OrgName">
          <el-input v-model="dialogForm.OrgName" style="width: 200px" />
@@ -353,9 +353,9 @@
      this.operation = operation
      this.dialogVisible = true
      const res = await getNewEncodingRules(getCookie('ruleCode'))
      this.dialogForm.OrgCode = res.RightCode
      this.numvalue = res.numvalue
      // const res = await getNewEncodingRules(getCookie('ruleCode'))
      // this.dialogForm.OrgCode = res.RightCode
      // this.numvalue = res.numvalue
    },
    // 修改按钮
    edit(operation, row) {
@@ -416,8 +416,10 @@
            OrganType: this.dialogFormOrgTypeSelected,
            OrganCode: this.dialogForm.OrgCode,
            OrganName: this.dialogForm.OrgName,
            RightCode: this.operation === 'add' ? getCookie('ruleCode') : '',
            numvalue: this.operation === 'add' ? this.numvalue : '',
            RightCode: '',
            numvalue: '',
            // RightCode: this.operation === 'add' ? getCookie('ruleCode') : '',
            // numvalue: this.operation === 'add' ? this.numvalue : '',
            SupUnit: this.dialogFormOrgTypeSelected === 'F' ? '0' : this.dialogForm.SupUnit,
            OperType: this.operation === 'add' ? 'Add' : 'Update',
            Operator: getCookie('admin')