From 9246e993b1ca7d41a721982221af3bcfc910b23c Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 15 八月 2022 10:17:05 +0800
Subject: [PATCH] #
---
pages/basics/order.vue | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/pages/basics/order.vue b/pages/basics/order.vue
index 752f385..54ea69d 100644
--- a/pages/basics/order.vue
+++ b/pages/basics/order.vue
@@ -9,7 +9,7 @@
<view class="square-content">
<view class="content-input">
<input v-model="barcode" type="text" placeholder="鎵爜 / 杈撳叆" maxlength="10"
- :focus="barcodeFocus" @input="barcodeInput">
+ :focus="barcodeFocus" @input="barcodeInput" placeholder-style="line-height: 85rpx;">
<uni-icons type="closeempty" size="20" color="#dadada" @click="removeBarcode()"></uni-icons>
</view>
</view>
@@ -23,7 +23,7 @@
<view class="square-content">
<view class="content-input">
<input v-model="order" type="text" placeholder="鎵爜 / 杈撳叆" @input="findOrder()"
- :focus="focus">
+ :focus="focus" placeholder-style="line-height: 85rpx;">
<uni-icons type="closeempty" size="20" color="#dadada" @click="removeOrder()"></uni-icons>
</view>
</view>
@@ -299,13 +299,10 @@
if (res.code === 200) {
uni.showToast({
title: res.msg,
- position: 'bottom',
+ position: 'top',
duration: 1000
});
- that.barcode = ''
- that.orderNo = ''
- that.order = ''
- that.matList = []
+ that.resst()
} else if (res.code == 403) {
uni.showToast({title: res.msg, icon: "none", position: 'top'})
setTimeout(() => {
--
Gitblit v1.9.1