Просмотр исходного кода

零售 商品 添加修改商品 价格 手机端不能输入小数点、声音通知断开连接之后需要重新建立连接、这个列表点进去 查看详情,然后再返回,需要返回到这个列表,现在返回到首页去了、供货商 订单 详单详情字体改大、【零售】和【供货商】的盘点 不需要显示价格,盘点只管库存

jf 5 лет назад
Родитель
Сommit
b23d8eb899

+ 6 - 0
ghsApp/src/admin/billing/priceChange.vue

@@ -66,6 +66,12 @@ export default {
     };
   },
   methods: {
+			searchFnContrapose(){
+				this.page = 1;
+				this.isMore = true;
+				this.filterProductInfoContrapose = [];
+				this.initDataContrapose()
+			},
   }
 };
 </script>

+ 5 - 1
ghsApp/src/components/module/app-footer-cart.vue

@@ -8,7 +8,7 @@
 						{{ count.bigLength }}<text v-if="count.smallLength>0">/{{count.smallLength}}</text>
 					</view>
 				</view>
-				<view class="price"> ¥{{ price }} </view>
+				<view class="price" v-if="!offPrice"> ¥{{ price }} </view>
 			</view>
 			<view class="cart-rg_bx" @click="confirmEvent">
 				选好了
@@ -21,6 +21,10 @@
 export default {
 	name: "FooterCart",
 	props: {
+		offPrice:{
+			type: Boolean,
+			default: false
+		},
 		price: {
 			type: Number,
 			default: 0

+ 1 - 1
ghsApp/src/mixins/priceSocket.js

@@ -9,7 +9,7 @@ export default {
 			priceSocket: null
 		};
 	},
-	onLaunch() {
+	onShow() {
 		this.priceSocketFun();
 
 	},

+ 16 - 16
ghsApp/src/pagesArrears/list.vue

@@ -17,7 +17,7 @@
 					</view>
 					<view class="item-main" @click="gotoDetailsEvent(item)">
 						<view class="phone" @click.stop="callUp(item.mobile)" ><i class="iconfont icondianhua1"></i> {{ item.mobile }}</view>
-						<view class="price">-{{ item.debtAmount }} <text class="iconfont iconxiangyou"></text>
+						<view class="price">{{ item.debtAmount }} <text class="iconfont iconxiangyou"></text>
 						</view>
 					</view>
 				</view>
@@ -34,7 +34,7 @@
 					¥
 				</text>
 				<text class="price">
-					-{{ debtAmount }}
+					{{ debtAmount }}
 				</text>
 			</view>
 		</view>
@@ -81,7 +81,7 @@ export default {
 						data: { customNum, debtAmount }
 					} = res;
 					this.customNum = customNum;
-					this.debtAmount = debtAmount;
+					this.debtAmount = Number(debtAmount).toFixed(2);
 
 					this.completes(res);
 					this.listLoading = false;
@@ -91,20 +91,20 @@ export default {
 				});
 		},
 		gotoDetailsEvent(item) {
-			// uni.navigateTo({
-			// 	url: `/pagesArrears/details?id=${item.id}`,
-			// 	success: result => {},
-			// 	fail: () => {},
-			// 	complete: () => {}
-			// });
-
-			this.pageTo({
-				url: "/pagesArrears/details",
-        type: 2,
-				query: {
-					id: item.id
-				}
+			uni.navigateTo({
+				url: `/pagesArrears/details?id=${item.id}`,
+				success: result => {},
+				fail: () => {},
+				complete: () => {}
 			});
+
+			// this.pageTo({
+			// 	url: "/pagesArrears/details",
+   //      type: 2,
+			// 	query: {
+			// 		id: item.id
+			// 	}
+			// });
 		},
 		searchFn() {
 			this.resetList();

+ 2 - 2
ghsApp/src/pagesOrder/detail.vue

@@ -111,11 +111,11 @@
 				<div class="module-com input-line-wrap">
 					<tui-list-cell class="line-cell" :hover="false">
 						<div class="tui-title">运费</div>
-						<div class="detail-price_box">¥{{ detailInfo.sendCost }}</div>
+						<div class="detail-price_box" style="font-size: 36rpx">¥{{ detailInfo.sendCost }}</div>
 					</tui-list-cell>
 					<tui-list-cell class="line-cell" :hover="false">
 						<div class="tui-title">总金额</div>
-						<div class="detail-price_box red">¥{{ detailInfo.actPrice}}</div>
+						<div class="detail-price_box red" style="font-size: 36rpx">¥{{ detailInfo.actPrice}}</div>
 					</tui-list-cell>
 				</div>
 			</view>

+ 1 - 1
hdApp/src/admin/goodsManage/add.vue

@@ -60,7 +60,7 @@
             name="price"
             placeholder="请输入"
             maxlength="50"
-            type="number"
+            type="digit"
           />
           <div class="tui-prompt">元</div>
         </tui-list-cell>