传值打印机
This commit is contained in:
@@ -107,7 +107,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
let res = await customerPrint(this.val1)
|
let res = await customerPrint(this.val1, this.$store.getters.setPrintName)
|
||||||
this.disabled2 = false
|
this.disabled2 = false
|
||||||
this.val1 = ''
|
this.val1 = ''
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|||||||
@@ -268,10 +268,11 @@ export const customerInfo = (box_no) => request({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 1.1木箱打印
|
// 1.1木箱打印
|
||||||
export const customerPrint = (box_no) => request({
|
export const customerPrint = (box_no, ptype) => request({
|
||||||
url:'api/pda/print/customerPrint',
|
url:'api/pda/print/customerPrint',
|
||||||
data: {
|
data: {
|
||||||
box_no: box_no
|
box_no: box_no,
|
||||||
|
print_type: ptype
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 1.3打印机类型
|
// 1.3打印机类型
|
||||||
|
|||||||
Reference in New Issue
Block a user