| | |
| | | }, |
| | | columns:[ |
| | | {type:'expand',fixed:"left",slots: { content:'content' },width: 60}, |
| | | {title: t('basicData.operate'), width: 110, slots: { default: 'button_slot' },fixed:"left"}, |
| | | {title: t('basicData.operate'), width: 120, slots: { default: 'button_slot' },fixed:"left"}, |
| | | {field:'state',title: t('basicData.review'), width: 40, slots: { default: 'state' }}, |
| | | {type: 'seq',fixed:"left", title: t('basicData.Number'), width: 80 }, |
| | | {field: 'id', title: t('basicData.number'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: false}, |
| | |
| | | 'getProductRow' |
| | | ]) |
| | | |
| | | const emitParent = (row) => { |
| | | emit('getProductRow', row) |
| | | const emitParent = (row,type) => { |
| | | emit('getProductRow', row,type) |
| | | } |
| | | |
| | | |
| | | |
| | | /*后端返回结果多层嵌套展示*/ |
| | |
| | | </el-popconfirm> |
| | | </template> |
| | | <template #button_slot="{ row }" v-else> |
| | | <el-button @click="emitParent(row)" link type="primary" size="small">{{ $t('basicData.add') }}</el-button> |
| | | <el-button @click="emitParent(row,1)" link type="primary" size="small">{{ $t('basicData.add') }}</el-button> |
| | | <el-button @click="emitParent(row,2)" link type="primary" size="small">{{ $t('product.usingAbbreviations') }}</el-button> |
| | | </template> |
| | | |
| | | <template #num1_filter="{ column, $panel }"> |