|
@@ -83,7 +83,7 @@
|
|
import moment from 'moment'
|
|
import moment from 'moment'
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
import { purchaseDetailPrint, purchaseDetailExport, purchaseExportDetail } from '@/api/purchase'
|
|
import { purchaseDetailPrint, purchaseDetailExport, purchaseExportDetail } from '@/api/purchase'
|
|
-import { receivingDetailSn, receivingDetailList } from '@/api/receiving'
|
|
|
|
|
|
+import { receivingDetailSn, receivingDetailList, receivingExport } from '@/api/receiving'
|
|
import Print from '@/views/common/print.vue'
|
|
import Print from '@/views/common/print.vue'
|
|
import { hdPrint } from '@/libs/JGPrint'
|
|
import { hdPrint } from '@/libs/JGPrint'
|
|
export default {
|
|
export default {
|
|
@@ -158,7 +158,7 @@ export default {
|
|
const _this = this
|
|
const _this = this
|
|
_this.spinning = true
|
|
_this.spinning = true
|
|
// 打印或导出
|
|
// 打印或导出
|
|
- hdPrint('', 'export', purchaseExportDetail, { sn: this.$route.params.sn }, '备货单', function () {
|
|
|
|
|
|
+ hdPrint('', 'export', receivingExport, { sn: this.$route.params.sn }, '备货单', function () {
|
|
_this.spinning = false
|
|
_this.spinning = false
|
|
})
|
|
})
|
|
}
|
|
}
|