فهرست منبع

盘点列表页面不需要显示花材价格

jf 5 سال پیش
والد
کامیت
f4dfce0ce0
2فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 6 1
      ghsApp/src/components/module/app-commodity.vue
  2. 1 0
      ghsApp/src/pagesStorehouse/inventory/select.vue

+ 6 - 1
ghsApp/src/components/module/app-commodity.vue

@@ -7,7 +7,8 @@
 			<view class="tit" @click="addEvents">{{ info.itemName || "" }}</view>
 			<view class="tit" @click="addEvents">{{ info.itemName || "" }}</view>
 			<view class="kc" @click="addEvents">库存 {{ info.stock }}</view>
 			<view class="kc" @click="addEvents">库存 {{ info.stock }}</view>
 			<view class="num-open_bx">
 			<view class="num-open_bx">
-				<view class="price">¥{{ showPrice }}</view>
+				<view class="price" v-if="!offPrice">¥{{ showPrice }}</view>
+				<view class="price" v-else></view>
 				<view class="open-bx" v-if="type == COMMODITY_TYPE.COMMON">
 				<view class="open-bx" v-if="type == COMMODITY_TYPE.COMMON">
 					<i class="iconfont iconjian" :class="delAnimationData?'animation':''" @click="delEvent" v-if="bigCount > 0 || smallCount > 0"></i>
 					<i class="iconfont iconjian" :class="delAnimationData?'animation':''" @click="delEvent" v-if="bigCount > 0 || smallCount > 0"></i>
 					<text class="num" @click="customNum">
 					<text class="num" @click="customNum">
@@ -66,6 +67,10 @@ export default {
 			default: 0
 			default: 0
 		},
 		},
 		autoPrice: {},
 		autoPrice: {},
+		offPrice: {
+			type: Boolean,
+			default: false
+		},
 	},
 	},
 	data() {
 	data() {
 		return {
 		return {

+ 1 - 0
ghsApp/src/pagesStorehouse/inventory/select.vue

@@ -73,6 +73,7 @@
 						</view>
 						</view>
 						<template v-for="(productItem, productIndex) in classItem.child">
 						<template v-for="(productItem, productIndex) in classItem.child">
 							<Commondity
 							<Commondity
+								:offPrice="true"
 								:key="productIndex"
 								:key="productIndex"
 								:info="productItem"
 								:info="productItem"
 								:bigCount="
 								:bigCount="