Merge branch 'material-ui' of http://192.168.30.2:3000/bonus/bonus-ui into material-ui

This commit is contained in:
hongchao 2025-06-15 13:19:31 +08:00
commit 5e37447903
1 changed files with 11 additions and 10 deletions

View File

@ -249,6 +249,7 @@
import { getListNewBuy,getInBoundForm } from '@/api/part/partArrived'; import { getListNewBuy,getInBoundForm } from '@/api/part/partArrived';
import { passAll, rejectAll } from '@/api/part/partAccept'; import { passAll, rejectAll } from '@/api/part/partAccept';
import vueEasyPrint from "vue-easy-print"; import vueEasyPrint from "vue-easy-print";
import printJS from 'print-js'
import { downloadFile } from '@/utils/download' import { downloadFile } from '@/utils/download'
import { getToken } from '@/utils/auth' import { getToken } from '@/utils/auth'
export default { export default {
@ -419,16 +420,16 @@ import { getToken } from '@/utils/auth'
}); });
}, },
// //
// print() { print() {
// // this.$refs.remarksPrintRef.print() // this.$refs.remarksPrintRef.print()
// printJS({ printJS({
// printable: 'checkId', printable: 'checkId',
// type: 'html', type: 'html',
// targetStyles: ['*'], targetStyles: ['*'],
// maxWidth:'1400' maxWidth:'1400'
// // //
// }); });
// }, },
handleExport() { handleExport() {
const formatTime = (date) => { const formatTime = (date) => {
const year = date.getFullYear(); const year = date.getFullYear();