From 5cbba170e270e6f1c99a91e27dbb7951a27d596a Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期五, 24 十一月 2023 16:41:32 +0800 Subject: [PATCH] 故障报修验收 --- src/views/eam/modules/daily3MaintenanceOrder/StoveCategoryModal.vue | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/views/eam/modules/daily3MaintenanceOrder/StoveCategoryModal.vue b/src/views/eam/modules/daily3MaintenanceOrder/StoveCategoryModal.vue index b8006ed..c154e4e 100644 --- a/src/views/eam/modules/daily3MaintenanceOrder/StoveCategoryModal.vue +++ b/src/views/eam/modules/daily3MaintenanceOrder/StoveCategoryModal.vue @@ -7,16 +7,21 @@ cancelText="鍏抽棴" @cancel="handleCancel" :confirmLoading="confirmLoading" + title="闄勫綍5" > - <!-- :title="title" --> <!-- <a-spin :spinning="confirmLoading"> --> <!-- <a-form :form="form"> --> + <span + class="ant-descriptions-title" + style="font-size: large;font-size: 15px;float: right;" + >{{this.model.receiptsNum}}</span> + <a-divider orientation="center" style="font-size: large;font-style: normal;font-size: 30px;color: #66aeed;" - > 娓╁害鍧囧寑鎬ф娴嬫潯浠剁‘璁よ〃 </a-divider> - + > {{this.model.receiptsName}} </a-divider> + <!-- 娓╁害鍧囧寑鎬ф娴嬫潯浠剁‘璁よ〃 --> <!-- <div :style="{height: '115px',float: 'left',width: '100%',border: '1px solid #e9e9e9',padding: '50px 20px',background: '#fff',}"> --> <span class="ant-descriptions-title" @@ -506,6 +511,7 @@ un-checked-children="鍚�" :checked="model.result_21 == '1'" @change="handle21Switch(model.result_21)" + :disabled=this.disabled21Switch /> <span class="ant-descriptions-title" @@ -521,6 +527,7 @@ v-model="model.sort" :min=0 :max=20 + :disabled=this.disabled22Switch /> <span class="ant-descriptions-title" @@ -531,6 +538,7 @@ un-checked-children="鍚�" :checked="model.result_22 == '1'" @change="handle22Switch(model.result_22)" + :disabled=this.disabled22Switch /> <span class="ant-descriptions-title" @@ -603,13 +611,13 @@ import pick from 'lodash.pick' import JMultiSelectTag from '@/components/dict/JMultiSelectTag' import Tooltip from 'ant-design-vue/es/tooltip' -import { JeecgListMixin } from '@/mixins/JeecgListMixin' +// import { JeecgListMixin } from '@/mixins/JeecgListMixin' import { ACCESS_TOKEN } from '@/store/mutation-types' import { getFileAccessHttpUrl } from '@/api/manage'; export default { name: "StoveCategoryModal", - mixins: [JeecgListMixin], + // mixins: [JeecgListMixin], components: { JMultiSelectTag, Tooltip, @@ -623,6 +631,8 @@ dataSource: [], model: {}, departs: [], + disabled21Switch: false, + disabled22Switch: false, labelCol: { xs: { span: 24 }, sm: { span: 6 }, @@ -653,7 +663,8 @@ edit(record) { let that = this; - + this.disabled21Switch = false + this.disabled22Switch = false this.form.resetFields(); this.model = Object.assign({}, record); this.getStoveCategory() @@ -723,6 +734,7 @@ } else { this.model.result_1 = '0' } + this.model = Object.assign({}, this.model); }, @@ -909,8 +921,10 @@ handle21Switch(result_21) { if ('0' == result_21) { this.model.result_21 = '1' + this.disabled22Switch = true } else { this.model.result_21 = '0' + this.disabled22Switch = false } this.model = Object.assign({}, this.model); }, @@ -918,8 +932,10 @@ handle22Switch(result_22) { if ('0' == result_22) { this.model.result_22 = '1' + this.disabled21Switch = true } else { this.model.result_22 = '0' + this.disabled21Switch = false } this.model = Object.assign({}, this.model); }, -- Gitblit v1.9.3