|
@@ -135,7 +135,7 @@ export default {
|
|
|
handlePrint (type) {
|
|
|
const _this = this
|
|
|
_this.spinning = true
|
|
|
- allocateBillDetailPrint({ sn: this.$route.params.sn }).then(res => {
|
|
|
+ allocateBillDetailPrint({ sn: this.$route.params.sn, isPreview: type == 'preview' ? 1 : 0 }).then(res => {
|
|
|
_this.spinning = false
|
|
|
if (res.type == 'application/json') {
|
|
|
var reader = new FileReader()
|