Sfoglia il codice sorgente

去除不必要字段

caojunjie 3 anni fa
parent
commit
ce6591f803
1 ha cambiato i file con 4 aggiunte e 8 eliminazioni
  1. 4 8
      src/views/landTransportation/bulkCargo/detailPage.vue

+ 4 - 8
src/views/landTransportation/bulkCargo/detailPage.vue

@@ -2108,7 +2108,7 @@ export default {
     this.key++
     if (this.id) {
       if (this.id.slice(0, 4) === 'copy') {
-        detailDelegationList({id: this.id.slice(4, this.id.length), kind: '1'}).then(res => {
+        detailDelegationList({id: this.id.slice(4, this.id.length)}).then(res => {
           this.goodsForm = res.data.data
           this.tableData = res.data.data.loadingAddressList || []
           this.tableDataTwo = res.data.data.unloadedAddressList || []
@@ -2150,7 +2150,7 @@ export default {
         } else {
           this.returnButton = false
         }
-        detailDelegationList({id: this.id.slice(2, this.id.length), kind: '1'}).then(res => {
+        detailDelegationList({id: this.id.slice(2, this.id.length)}).then(res => {
           this.goodsForm = res.data.data
           this.tableData = res.data.data.loadingAddressList || []
           this.tableDataTwo = res.data.data.unloadedAddressList || []
@@ -2183,7 +2183,7 @@ export default {
           }
         })
       } else {
-        detailDelegationList({id: this.id, kind: '1'}).then(res => {
+        detailDelegationList({id: this.id}).then(res => {
           this.goodsForm = res.data.data
           if (this.roleName.indexOf('经理') !== -1 || this.roleName.indexOf('部门经理') !== -1 || this.roleName.indexOf('总经理') !== -1 || this.roleName.indexOf('总调度') !== -1) {
             this.goodsForm.status = 5
@@ -2427,7 +2427,7 @@ export default {
       } else {
         ids = this.id
       }
-      detailDelegationList({id: ids, kind: '1'}).then(res => {
+      detailDelegationList({id: ids}).then(res => {
         this.goodsForm = res.data.data
         this.tableData = res.data.data.loadingAddressList
         this.tableDataTwo = res.data.data.unloadedAddressList
@@ -2563,7 +2563,6 @@ export default {
       this.type = true
       saveSaveList({
         ...this.goodsForm,
-        kind: '1',
         loadingAddressList: this.tableData,
         unloadedAddressList: this.tableDataTwo,
         fileList: this.orderFilesList,
@@ -2630,7 +2629,6 @@ export default {
               delete form.orderItemList
               saveSaveList({
                 ...form,
-                kind: '1',
                 loadingAddressList: this.tableData,
                 unloadedAddressList: this.tableDataTwo,
                 fileList: this.orderFilesList,
@@ -2669,7 +2667,6 @@ export default {
       this.type = true
       saveSaveList({
         ...this.goodsForm,
-        kind: '1',
         loadingAddressList: this.tableData,
         unloadedAddressList: this.tableDataTwo,
         fileList: this.orderFilesList,
@@ -2724,7 +2721,6 @@ export default {
                 this.type = true
                 saveSaveList({
                   ...this.goodsForm,
-                  kind: '1',
                   loadingAddressList: this.tableData,
                   unloadedAddressList: this.tableDataTwo,
                   fileList: this.orderFilesList,