|
@@ -14,6 +14,9 @@
|
|
|
<el-link type="primary" :underline="false" @click="goToDetail(row)">
|
|
<el-link type="primary" :underline="false" @click="goToDetail(row)">
|
|
|
详情
|
|
详情
|
|
|
</el-link>
|
|
</el-link>
|
|
|
|
|
+ <!-- <el-link type="primary" :underline="false" @click="openPrint(row)">
|
|
|
|
|
+ 打印
|
|
|
|
|
+ </el-link> -->
|
|
|
</template>
|
|
</template>
|
|
|
<template v-slot:code="{ row }">
|
|
<template v-slot:code="{ row }">
|
|
|
<el-link type="primary" @click="goToDetail(row)">{{
|
|
<el-link type="primary" @click="goToDetail(row)">{{
|
|
@@ -23,6 +26,8 @@
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
|
|
|
|
|
<editModal ref="editModalRef"></editModal>
|
|
<editModal ref="editModalRef"></editModal>
|
|
|
|
|
+
|
|
|
|
|
+ <batchPecordPrint ref="batchPecordPrintRef"></batchPecordPrint>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -31,10 +36,11 @@
|
|
|
import tableColumnsMixin from '@/mixins/tableColumnsMixin';
|
|
import tableColumnsMixin from '@/mixins/tableColumnsMixin';
|
|
|
import { producetaskrulerecordPage } from '@/api/producetaskrulerecord/index';
|
|
import { producetaskrulerecordPage } from '@/api/producetaskrulerecord/index';
|
|
|
import editModal from '../editModal.vue';
|
|
import editModal from '../editModal.vue';
|
|
|
|
|
+ import batchPecordPrint from './batchPecordPrint.vue';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [dictMixins, tableColumnsMixin],
|
|
mixins: [dictMixins, tableColumnsMixin],
|
|
|
- components: { editModal },
|
|
|
|
|
|
|
+ components: { editModal, batchPecordPrint },
|
|
|
props: {
|
|
props: {
|
|
|
tableQuery: {
|
|
tableQuery: {
|
|
|
type: Object,
|
|
type: Object,
|
|
@@ -213,6 +219,9 @@
|
|
|
},
|
|
},
|
|
|
goToDetail(row) {
|
|
goToDetail(row) {
|
|
|
this.$refs.editModalRef.open('detail', row);
|
|
this.$refs.editModalRef.open('detail', row);
|
|
|
|
|
+ },
|
|
|
|
|
+ openPrint(row) {
|
|
|
|
|
+ this.$refs.batchPecordPrintRef.open(row);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|