fix
13404089107
2025-06-26 906e8d68ff4c6ce852fc9c64e1041fdd3990b826
fix
3个文件已修改
11 ■■■■ 已修改文件
culture/src/components/SelectMember/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strain-library/validation/chief-cell/DetailConditionDialog.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strain-library/validation/chief-cell/add.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/components/SelectMember/index.vue
@@ -45,7 +45,12 @@
                            @selection-change="handleSelectionChange" :row-class-name="tableRowClassName"
                            @row-click="handleRowClick">
                            <el-table-column type="selection" width="55" v-if="!singleSelect" />
                            <el-table-column label="角色" prop="roleName" />
                            <el-table-column label="角色" prop="roleName" v-if="title != '选择菌种实验员'" />
                            <el-table-column label="角色" prop="roleType" v-else>
                                <template #default="scope">
                                  <span>{{['菌种超级管理员','菌种审批人','菌种工程师','菌种实验员'][scope.row.roleType-1]}}</span>
                                </template>
                            </el-table-column>
                            <el-table-column label="姓名" prop="nickName" />
                            <el-table-column label="创建时间" prop="createTime" />
                        </Table>
culture/src/views/strain-library/validation/chief-cell/DetailConditionDialog.vue
@@ -145,7 +145,7 @@
          this.detail = {
            ...res,
            handleSignature: res.handleSignature || '', // 处理签名为空的情况
            purpose: res.purpose.split(',') || [] // 处理 purpose 为空的情况
            purpose: res.purpose&&res.purpose.split(',') || [] // 处理 purpose 为空的情况
          }
          this.tableData = res.list || []
        })
culture/src/views/strain-library/validation/chief-cell/add.vue
@@ -104,7 +104,7 @@
        handleSignatureConfirm(signatureImage) {
            this.signatureVisible = false;
            const id = this.$route.query.id || this.$route.params.id;
            const submitData = { ...this.form, strainType: 2, isDraft: this.currentAction == 'submit' ? 0 : 1, handleSignature: signatureImage.signature, experimentTime: moment(this.form.experimentTime).format('YYYY-MM-DD') };
            const submitData = { ...this.form, strainType: 2, isDraft: this.currentAction == 'submit' ? 0 : 1, handleSignature: signatureImage.signature, experimentTime:this.form.experimentTime?moment(this.form.experimentTime).format('YYYY-MM-DD'):''};
            if (this.currentAction === 'submit') {
                if (id) {
                    // 编辑