|
|
@@ -26,8 +26,8 @@
|
|
|
<view class="item_list_title"> {{ classItem.className }}</view>
|
|
|
<view v-if="classItem.child && !$util.isEmpty(classItem.child)">
|
|
|
<template v-for="(productItem, productIndex) in classItem.child">
|
|
|
- <view style="height:240upx" :id="`class_${classIndex}`" :key="productIndex">
|
|
|
- <ItemStock v-if="classItem.isActive" :isPrice="false" :info="productItem" @goToProduct="goToProduct" @moreToDo="moreToDo" ></ItemStock>
|
|
|
+ <view style="height:255upx" :id="`class_${classIndex}`" :key="productIndex">
|
|
|
+ <ItemComponent v-if="classItem.isActive" :isPrice="false" :info="productItem" @goToProduct="goToProduct" @moreToDo="moreToDo" ></ItemComponent>
|
|
|
</view>
|
|
|
</template>
|
|
|
</view>
|
|
|
@@ -51,17 +51,17 @@
|
|
|
<script>
|
|
|
import AppSearchModule from "@/components/module/app-search";
|
|
|
import AppWrapperEmpty from "@/components/app-wrapper-empty";
|
|
|
-import ItemStock from "./components/ItemStock";
|
|
|
+import ItemComponent from "./components/Item";
|
|
|
import productMins from "@/mixins/product";
|
|
|
import { mapGetters } from "vuex";
|
|
|
import { getWeixinId } from "@/api/invite/index";
|
|
|
import { generatePriceTable,generateBarcodeTable,print } from '@/api/product'
|
|
|
export default {
|
|
|
- name: "item_list",
|
|
|
+ name: "list",
|
|
|
components: {
|
|
|
AppSearchModule,
|
|
|
AppWrapperEmpty,
|
|
|
- ItemStock
|
|
|
+ ItemComponent
|
|
|
},
|
|
|
mixins: [productMins],
|
|
|
data() {
|