shish 2 anni fa
parent
commit
e47d7600f9
1 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. 8 1
      ghsApp/src/admin/stat/stock.vue

+ 8 - 1
ghsApp/src/admin/stat/stock.vue

@@ -18,7 +18,8 @@
 							<t-th>库存</t-th>
 							<t-th>大客价</t-th>
 							<t-th>批发价</t-th>
-							<t-th><view @click="clearAllStock()">零售价</view></t-th>
+							<t-th>零售价</t-th>
+							<t-th><view @click="clearAllStock()">成本</view></t-th>
 						</t-tr>
 						<block v-if="!$util.isEmpty(classItemData)">
 							<block v-for="(classItem,classIndex) in classItemData" :key="classIndex">
@@ -66,6 +67,12 @@
 														¥{{productItem.skPrice?parseFloat(productItem.skPrice):0}}
 													</view>
 												</t-td>
+												<t-td>
+													<view style="font-size:30upx;" 
+													@click="pageTo({url:'/admin/item/detail',query:{id: productItem.id}})">
+														¥{{productItem.cost?parseFloat(productItem.cost):0}}
+													</view>
+												</t-td>
 											</t-tr>
 										</block>
 									</template>