Преглед на файлове

物料分类接口调整

NULL1222 преди 1 седмица
родител
ревизия
bed4480235
променени са 2 файла, в които са добавени 4 реда и са изтрити 6 реда
  1. 1 1
      src/bgj/ServiceMaterialClass/index.vue
  2. 3 5
      src/bgj/headquartersServiceMaterial/modules/addClass.vue

+ 1 - 1
src/bgj/ServiceMaterialClass/index.vue

@@ -7,7 +7,7 @@
       }"
       tableName="brandTable"
       idName="sa_brand_bgjid"
-      :apiId="{query:20220922085104,del:20220922085204}"
+      :apiId="{query:20220922085103,del:20220922085204}"
       :options="options"
     >
       <div slot="custom">

+ 3 - 5
src/bgj/headquartersServiceMaterial/modules/addClass.vue

@@ -82,7 +82,6 @@ export default {
     methods: {
         async onSubmit(data) {
             let res = await this.$api.requested({
-                // id: 20220927090102,
                 id: 20220927090106,
                 content: {
                     itemtype: 1, //1=总部 2=本地
@@ -98,10 +97,9 @@ export default {
         },
         async getClassList() {
             let res = await this.$api.requested({
-                // id: "20230325141103",
-                id: "20230325141106",
+                id: "20230325141103",
                 content: {
-                    sc_brandid: 0,
+                    sa_brandid: 0,
                     itemid: this.$route.query.id,
                     where: {
                         istool: this.data.data.istool ? 1 : 0,
@@ -127,7 +125,7 @@ export default {
                     itemclassname: node.itemclassfullname
                         ? node.itemclassfullname
                         : node.itemclassname,
-                    itemclassid: node.sc_itemclassid,
+                    itemclassid: node.itemclassid,
                     itemclassnum: node.itemclassnum,
                     children: [],
                     disabled: first ? false : true,