Browse Source

报损不显示价格

shish 3 years ago
parent
commit
4637603b70

+ 2 - 1
ghsApp/src/admin/breakage/index.vue

@@ -68,7 +68,8 @@
 		<!-- 花材不足提示框 -->
 		<!-- 花材不足提示框 -->
 		<modal-module :show="showSubmitModel" title="确认下一步?" color="#333" :size="32" padding="30upx 30upx" >
 		<modal-module :show="showSubmitModel" title="确认下一步?" color="#333" :size="32" padding="30upx 30upx" >
 		</modal-module>
 		</modal-module>
-		<FooterCart :price="allPrice" :count="allCount" @confirm="confirmToSave" ></FooterCart>
+
+		<FooterCart :price="allPrice" :count="allCount" @confirm="confirmToSave" :selectJobType="selectJobType" ></FooterCart>
 
 
 		<uni-popup ref="selectFlowerNumRef" background-color="#fff" type="center" :animation="false" class="class-popup-style">
 		<uni-popup ref="selectFlowerNumRef" background-color="#fff" type="center" :animation="false" class="class-popup-style">
 			<view style="display:flex;padding:20upx;height:auto;justify-content: space-between;align-items:center;flex-wrap:wrap;max-height:100vh;overflow:auto;">
 			<view style="display:flex;padding:20upx;height:auto;justify-content: space-between;align-items:center;flex-wrap:wrap;max-height:100vh;overflow:auto;">

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

@@ -8,18 +8,21 @@
 				<view class="price" v-if="!offPrice">
 				<view class="price" v-if="!offPrice">
 					<text v-if="count.bigLength>0">{{count.bigLength}}扎</text>
 					<text v-if="count.bigLength>0">{{count.bigLength}}扎</text>
 					<text v-if="count.smallLength>0">{{count.smallLength}}支</text>
 					<text v-if="count.smallLength>0">{{count.smallLength}}支</text>
-					<text style="margin-left:15upx;">¥{{ price }}</text>
+					<text v-if="selectJobType!='wastage'" style="margin-left:15upx;">¥{{ price }}</text>
 				</view>
 				</view>
 			</view>
 			</view>
 			<view class="cart-rg_bx" @click="confirmEvent"> 选好了 </view>
 			<view class="cart-rg_bx" @click="confirmEvent"> 选好了 </view>
 		</div>
 		</div>
 	</div>
 	</div>
 </template>
 </template>
-
 <script>
 <script>
 export default {
 export default {
 	name: "FooterCart",
 	name: "FooterCart",
 	props: {
 	props: {
+		selectJobType:{
+			type:String,
+			default:''
+		},
 		offPrice:{
 		offPrice:{
 			type: Boolean,
 			type: Boolean,
 			default: false
 			default: false