diff --git a/pages/WarehouseManage/CustomerLabelPrint.vue b/pages/WarehouseManage/CustomerLabelPrint.vue
index 19d6330..d84223b 100644
--- a/pages/WarehouseManage/CustomerLabelPrint.vue
+++ b/pages/WarehouseManage/CustomerLabelPrint.vue
@@ -33,7 +33,7 @@
-
+
| {{e.package_box_sn}} |
{{e.quanlity_in_box}} |
{{e.box_weight}} |
@@ -52,7 +52,7 @@
-
+
@@ -72,16 +72,10 @@
val1: '',
dataList: [],
disabled1: false,
- disabled2: false,
- pkId: '',
- pkObj: {}
+ disabled2: false
};
},
methods: {
- toCheck (e) {
- this.pkId = this.pkId === e.container_name ? '' : e.container_name
- this.pkObj = this.pkId === e.container_name ? e : {}
- },
/** 查询 */
async _customerInfo () {
this.disabled1 = true
@@ -104,20 +98,18 @@
/** 打印 */
async _customerPrint () {
this.disabled2 = true
- if (!this.pkId) {
+ if (!this.val1) {
uni.showToast({
- title: '请选择一行',
+ title: '请扫木箱码',
icon: 'none'
})
this.disabled2 = false
return
}
try {
- let res = await customerPrint(this.pkObj.package_box_sn)
+ let res = await customerPrint(this.val1)
this.disabled2 = false
- this.pkId = ''
- this.pkObj = {}
- this._customerInfo()
+ this.val1 = ''
uni.showToast({
title: res.message,
icon: 'none'