Browse Source

提交箱管

caojunjie 2 năm trước cách đây
mục cha
commit
9a8f839547
1 tập tin đã thay đổi với 26 bổ sung26 xóa
  1. 26 26
      src/views/boxManagement/leaseIn/detailsPage.vue

+ 26 - 26
src/views/boxManagement/leaseIn/detailsPage.vue

@@ -423,15 +423,15 @@ export default {
           prop: 'code',
           width: 100,
           overHidden: true,
-          filterable: true,
-          remote: true,
-          allowCreate: true,
-          type: "select",
-          dicUrl: "/api/blade-box-tube/archives/selectArchivesList?size=10&current=1&code={{key}}",
-          props: {
-            label: "code",
-            value: "code"
-          },
+          // filterable: true,
+          // remote: true,
+          // allowCreate: true,
+          // type: "select",
+          // dicUrl: "/api/blade-box-tube/archives/selectArchivesList?size=10&current=1&code={{key}}",
+          // props: {
+          //   label: "code",
+          //   value: "code"
+          // },
           rules: [{
             required: true,
             message: " ",
@@ -707,23 +707,23 @@ export default {
       this.costData = res.data.data
     })
     //下拉箱号带出对应信息
-    this.findObject(this.option.column, "code").change = ({value, column}) => {
-      selectArchivesList({code: value}).then(res => {
-        for (let item of res.data.data) {
-          if (value == item.code) {
-            this.formTwo = {
-              boxSource: item.boxSource,
-              boxStatus: item.boxStatus,
-              emptyWeight: item.emptyWeight,
-              grossWeight: item.gorssWeight,
-              tare: item.tare,
-              loadingWeight: item.loadingWeight,
-              volume: item.volume,
-            }
-          }
-        }
-      })
-    }
+    // this.findObject(this.option.column, "code").change = ({value, column}) => {
+    //   selectArchivesList({code: value}).then(res => {
+    //     for (let item of res.data.data) {
+    //       if (value == item.code) {
+    //         this.formTwo = {
+    //           boxSource: item.boxSource,
+    //           boxStatus: item.boxStatus,
+    //           emptyWeight: item.emptyWeight,
+    //           grossWeight: item.gorssWeight,
+    //           tare: item.tare,
+    //           loadingWeight: item.loadingWeight,
+    //           volume: item.volume,
+    //         }
+    //       }
+    //     }
+    //   })
+    // }
     this.key++
     if (this.onLoad.id && this.detailData.id) {
       this.refresh(this.onLoad.id, true)