Commit 201c6c8d by LJM

bug

parent 726934e8
...@@ -302,7 +302,6 @@ ...@@ -302,7 +302,6 @@
.text { .text {
font-size: 16rpx; font-size: 16rpx;
color: #484b59; color: #484b59;
font-weight: bold;
} }
} }
} }
...@@ -334,6 +333,7 @@ ...@@ -334,6 +333,7 @@
font-size: 20rpx; font-size: 20rpx;
color: #292b33; color: #292b33;
font-weight: bold; font-weight: bold;
margin-bottom: 18rpx;
} }
.bor { .bor {
height: 1px; height: 1px;
......
...@@ -568,6 +568,7 @@ export default { ...@@ -568,6 +568,7 @@ export default {
* 盘点标签补打 * 盘点标签补打
*/ */
printLabelChange() { printLabelChange() {
//选中一条数据的时候
if (this.filter_id.length == 1) { if (this.filter_id.length == 1) {
if (!this.formParams.label_num) { if (!this.formParams.label_num) {
uni.showToast({ uni.showToast({
...@@ -578,14 +579,6 @@ export default { ...@@ -578,14 +579,6 @@ export default {
} }
} }
if (!this.formParams.ip) {
uni.showToast({
title: '请填写目标打印机',
icon: 'none'
});
return false;
}
this.request(API.printLabel, 'POST', this.formParams, true).then(res => { this.request(API.printLabel, 'POST', this.formParams, true).then(res => {
if (res.code === 0) { if (res.code === 0) {
uni.showToast({ uni.showToast({
...@@ -636,6 +629,7 @@ export default { ...@@ -636,6 +629,7 @@ export default {
resetChange() { resetChange() {
this.list = []; this.list = [];
this.page = 1; this.page = 1;
this.filter_id = [];
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment