| | |
| | | <a-table |
| | | ref="table" |
| | | size="middle" |
| | | :scroll="{ x: 'calc(2800px + 50%)', y: 900 }" |
| | | :scroll="{ x: 'calc(3500px + 50%)', y: 900 }" |
| | | bordered |
| | | rowKey="id" |
| | | :columns="columns" |
| | |
| | | <span v-else>{{record.num}}</span> |
| | | </span> |
| | | |
| | | <span |
| | | slot="notPassReason" |
| | | slot-scope="text" |
| | | > |
| | | <j-ellipsis |
| | | :value="text" |
| | | :length="15" |
| | | /> |
| | | </span> |
| | | |
| | | </a-table> |
| | | </div> |
| | | |
| | |
| | | import EquipmentTechnologyStatusModal from './modules/daily3MaintenanceOrder/EquipmentTechnologyStatusModal' |
| | | import Maintenance3ReceiptModal from './modules/daily3MaintenanceOrder/Maintenance3ReceiptModal.vue' |
| | | import { getAction, postAction, requestPut } from '@/api/manage' |
| | | import JEllipsis from "@/components/jeecg/JEllipsis"; |
| | | |
| | | export default { |
| | | name: 'DailyMaintenanceOrderList', |
| | |
| | | MaintenanceOrderChangeModal, |
| | | StoveCategoryModal, |
| | | EquipmentTechnologyStatusModal, |
| | | Maintenance3ReceiptModal |
| | | Maintenance3ReceiptModal, |
| | | JEllipsis |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | dataIndex: 'equipmentModel', |
| | | }, |
| | | { |
| | | title: '保养标准编码', |
| | | title: '验收状态', |
| | | align: "center", |
| | | dataIndex: 'maintenanceStandardNum', |
| | | dataIndex: 'checkStatusName', |
| | | }, |
| | | { |
| | | title: '未通过原因', |
| | | align: "center", |
| | | dataIndex: 'notPassReason', |
| | | scopedSlots: { customRender: 'notPassReason' } |
| | | }, |
| | | // { |
| | | // title: '保养标准编码', |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceStandardNum', |
| | | // }, |
| | | |
| | | { |
| | | title: '使用部门', |
| | |
| | | </div> |
| | | </template> |
| | | </a-table> |
| | | <!-- <div :style="{height: '140px',width: '100%',border: '1px solid #e9e9e9',padding: '10px 16px',background: '#fff',}"> |
| | | <a-row :gutter="24"> |
| | | <div :style="{height: '140px',width: '100%',border: '1px solid #e9e9e9',padding: '10px 16px',background: '#fff',}"> |
| | | <!-- <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | |
| | | > |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-row> --> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="24"> |
| | | <a-form-item |
| | | :labelCol="{span:3}" |
| | | :wrapperCol="{span:21}" |
| | | label="备注" |
| | | label="验收未通过原因" |
| | | > |
| | | <a-textarea |
| | | allow-clear |
| | | :rows='5' |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请输入备注'" |
| | | v-decorator="['remark', {}]" |
| | | :placeholder="disableSubmit?'':'请输入验收未通过原因'" |
| | | v-decorator="['notPassReason', {}]" |
| | | /> |
| | | |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> --> |
| | | </div> |
| | | </a-form> |
| | | </a-spin> |
| | | |
| | |
| | | this.visible = true; |
| | | this.getMaintenance3Receipt() |
| | | that.$nextTick(() => { |
| | | // that.form.setFieldsValue(pick(that.model, 'num', 'teamId', 'remark')); |
| | | that.form.setFieldsValue(pick(that.model, 'notPassReason')); |
| | | }); |
| | | |
| | | }, |