新购配件

This commit is contained in:
bb_pan 2025-06-15 11:15:58 +08:00
parent 85c85acd24
commit 2e9cf9f89f
1 changed files with 11 additions and 10 deletions

View File

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