|
@@ -179,12 +179,12 @@ export default {
|
179
|
179
|
var timer = setInterval(() => {
|
180
|
180
|
if (param.length && bool) {
|
181
|
181
|
bool = false
|
182
|
|
- this.printPdf(`item_${param[0]}`)
|
183
|
182
|
this.putPrintGoodsOrder({
|
184
|
183
|
id: param[0]
|
185
|
184
|
}).then(() => {
|
186
|
185
|
param.splice(0, 1)
|
187
|
186
|
bool = true
|
|
187
|
+ this.printPdf(`item_${param[0]}`)
|
188
|
188
|
})
|
189
|
189
|
} else {
|
190
|
190
|
clearInterval(timer)
|
|
@@ -300,12 +300,12 @@ export default {
|
300
|
300
|
console.log(it)
|
301
|
301
|
if (it.IsIntimidate === 0) {
|
302
|
302
|
console.log('print')
|
|
303
|
+ this.putPrintGoodsOrder({
|
|
304
|
+ id: it.OrdersId
|
|
305
|
+ }).then(() => {
|
|
306
|
+ this.printPdf(`item_${it.OrdersId}`)
|
|
307
|
+ })
|
303
|
308
|
}
|
304
|
|
- // console.log('it:', it)
|
305
|
|
- this.printPdf(`item_${it.OrdersId}`)
|
306
|
|
- this.putPrintGoodsOrder({
|
307
|
|
- id: it.OrdersId
|
308
|
|
- })
|
309
|
309
|
})
|
310
|
310
|
})
|
311
|
311
|
},
|