jiangping
2023-09-18 8d322f025a9483030a47d4671c5fa7502bbcb930
platform/src/components/business/OperaGoodsWindow.vue
@@ -98,8 +98,8 @@
<script>
import BaseOpera from '@/components/base/BaseOpera'
import GlobalWindow from '@/components/common/GlobalWindow'
import { brand } from '@/api/system/common.js'
import { findListForGoodsId, create, updateById, companyCreate, companyUpdateById } from '@/api/business/goods.js'
import { baseCategory,brand } from '@/api/system/common.js'
import {  create, updateById, companyCreate, companyUpdateById } from '@/api/business/goods.js'
export default {
  name: 'OperaGoodsWindow',
  extends: BaseOpera,
@@ -315,13 +315,13 @@
      this.form.imgurl = ''
    },
      getbrand() {
        brand({})
        brand({status:0})
          .then(res => {
            this.brandList = res
          })
      },
      getcategory(type) {
        findListForGoodsId(this.form.id || '')
        baseCategory({status:0 , type:1})
          .then(res => {
            this.categoryList = res
            if (type === 1) {