From 15a40c01ab09810f0f79351f06d6951e305d8ec9 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期二, 10 六月 2025 16:21:43 +0800
Subject: [PATCH] 保养修改
---
src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue | 78 +++++++++++++++++++-------------------
1 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue
index 3e3ad33..46ef5b7 100644
--- a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue
+++ b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderModal.vue
@@ -1,7 +1,7 @@
<template>
<a-modal
:title='title'
- :width='1250'
+ :width='650'
:visible='visible'
:maskClosable='false'
@ok='handleOk'
@@ -12,7 +12,7 @@
<a-spin :spinning='confirmLoading'>
<a-form :form='form'>
<a-row :gutter='24'>
- <a-col :span='12'>
+ <a-col :span='24'>
<a-form-item
label='宸ュ崟鍙�'
:labelCol='labelCol'
@@ -26,25 +26,7 @@
/>
</a-form-item>
</a-col>
- <a-col :span='12'>
- <a-form-item
- label='妫�瀹氭柟寮�'
- :labelCol='labelCol'
- :wrapperCol='wrapperCol'
- >
- <j-dict-select-tag
- allow-clear
- :disabled='disableSubmit'
- :placeholder="disableSubmit?'':'璇烽�夋嫨妫�瀹氭柟寮�'"
- :triggerChange='true'
- dictCode='calibration_type'
- v-decorator="['calibrationType', validatorRules.calibrationType]"
- />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row :gutter='24'>
- <a-col :span='12'>
+ <a-col :span='24'>
<a-form-item
label='璁惧'
:labelCol='labelCol'
@@ -60,8 +42,24 @@
/>
</a-form-item>
</a-col>
+ <a-col :span='24'>
+ <a-form-item
+ label='閴村畾鏂瑰紡'
+ :labelCol='labelCol'
+ :wrapperCol='wrapperCol'
+ >
+ <j-dict-select-tag
+ allow-clear
+ :disabled='disableSubmit'
+ :placeholder="disableSubmit?'':'璇烽�夋嫨閴村畾鏂瑰紡'"
+ :triggerChange='true'
+ dictCode='calibration_type'
+ v-decorator="['calibrationType', validatorRules.calibrationType]"
+ />
+ </a-form-item>
+ </a-col>
- <a-col :span='12'>
+ <a-col :span='24'>
<a-form-item
label='鍒ゆ柇渚濇嵁'
:labelCol='labelCol'
@@ -83,7 +81,7 @@
hidden
:gutter='24'
>
- <a-col :span='12'>
+ <a-col :span='24'>
<a-form-item
label='璁惧Id'
:labelCol='labelCol'
@@ -99,7 +97,7 @@
</a-col>
</a-row>
<a-row :gutter='24'>
- <a-col :span='24'>
+ <!-- <a-col :span='24'>
<a-form-item
:labelCol='{span:3}'
:wrapperCol='{span:21}'
@@ -112,7 +110,7 @@
v-decorator="['remark', validatorRules.remark]"
/>
</a-form-item>
- </a-col>
+ </a-col> -->
<a-col :span='24'>
<a-form-item
:labelCol='{span:3}'
@@ -131,16 +129,17 @@
</a-row>
</a-form>
</a-spin>
- <a-table v-show='false'
- ref='table'
- bordered
- size='middle'
- rowKey='id'
- :columns='columns'
- :pagination='ipagination'
- :loading='loading'
- :dataSource='dataSource'
- @change='handleTableChange'
+ <a-table
+ v-show='false'
+ ref='table'
+ bordered
+ size='middle'
+ rowKey='id'
+ :columns='columns'
+ :pagination='ipagination'
+ :loading='loading'
+ :dataSource='dataSource'
+ @change='handleTableChange'
>
</a-table>
@@ -221,7 +220,7 @@
disableSubmit: false,
codeDisable: true,
dataSource: [],
- num:"",
+ num: "",
model: { 'management_mode': 'report', 'calibration_type': 'self' },
labelCol: {
xs: { span: 24 },
@@ -241,7 +240,7 @@
},
calibrationType: {
rules: [
- { required: true, message: '璇烽�夋嫨妫�瀹氭柟寮�!' }
+ { required: true, message: '璇烽�夋嫨閴村畾鏂瑰紡!' }
]
},
managementMode: {
@@ -281,11 +280,12 @@
this.precisionParametersTemplateId = '-1'
getAction(this.url.getNum, { type: 'CalibrationOrder', length: '4' }).then((res) => {
if (res.success) {
- this.num = res.message
+ // this.num = res.message
+ this.form.setFieldsValue({ "num": res.message })
}
})
// 鏂板鏃跺�欒缃壌瀹氱被鍨嬩负鑷銆� 鍒ゅ畾渚濇嵁涓烘姤鍛�
- this.edit({ "num":this.num,'calibrationType': 'self', 'managementMode': 'report' })
+ this.edit({ "num": this.num, 'calibrationType': 'self', 'managementMode': 'report' })
},
edit(record) {
let that = this
--
Gitblit v1.9.3