shish 4 лет назад
Родитель
Сommit
04df51ef4d

+ 4 - 0
ghsApp/src/admin/home/me.vue

@@ -83,6 +83,10 @@
               <div class="tui-title">提现账号</div>
             </tui-list-cell>
 
+            <tui-list-cell @click="pageTo({ url: '/admin/shop/password' })" class="line-cell" :hover="false" :arrow="true">
+              <div class="tui-title">密码修改</div>
+            </tui-list-cell>
+
             <tui-list-cell @click="pageTo({ url: '/admin/shop/print' })" class="line-cell" :hover="false" :arrow="true">
               <div class="tui-title">打印机设置</div>
             </tui-list-cell>

+ 4 - 4
ghsApp/src/admin/itemClass/addPrice.vue

@@ -13,16 +13,16 @@
 					<t-tr>
                         <t-td align="center" color="info"><view>{{item.name}}</view></t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.skAddPrice" name="skAddPrice" type="digit" style="border:1upx solid #cccccc;" /></view>
+                            <view><input v-model="item.skAddPrice" @focus="item.skAddPrice=''" name="skAddPrice" type="digit" style="border:1upx solid #cccccc;" /></view>
                         </t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.addPrice" name="price" type="digit" style="border:1upx solid #cccccc;" /></view>
+                            <view><input v-model="item.addPrice" @focus="item.addPrice=''" name="price" type="digit" style="border:1upx solid #cccccc;" /></view>
                             </t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.hjAddPrice" name="hjAddPrice" type="digit" style="border:1upx solid #cccccc;" /></view>
+                            <view><input v-model="item.hjAddPrice" @focus="item.hjAddPrice=''" name="hjAddPrice" type="digit" style="border:1upx solid #cccccc;" /></view>
                             </t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.zsAddPrice" name="zsAddPrice" type="digit" style="border:1upx solid #cccccc;" /></view>
+                            <view><input v-model="item.zsAddPrice" @focus="item.zsAddPrice=''" name="zsAddPrice" type="digit" style="border:1upx solid #cccccc;" /></view>
                             </t-td>
 					</t-tr>
 				</view>

+ 3 - 3
ghsApp/src/admin/itemClass/more.vue

@@ -12,13 +12,13 @@
 					<t-tr>
                         <t-td align="center" color="info"><view>{{item.name}}</view></t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.inTurn" name="inTurn" type="number" style="border:1upx solid #cccccc;" /></view>
+                            <view><input v-model="item.inTurn" @focus="item.inTurn=''" name="inTurn" type="number" style="border:1upx solid #cccccc;" /></view>
                         </t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.weight" name="weight" type="digit" style="border:1upx solid #cccccc;" /></view>
+                            <view><input v-model="item.weight" @focus="item.weight=''" name="weight" type="digit" style="border:1upx solid #cccccc;" /></view>
                             </t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.shelfLife" name="shelfLife" type="digit" style="border:1upx solid #cccccc;" /></view>
+                            <view><input v-model="item.shelfLife" @focus="item.shelfLife=''" name="shelfLife" type="digit" style="border:1upx solid #cccccc;" /></view>
                             </t-td>
 					</t-tr>
 				</view>

+ 2 - 1
ghsApp/src/pages.json

@@ -142,7 +142,8 @@
 				{"path": "print","style": {"navigationBarTitleText": "云打印"}},
 				{"path": "trumpet","style": {"navigationBarTitleText": "云喇叭设置"}},
 				{"path": "changeShop","style": {"navigationBarTitleText": "切换门店"}},
-				{"path": "sk","style": {"navigationBarTitleText": "零售店设置"}}
+				{"path": "sk","style": {"navigationBarTitleText": "零售店设置"}},
+				{"path": "password","style": {"navigationBarTitleText": "密码修改"}}
 			]
 		},
 		{