jinlin
2024-02-23 1772fc5e211f9e9e0ab4cdc6c29b436aac178c2a
web/src/views/modules/configItemChange/ConfigItemChange-AddOrUpdate.vue
@@ -106,7 +106,8 @@
          </div>
          <div class="el-border-left acceptDate" style="width: 90%;">
            <el-form-item style="width: 100%;padding-left:20px;margin:0;">
              <el-input :disabled="stepMarker!=='pzxbg_first'" v-model="dataForm.configItemChange.changeReason" placeholder="变更原因..."></el-input>
              <el-input v-if="stepMarker=='pzxbg_first'" v-model="dataForm.configItemChange.changeReason" placeholder="变更原因..."></el-input>
              <span v-else>{{dataForm.configItemChange.changeReason}}</span>
            </el-form-item>
          </div>
        </div>
@@ -318,32 +319,32 @@
        dataForm: {
          id: '',
          configItemChange: {
            id: "",
            code: "",
            applicant: "",
            applyDate: "",
            libraryType: "",
            qaAuditResults: "",
            qaAuditor: "",
            qaAuditDate: "",
            id: '',
            code: '',
            applicant: '',
            applyDate: '',
            libraryType: '',
            qaAuditResults:'',
            qaAuditor: '',
            qaAuditDate:'',
            changeReason:'',
            cmAuditResults: "",
            cmAuditor: "",
            cmAuditDate: "",
            approvalOpinions: "",
            approvalSign: "",
            approvalDate: "",
            changeAnalysis: "",
            changeContent: "",
            implementer: "",
            changeDate: "",
            outboundCmOperations: "",
            outboundOperator: "",
            outboundOperateDate: "",
            warehouseCmOperations: "",
            warehouseOperator: "",
            warehouseOperateDate: "",
            remark: "",
            cmAuditResults: '',
            cmAuditor:'',
            cmAuditDate: '',
            approvalOpinions: '',
            approvalSign: '',
            approvalDate: '',
            changeAnalysis: '',
            changeContent: '',
            implementer: '',
            changeDate: '',
            outboundCmOperations: '',
            outboundOperator: '',
            outboundOperateDate: '',
            warehouseCmOperations: '',
            warehouseOperator: '',
            warehouseOperateDate: '',
            remark: '',
          },
          project: {
            code: '',
@@ -358,10 +359,10 @@
    },
    created() {
      const roleName = localStorage.getItem('roleName')
      if (roleName && roleName.includes('QA')) {
      if (roleName && roleName.includes('审核人员')) {
        this.showColumn = true;
      }
      if (roleName && roleName.includes('测试员')) {
      if (roleName && roleName.includes('检测人员')) {
        this.showAddAndEdit = true;
      }
    },
@@ -407,7 +408,7 @@
        this.$nextTick(()=>{
          console.log(this.dataForm.projectId,'this.dataForm.projectId')
          this.ids = this.dataForm.configChangeList.map(item=>item.selectId).join(',')
          this.$refs.configItemList.$refs.dialog.init(this.dataForm.projectId,this.ids)
          this.$refs.configItemList.$refs.dialog.init(this.dataForm.projectId,{ids:this.ids,pageCode:this.pageCode})
        })
        // this.dataForm.configItemList.push({})
        // this.$nextTick(() => {