shish 2 месяцев назад
Родитель
Сommit
24fcfb46aa
1 измененных файлов с 32 добавлено и 0 удалено
  1. 32 0
      ghsApp/src/pagesOrder/detail.vue

+ 32 - 0
ghsApp/src/pagesOrder/detail.vue

@@ -302,6 +302,11 @@
 									<text class="item-count" v-else>-</text>
 								</view>
 							</view>
+							<view class="dish-tag-row" v-if="detailInfo.shopBusiness == 2">
+								<text class="dish-num" v-if="Number(s.dishNum)>0">{{ s.dishNum }}筛</text>
+								<text class="dish-num" v-else>-</text>
+								<button class="admin-button-com middle dish-print-btn" @click.stop="">打印</button>
+							</view>
 						</view>
 					</view>
 					<view class="summary-bar">
@@ -1807,6 +1812,7 @@ export default {
 			padding: 20upx;
 			.commodity-item {
 				display: flex;
+				flex-wrap: wrap;
 				margin-bottom: 20upx;
 				.item-icon {
 					flex-shrink: 0;
@@ -1852,6 +1858,32 @@ export default {
 						}
 					}
 				}
+				.dish-tag-row {
+					width: 100%;
+					flex: 0 0 100%;
+					margin-top: 12upx;
+					padding: 12upx 16upx;
+					border: 1upx solid #eeeeee;
+					border-radius: 8upx;
+					box-sizing: border-box;
+					background-color: #fafafa;
+					display: flex;
+					align-items: center;
+					justify-content: space-between;
+					.dish-num {
+						color:rgb(156, 150, 150);
+						font-size: 28upx;
+						font-weight: 600;
+					}
+					.dish-print-btn {
+						width: 120upx;
+						padding-top: 12upx;
+						padding-bottom: 12upx;
+						font-size: 26upx;
+						color:#b4b2b2;
+						border-color:#b4b2b2;
+					}
+				}
 			}
 		}
 		.summary-bar {