|
|
@@ -9,11 +9,11 @@
|
|
|
<!--<button class="admin-button-com middle blue" @click="allOutSelectShop(0)">全部出库到</button>-->
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="top-bar" style="margin-left:115upx;">实时</view>
|
|
|
+ <view class="top-bar" style="margin-left:110upx;">实时</view>
|
|
|
<scroll-view scroll-y scroll-with-animation class="main-view">
|
|
|
<view class="space-view ex-table">
|
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
|
- <t-tr header><t-th><view style="width:220upx;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:270upx;text-align:left;">花材</view></t-th><t-th>库存</t-th><t-th>花店价</t-th><t-th>散客价</t-th></t-tr>
|
|
|
<block v-if="!$util.isEmpty(classItemData)">
|
|
|
<block v-for="(classItem,classIndex) in classItemData" :key="classIndex">
|
|
|
<block v-if="classItem.child && !$util.isEmpty(classItem.child)">
|
|
|
@@ -30,7 +30,7 @@
|
|
|
<block v-for="(productItem, productIndex) in classItem.child" :key="productIndex">
|
|
|
<t-tr>
|
|
|
<t-td>
|
|
|
- <view style="width:280upx;text-align:left;color:#333333;font-size:30upx;
|
|
|
+ <view style="width:270upx;text-align:left;color:#333333;font-size:30upx;
|
|
|
overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"
|
|
|
@click="pageTo({url:'/admin/item/detail',query:{id: productItem.id}})">
|
|
|
{{productItem.name}}
|
|
|
@@ -131,7 +131,7 @@ export default {
|
|
|
this.shopId = this.getMyShopInfo.id;
|
|
|
let type = '';
|
|
|
let that = this
|
|
|
- getProductDataApi({ type, shopId: this.shopId,status:0,requestType:'hasStock'}).then(res=>{
|
|
|
+ getProductDataApi({ type, shopId: this.shopId,status:0,requestType:'hasStockList'}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
that.classItemData = res.data.classItem ? res.data.classItem : []
|
|
|
}
|