| | |
| | | <a-table ref="table" size="middle" bordered rowKey="id" :columns="columns" :dataSource="dataSource" |
| | | :pagination="ipagination" :loading="loading" :scroll="{x:'max-content'}" @change="handleTableChange"> |
| | | |
| | | <!--使用部门--> |
| | | <template slot="factoryCode" slot-scope="text,record"> |
| | | {{[record.zxfactoryOrgCode_dictText,record.gqfactoryOrgCode_dictText,record.factoryCode_dictText].filter(item=>item).join('/')}} |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <template v-if="record.applicationStatus=='WAIT_SUBMIT'"> |
| | | <a @click.stop="handleEdit(record)">编辑</a> |
| | |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '使用部门', |
| | | dataIndex: 'factoryCode', |
| | | scopedSlots: { customRender: 'factoryCode' }, |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '申请单状态', |
| | | align: 'center', |
| | | dataIndex: 'applicationStatus_dictText', |