From 5df158f54eb0c7e0e0ba79eb172aaba42735a221 Mon Sep 17 00:00:00 2001 From: whycq <whycq> Date: 星期六, 26 二月 2022 17:59:48 +0800 Subject: [PATCH] # --- pages/basics/stockQuery.vue | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/pages/basics/stockQuery.vue b/pages/basics/stockQuery.vue index 8527a72..ac832a3 100644 --- a/pages/basics/stockQuery.vue +++ b/pages/basics/stockQuery.vue @@ -6,7 +6,7 @@ </view> <view class="cu-form-group margin-top"> <view class="title">浜у搧</view> - <input v-model="matNo" placeholder="浜у搧淇℃伅" name="input" @input="findByMatNo()"></input> + <input v-model="matNo" placeholder="浜у搧ID" name="input" @input="findByMatNo()"></input> </view> <view class="margin-top"> <uni-table border stripe emptyText="鏆傛棤鏇村鏁版嵁"> @@ -40,11 +40,16 @@ locDetlData:[], } }, + mounted(){ + const UIP = uni.getStorageSync('UIP'); + this.baseIP = UIP + }, methods: { reset:function() { let that = this; that.locNo = ''; that.matNo = ''; + that.locDetlData = []; }, // 鏍规嵁搴撲綅鍙锋煡鎵惧簱瀛樻槑缁� findByLocNo(){ @@ -95,18 +100,19 @@ </script> <style> - .reset { + /* .reset { position: absolute; width: 750upx; - background-color: #007AFF; - - bottom: 80upx; - } + bottom: 280upx; + } */ .pda-btn1 { - display: flex; - flex-direction:row; - justify-content: center; - width: 150upx; + margin-left:260rpx; + margin-right: auto; + margin-top: 150rpx; + width: 200rpx; + height: 80rpx; + font-size: 30upx; + font-weight: bold; } </style> -- Gitblit v1.9.1