wangn 5 лет назад
Родитель
Сommit
9df861b72f
1 измененных файлов с 7 добавлено и 17 удалено
  1. 7 17
      hdApp/src/pagesStorehouse/inventory/details.vue

+ 7 - 17
hdApp/src/pagesStorehouse/inventory/details.vue

@@ -52,24 +52,18 @@
 								</view>
 							</view>
 							<view v-else-if="column.custom == 'stock'">
-								<text >{{ `${item.bigNum}/` }}</text>
-								<text>{{ item.smallNum }}</text>
+								<text>{{ `${item.bigNumStock}/` }}</text>
+								<text>{{ item.smallNumStock }}</text>
 							</view>
 							<view v-else-if="column.custom == 'inventory'">
-								<text >{{ `${item.bigNumStock}/` }}</text>
-								<text>{{ item.smallNumStock }}</text>
+								<text>{{ `${item.bigNum}/` }}</text>
+								<text>{{ item.smallNum }}</text>
 							</view>
 							<view v-else-if="column.custom == 'profit'">
-								<text v-if="item.bigNumProfitLoss > 0">
-									{{ `${item.bigNumProfitLoss}/` }}
-								</text>
-								<text>
-									{{ item.smallNumProfitLoss }}
-								</text>
-							</view>
-							<view v-else>
-								{{ item[column.dataIndex] || "" }}
+								<text>{{ `${item.bigNumProfitLoss}/` }}</text>
+								<text>{{ item.smallNumProfitLoss }}</text>
 							</view>
+							<view v-else>{{ item[column.dataIndex] || "" }}</view>
 						</t-td>
 					</t-tr>
 				</t-table>
@@ -79,12 +73,8 @@
 			<view class="info-view">
 				盈亏合计:
 				<text class="price-item"> {{ sumCount }}扎 </text>
-				<text class="price-item red">
-					¥{{ dataInfo.price >= 0 ? dataInfo.price : "" }}
-				</text>
 			</view>
 		</view>
-    <kd-entrance></kd-entrance>
 	</view>
 </template>
 <script>