Browse Source

修改bug

hi 1 month ago
parent
commit
bfb5345e1f

+ 1 - 1
components/good-item/good-item.vue

@@ -27,7 +27,7 @@
 				</view>
 				<view class="good-cont-item">
 					<view class="item-label">库存</view>
-					<view class="item-value">{{item.inventory || '0'}}{{item.commodityUnit || ''}}</view>
+					<view class="item-value">{{item.inventory ? (item.inventory * 1).toFixed(0) : '0'}}{{item.commodityUnit || ''}}</view>
 				</view>
 				<view class="good-cont-item">
 					<view class="item-label">库位</view>

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "pdaApp",
     "appid" : "__UNI__7E491C0",
     "description" : "pdaApp",
-    "versionName" : "1.0.0",
-    "versionCode" : 100,
+    "versionName" : "1.0.1",
+    "versionCode" : 101,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {

+ 1 - 1
pages/goods/detail.vue

@@ -58,7 +58,7 @@
 						<text>库存</text>
 					</view>
 					<view class="info-line-value">
-						{{goodsInfo.inventory || '0'}}{{goodsInfo.commodityUnit || ''}}
+						{{goodsInfo.inventory ? (goodsInfo.inventory * 1).toFixed(0) : '0'}}{{goodsInfo.commodityUnit || ''}}
 					</view>
 				</view>
 				<view class="info-line">

+ 27 - 3
pages/login/components/account-login.vue

@@ -21,11 +21,17 @@
       <u-form-item prop="password" label="密码">
         <view class="input-line">
 					<u-input
-						type="password"
+						:type="passwordType"
 						placeholder="请输入密码"
 						v-model="model.password"
 						border="none"
-					></u-input>
+					>
+						<template slot="suffix">
+							<view class="eye-box" @click="eyeClick">
+								<u-icon :name="eyeIcon"></u-icon>
+							</view>
+						</template>
+					</u-input>
         </view>
       </u-form-item>
     </u-form>
@@ -40,11 +46,22 @@
 			return {
 				model:{
 					loginName:'',
-					password:''
+					password:'',
 				},
+				passwordType:'password',
+				eyeIcon:'eye-off'
 			}
 		},
 		methods:{
+			eyeClick() {
+				if(this.passwordType == 'password') {
+					this.passwordType = 'text'
+					this.eyeIcon = 'eye'
+				}else {
+					this.passwordType = 'password'
+					this.eyeIcon = 'eye-off'
+				}
+			},
 			accountLoginSubmit() {
 			  if(!this.model.loginName){
 			  	return uni.$u.toast("请输入账号");
@@ -104,4 +121,11 @@
   height: 88rpx;
   box-sizing: border-box;
 }
+.eye-box {
+	width: 100rpx;
+	height: 88rpx;
+	display: flex;
+	align-items: center;
+	justify-content: center;
+}
 </style>

+ 3 - 3
pages/picking-task/delivery.vue

@@ -37,14 +37,14 @@
 						{{orderInfo.operTime || '-'}}
 					</view>
 				</view>
-				<!-- <view class="info-line">
+				<view class="info-line">
 					<view class="info-line-label">
 						<text>配送地址</text>
 					</view>
 					<view class="info-line-value">
-						长沙市岳麓区-暂无
+						{{orderInfo.receiverAddress || '-'}}
 					</view>
-				</view> -->
+				</view>
 				<view class="info-line">
 					<view class="info-line-label">
 						<text>上传凭证</text>

+ 1 - 1
pages/purchase/detail.vue

@@ -117,7 +117,7 @@
 								<view slot="minus" class="minus">
 									<u-icon name="minus" color="#DADADA" size="12"></u-icon>
 								</view>
-								<text slot="input" class="input">{{item.actualQuantityInStorage || 0}}</text>
+								<text slot="input" class="input">{{item.actualQuantityInStorage ? (item.actualQuantityInStorage*1).toFixed(0) : 0}}</text>
 								<view slot="plus" class="plus">
 									<u-icon name="plus" color="#FFFFFF" size="12"></u-icon>
 								</view>

BIN
unpackage/res/icons/1024x1024.png


BIN
unpackage/res/icons/120x120.png


BIN
unpackage/res/icons/144x144.png


BIN
unpackage/res/icons/152x152.png


BIN
unpackage/res/icons/167x167.png


BIN
unpackage/res/icons/180x180.png


BIN
unpackage/res/icons/192x192.png


BIN
unpackage/res/icons/20x20.png


BIN
unpackage/res/icons/29x29.png


BIN
unpackage/res/icons/40x40.png


BIN
unpackage/res/icons/58x58.png


BIN
unpackage/res/icons/60x60.png


BIN
unpackage/res/icons/72x72.png


BIN
unpackage/res/icons/76x76.png


BIN
unpackage/res/icons/80x80.png


BIN
unpackage/res/icons/87x87.png


BIN
unpackage/res/icons/96x96.png