jiangping
2023-09-18 74d80f67e70666dbd38b1f0b5e4c0c7772fa5b8c
platform/src/views/business/goods.vue
@@ -104,8 +104,8 @@
import Pagination from '@/components/common/Pagination'
import OperaGoodsWindow from '@/components/business/OperaGoodsWindow'
import selectProduct from '@/components/business/selectProduct'
import { brand, category, importExcel } from '@/api/system/common.js'
import { updateDisableById, queryById, exportDoc, batchUpdateDisableById } from '@/api/business/goods.js'
import { brand, baseCategory, importExcel } from '@/api/system/common.js'
import { updateStatusById, queryById, exportDoc, batchUpdateDisableById } from '@/api/business/goods.js'
export default {
  name: 'Goods',
  extends: BaseTable,
@@ -237,13 +237,13 @@
      return nums;
    },
    getbrand() {
      brand({})
      brand({type:1})
        .then(res => {
          this.brandList = res
        })
    },
    getcategory() {
      category({})
      baseCategory({})
        .then(res => {
          this.categoryList = res
        })