Ver código fonte

Merge branch 'master' of git.echepei.com:zhujiawei/Warehouse_management_ui

wengyuwen 4 anos atrás
pai
commit
3079f9c7d3

+ 1 - 4
src/views/basicdata/warehouse/index.vue

@@ -367,6 +367,7 @@ export default {
         }).then(() => {
           this.getList();
           this.msgSuccess("删除成功");
+          rows.splice(index1, 1)
         })
       } else {
         rows.splice(index1, 1)
@@ -381,10 +382,6 @@ export default {
         this.loading = false;
       });
     },
-    // 检验唯一
-    testFno(){
-       alert(1);
-    },
     // 取消按钮
     cancel() {
       this.open = false;

+ 6 - 6
src/views/warehouseBusiness/outStock/index.vue

@@ -3422,12 +3422,12 @@ export default {
     changefWarehouseid(row) {
       for (let corp in this.warehouseOptions) {
         if (row.fWarehouseid === this.warehouseOptions[corp].fId) {
-          // this.$set(
-          //   this.form,
-          //   "fContacts",
-          //   this.warehouseOptions[corp].createBy
-          // );
-          // this.$set(this.form, "fTel", this.warehouseOptions[corp].fTotalgross);
+          this.$set(
+            this.form,
+            "fContacts",
+            this.warehouseOptions[corp].fContacts
+          );
+          this.$set(this.form, "fTel", this.warehouseOptions[corp].fTel);
           this.fAddr = this.warehouseOptions[corp].fAddr;
         }
       }