src/views/eam/EquipmentScrapList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/eam/EquipmentSealList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/eam/EquipmentUnsealList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/eam/modules/equipmentScrap/EquipmentScrapForm.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/eam/EquipmentScrapList.vue
@@ -90,12 +90,16 @@ :customRow="clickThenSelect" @change="handleTableChange"> <span slot="num" slot-scope="text"> <j-ellipsis :value="text" :length="15" /> </span> <template slot="htmlSlot" slot-scope="text"> <div v-html="text"></div> </template> <template slot="imgSlot" slot-scope="text,record"> <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span> <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;" /> <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;" /> </template> <template slot="fileSlot" slot-scope="text"> <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span> @@ -109,14 +113,6 @@ 下载 </a-button> </template> <!-- <template>--> <!-- <a-tooltip placement="topLeft">--> <!-- <template slot="title">--> <!-- <span>{{value}}</span>--> <!-- </template>--> <!-- {{ value | ellipsis(length) }}--> <!-- </a-tooltip>--> <!-- </template>--> <!-- 字符串超长截取省略号显示--> <span slot="remark" slot-scope="text"> <j-ellipsis :value="text" :length="15" /> @@ -201,19 +197,18 @@ </a-tab-pane> </a-tabs> <equipment-scrap-modal ref="modalForm" @ok="modalFormOk"></equipment-scrap-modal> <approvel-modal ref="approvalModalForm" @ok='approvalModalFormOk' @cancel='approvalModalFormOk'></approvel-modal> <approvel-modal ref="approvalModalForm" @ok="approvalModalFormOk" @cancel="approvalModalFormOk"></approvel-modal> </a-card> </template> <script> import { JeecgListMixin } from '@/mixins/JeecgListMixin' import EquipmentScrapModal from './modules/equipmentScrap/EquipmentScrapModal.vue' import EquipmentScrapDetailList from './modules/equipmentScrap/EquipmentScrapDetailList' import { getAction,postAction } from '@/api/manage' import { initDictOptions, filterMultiDictText } from '@/components/dict/JDictSelectUtil' import JEllipsis from '@/components/jeecg/JEllipsis' import '@/assets/less/TableExpand.less' import ApprovelModal from './modules/equipmentSeal/ApprovelModal' @@ -245,7 +240,11 @@ title: '单据号', align: 'center', sorter: true, dataIndex: 'num' dataIndex: 'num', scopedSlots: { customRender: 'num' }, width: 100, ellipsis: true }, { title: '审批状态', @@ -386,7 +385,7 @@ } this.loading = false }) this.equipmentScrapDetailMainId = "" this.equipmentScrapDetailMainId = '' }, handleCommit(record, type) { let url @@ -395,14 +394,14 @@ postAction(url, record).then(res => { if (res.success) { if (type === 'commit') { this.$message.success("提交成功!"); this.$message.success('提交成功!') } else { this.$message.success("撤回成功!"); this.$message.success('撤回成功!') } this.loadData(1); this.loadData(1) } else { this.$message.warning(res.message); this.$message.warning(res.message) } }) }, src/views/eam/EquipmentSealList.vue
@@ -103,7 +103,9 @@ :customRow="clickThenSelect" @change="handleTableChange" > <span slot="num" slot-scope="text"> <j-ellipsis :value="text" :length="15" /> </span> <template slot="htmlSlot" slot-scope="text" @@ -286,7 +288,10 @@ title: '单据号', align: "center", sorter: true, dataIndex: 'num' dataIndex: 'num', scopedSlots: { customRender: 'num' }, width: 100, ellipsis: true }, { title: '创建人', src/views/eam/EquipmentUnsealList.vue
@@ -110,7 +110,9 @@ :customRow="clickThenSelect" @change="handleTableChange" > <span slot="num" slot-scope="text"> <j-ellipsis :value="text" :length="15" /> </span> <template slot="htmlSlot" slot-scope="text" @@ -293,7 +295,10 @@ title: '单据号', align: 'center', sorter: true, dataIndex: 'num' dataIndex: 'num', scopedSlots: { customRender: 'num' }, width: 100, ellipsis: true }, { title: '创建人', src/views/eam/modules/equipmentScrap/EquipmentScrapForm.vue
@@ -5,29 +5,58 @@ <!--主表区域 --> <!-- <a-tab-pane tab="设备变动" :key="refKeys[0]" :forceRender="true" :class="'jeecg-tabs-top'" :animated="false">--> <j-form-container :disabled="formDisabled"> <a-form-model ref="form" :model="model" :rules="validatorRules"> <!-- 主表单区域 --> <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail" > <a-row> <a-col :xs="24" :sm="24"> <a-form-model-item label="单据号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="num"> <a-input v-model="model.num" placeholder="请输入单据号"></a-input> <a-col :span="24"> <a-form-model-item label="单据号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="num" > <a-input v-model="model.num" placeholder="请输入单据号" ></a-input> </a-form-model-item> </a-col> <!-- <a-col :xs="24" :sm="12">--> <!-- <a-form-model-item label="审批状态" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="auditStatus">--> <!-- <j-dict-select-tag type="list" v-model="model.auditStatus" dictCode="audit_status" placeholder="请选择审批状态" disabled/>--> <!-- </a-form-model-item>--> <!-- </a-col>--> <a-col :xs="24" :sm="12" v-show="false"> <a-form-model-item label="变动方式" show="false" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="changeMethod"> <a-input v-model="model.changeMethod" placeholder="请输入变动方式" defaultValue="scrap"></a-input> <a-col :span="12" :hidden=true > <a-form-model-item label="变动方式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="changeMethod" > <a-input v-model="model.changeMethod" placeholder="请输入变动方式" defaultValue="seal" ></a-input> </a-form-model-item> </a-col> <a-col :xs="24" :sm="24"> <a-form-model-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="remark"> <a-textarea v-model="model.remark" rows="4" placeholder="请输入备注" /> <a-col :span="24"> <a-form-model-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="remark" > <a-textarea v-model="model.remark" rows="4" placeholder="请输入备注" /> </a-form-model-item> </a-col> </a-row> </a-form-model> </j-form-container>