|
@@ -13,7 +13,13 @@
|
|
|
<scroll-view scroll-y scroll-with-animation class="main-view">
|
|
<scroll-view scroll-y scroll-with-animation class="main-view">
|
|
|
<view class="space-view ex-table">
|
|
<view class="space-view ex-table">
|
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
|
- <t-tr header><t-th><view style="width:270upx;text-align:left;">花材</view></t-th><t-th>库存</t-th><t-th>批发价</t-th><t-th>零售价</t-th></t-tr>
|
|
|
|
|
|
|
+ <t-tr header>
|
|
|
|
|
+ <t-th><view style="width:240upx;text-align:left;">花材</view></t-th>
|
|
|
|
|
+ <t-th>库存</t-th>
|
|
|
|
|
+ <t-th>会员价</t-th>
|
|
|
|
|
+ <t-th>批发价</t-th>
|
|
|
|
|
+ <t-th>零售价</t-th>
|
|
|
|
|
+ </t-tr>
|
|
|
<block v-if="!$util.isEmpty(classItemData)">
|
|
<block v-if="!$util.isEmpty(classItemData)">
|
|
|
<block v-for="(classItem,classIndex) in classItemData" :key="classIndex">
|
|
<block v-for="(classItem,classIndex) in classItemData" :key="classIndex">
|
|
|
<block v-if="classItem.child && !$util.isEmpty(classItem.child)">
|
|
<block v-if="classItem.child && !$util.isEmpty(classItem.child)">
|
|
@@ -30,7 +36,7 @@
|
|
|
<block v-for="(productItem, productIndex) in classItem.child" :key="productIndex">
|
|
<block v-for="(productItem, productIndex) in classItem.child" :key="productIndex">
|
|
|
<t-tr>
|
|
<t-tr>
|
|
|
<t-td>
|
|
<t-td>
|
|
|
- <view style="width:270upx;text-align:left;color:#333333;font-size:30upx;
|
|
|
|
|
|
|
+ <view style="width:240upx;text-align:left;color:#333333;font-size:30upx;
|
|
|
overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"
|
|
overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"
|
|
|
@click="pageTo({url:'/admin/item/detail',query:{id: productItem.id}})">
|
|
@click="pageTo({url:'/admin/item/detail',query:{id: productItem.id}})">
|
|
|
{{productItem.name}}
|
|
{{productItem.name}}
|
|
@@ -44,6 +50,12 @@
|
|
|
</t-td>
|
|
</t-td>
|
|
|
<t-td>
|
|
<t-td>
|
|
|
<view style="font-size:30upx;"
|
|
<view style="font-size:30upx;"
|
|
|
|
|
+ @click="pageTo({url:'/admin/item/detail',query:{id: productItem.id}})">
|
|
|
|
|
+ ¥{{productItem.hjPrice?parseFloat(productItem.hjPrice):0}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </t-td>
|
|
|
|
|
+ <t-td>
|
|
|
|
|
+ <view style="color:#333333;font-weight:bold;font-size:30upx;"
|
|
|
@click="pageTo({url:'/admin/item/detail',query:{id: productItem.id}})">
|
|
@click="pageTo({url:'/admin/item/detail',query:{id: productItem.id}})">
|
|
|
¥{{productItem.price?parseFloat(productItem.price):0}}
|
|
¥{{productItem.price?parseFloat(productItem.price):0}}
|
|
|
</view>
|
|
</view>
|
|
@@ -122,6 +134,9 @@ export default {
|
|
|
this.showStock()
|
|
this.showStock()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ init(){
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
allOutSelectShop(flag){
|
|
allOutSelectShop(flag){
|
|
|
//是否直接入库
|
|
//是否直接入库
|
|
|
this.confirmIn = flag
|
|
this.confirmIn = flag
|