web100 hace 2 años
padre
commit
63c4d1a6bd

+ 0 - 5
src/views/statisticAnalysis/specificationsDelivery/index.vue

@@ -191,11 +191,6 @@ export default {
     this.option = await this.getColumnData(this.getColumnName(230), this.optionBack);
     this.getAllWorkDicts()
   },
-  activated() {
-   this.$nextTick(() => {
-      this.$refs.crud.refreshTable();
-    });
-  },
   methods: {
     getAllWorkDicts() {
       // this.option.height = window.innerHeight - 210;

+ 3 - 3
src/views/tirePartsMall/basicData/commodityInformation/detailsPage.vue

@@ -100,12 +100,12 @@ import {
   getStoragelist,
   storagesubmit } from "@/api/basicData/product";
 import {
-    getDetails,
+    // getDetails,
     getCorpType,
-    submit,
+    // submit,
     customerList,
     itemDel,
-    disabled
+    // disabled
 } from "@/api/tirePartsMall/basicData/commodityInformation"
 import {optionList} from "./js/optionList";
 import goodsType from '@/components/goodsType/index'

+ 16 - 14
src/views/tirePartsMall/basicData/customerInformation/detailsPage.vue

@@ -310,20 +310,22 @@ export default {
               trigger: "blur"
             }
           ]
-        }, {
-          label: "共享公司",
-          prop: "sharedCompany",
-          search: true,
-          overHidden: true,
-          width: 120,
-          rules: [
-            {
-              required: true,
-              message: " ",
-              trigger: "blur"
-            }
-          ]
-        }, {
+        }, 
+        // {
+        //   label: "共享公司",
+        //   prop: "sharedCompany",
+        //   search: true,
+        //   overHidden: true,
+        //   width: 120,
+        //   rules: [
+        //     {
+        //       required: true,
+        //       message: " ",
+        //       trigger: "blur"
+        //     }
+        //   ]
+        // }, 
+        {
           label: "备注",
           prop: "remarks",
           type: "textarea",

+ 3 - 9
src/views/tirePartsMall/basicData/supplier/detailsPage.vue

@@ -339,9 +339,6 @@ export default {
         }
       }
     },
-    refreshPage() {
-      this.load()
-    },
     rowDelBox(row, index, isButton) {
       this.$confirm("确定将选择数据删除?", {
         confirmButtonText: "确定",
@@ -357,18 +354,17 @@ export default {
                   type: "success",
                   message: "删除成功!"
                 });
-                this.refreshPage();
+                this.form.corpsAttnList.splice(index, 1);
               }
             });
-          }else{
+          } else {
             itemDel(row.id).then(res => {
               if (res.data.code == 200) {
                 this.$message({
                   type: "success",
                   message: "删除成功!"
                 });
-                this.refreshPage();
-
+                this.form.corpsAddrList.splice(index, 1);
               }
             });
           }
@@ -382,10 +378,8 @@ export default {
           if (isButton === 'rowDelBox1') {
             this.form.corpsAttnList.splice(index, 1);
           } else {
-
             this.form.corpsAddrList.splice(index, 1);
           }
-          console.log(this.form.corpsAddrList);
           // this.form.contactsList.splice(index, 1);
           this.$message.success("操作成功!");
         }