zhaowei
2025-07-11 56148970959b7016cfe1c54ffa39dbd9bb9921ff
src/views/eam/maintenance/modules/EamInspectionOrderModal.vue
@@ -33,7 +33,7 @@
          </a-col>
          <a-col :span="8">
            <a-form-model-item label="保养周期">
              <a-input placeholder="选择设备后自动带出" v-model="model.maintenancePeriod" disabled/>
              <a-input v-model="model.maintenancePeriod" disabled/>
            </a-form-model-item>
          </a-col>
          <a-col :span="8">
@@ -130,19 +130,19 @@
              key: 'itemCode',
              type: JVXETypes.normal,
              width: 100,
              align: 'center',
              align: 'center'
            },
            {
              title: '保养项',
              key: 'itemName',
              type: JVXETypes.normal,
              align: 'center',
              align: 'center'
            },
            {
              title: '保养规范或要求',
              key: 'itemDemand',
              type: JVXETypes.normal,
              align: 'center',
              align: 'center'
            }
          ],
          weekInspectionColumns: [],
@@ -152,19 +152,19 @@
              key: 'itemCode',
              type: JVXETypes.normal,
              width: 60,
              align: 'center',
              align: 'center'
            },
            {
              title: '保养项',
              key: 'itemName',
              type: JVXETypes.normal,
              align: 'center',
              align: 'center'
            },
            {
              title: '保养要求',
              key: 'itemDemand',
              type: JVXETypes.normal,
              align: 'center',
              align: 'center'
            },
            {
              title: '点检结果',
@@ -178,7 +178,7 @@
              title: '异常描述',
              key: 'exceptionDescription',
              type: JVXETypes.normal,
              align: 'center',
              align: 'center'
            },
            {
              title: '异常是否报修',
@@ -194,7 +194,7 @@
    },
    methods: {
      add() {
        this.model = {}
        this.model = { maintenancePeriod: 1 }
        this.visible = true
        this.editable = true
        this.detail.dayInspectionList = []
@@ -202,7 +202,7 @@
      },
      edit(record) {
        this.model = Object.assign({}, record)
        this.model = Object.assign({ maintenancePeriod: 1 }, record)
        this.editable = false
        this.visible = true
        this.spinning = true
@@ -249,7 +249,6 @@
      autocompleteForm(selectObj) {
        this.model.standardName = selectObj.standardName
        this.model.maintenancePeriod = selectObj.maintenancePeriod
        this.model.standardCode = selectObj.standardCode
        this.standardId = selectObj.id
        this.detail.dayInspectionList = []