qushaowei
2024-03-28 585fb0bbd4a7bc7f8f333ecba7c5fecd2ee5cbc2
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);
    },