瀏覽代碼

货代bug 2024-1-26

caojunjie 1 年之前
父節點
當前提交
81ff074876

+ 28 - 6
src/views/approveDataH/index.vue

@@ -51,10 +51,14 @@
                      :disabled="scope.row.auditStatus != 'S'"
                      @click.stop="printWindowfun(scope.row,'HYJK-DJ')">审批
           </el-button>
-          <!--<el-button type="text" size="small" v-if="scope.row.checkType == 'KYCK-DJ'"-->
-          <!--           :disabled="scope.row.auditStatus != 'S'"-->
-          <!--           @click.stop="printWindowfun(scope.row,'KYCK-DJ')">审批-->
-          <!--</el-button>-->
+          <el-button type="text" size="small" v-if="scope.row.checkType == 'KYCK-DJ'"
+                     :disabled="scope.row.auditStatus != 'S'"
+                     @click.stop="printWindowfun(scope.row,'KYCK-DJ')">审批
+          </el-button>
+          <el-button type="text" size="small" v-if="scope.row.checkType == 'KYJK-DJ'"
+                     :disabled="scope.row.auditStatus != 'S'"
+                     @click.stop="printWindowfun(scope.row,'KYJK-DJ')">审批
+          </el-button>
           <el-button type="text" size="small"
                      v-else-if="scope.row.checkType == 'HYCK-FFSQ'"
                      :disabled="scope.row.auditStatus != 'S'"
@@ -247,6 +251,12 @@ export default {
                   classifyCode:'业务',
                   groupCode:'销售报告'
               }
+          }else if (type == 'KYJK-DJ') {
+              obj = {
+                  businessType:'KYJK',
+                  classifyCode:'业务',
+                  groupCode:'销售报告'
+              }
           } else if (type == 'HYCK-FFSQ') {
               obj = {
                   businessType:'FFSQ',
@@ -256,15 +266,27 @@ export default {
           }else if (type == 'sea-approve') {
               obj = {
                   businessType:'AMEND',
-                  classifyCode:'AMEND',
+                  classifyCode:'AMENDSE',
                   groupCode:'SE'
               }
           }else if (type == 'sia-approve') {
               obj = {
                   businessType:'AMEND',
-                  classifyCode:'AMEND',
+                  classifyCode:'AMENDSI',
                   groupCode:'SI'
               }
+          }else if (type == 'aea-approve') {
+              obj = {
+                  businessType:'AMEND',
+                  classifyCode:'AMENDAE',
+                  groupCode:'AE'
+              }
+          }else if (type == 'aia-approve') {
+              obj = {
+                  businessType:'AMEND',
+                  classifyCode:'AMENDAI',
+                  groupCode:'AI'
+              }
           }else {}
           getreportsList(1, 10, obj).then(res=>{
               this.reportRadio(res.data.data.records[0])

+ 4 - 4
src/views/iosBasicData/AirtransportExport/bills/assembly/mbinformation.vue

@@ -668,16 +668,16 @@
                     this.vesselData = res.data.data.records
                 })
             },
-            // 获取公司数据
+            // 获取航空公司数据
             carrierBcorpsListfun(cnName){
-                let corpType = '1712286570540703745'
+                let corpType = '1712286652421906433'
                 getBcorpsList(1,10,{cnName,corpType}).then(res=>{
                     this.carrierData = res.data.data.records
                 })
             },
-            // 获取站数据
+            // 获取站数据
             cyBcorpslistByType(cnName){
-                let corpType = '1712286771737272322'
+                let corpType = '1712286872304099330'
                 getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
                     this.cyData = res.data.data.records
                 })

+ 4 - 4
src/views/iosBasicData/AirtransportImport/bills/assembly/mbinformation.vue

@@ -668,16 +668,16 @@
                     this.vesselData = res.data.data.records
                 })
             },
-            // 获取公司数据
+            // 获取航空公司数据
             carrierBcorpsListfun(cnName){
-                let corpType = '1712286570540703745'
+                let corpType = '1712286652421906433'
                 getBcorpsList(1,10,{cnName,corpType}).then(res=>{
                     this.carrierData = res.data.data.records
                 })
             },
-            // 获取站数据
+            // 获取站数据
             cyBcorpslistByType(cnName){
-                let corpType = '1712286771737272322'
+                let corpType = '1712286872304099330'
                 getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
                     this.cyData = res.data.data.records
                 })

+ 11 - 11
src/views/iosBasicData/AirtransportImport/bills/billsDetails.vue

@@ -839,19 +839,19 @@ import {
             },
             // 申请B/L NO
             billsGetBillNofun(){
-                let billNoFormat = 'CYJK'
+                let billNoFormat = 'KYJK'
                 // if (this.form.cargoType == 'dry') {
-                //     billNoFormat = 'CYJK-PH'
+                //     billNoFormat = 'KYJK-PH'
                 // }else if (this.form.cargoType == 'danger') {
-                //     billNoFormat = 'CYJK-WXP'
+                //     billNoFormat = 'KYJK-WXP'
                 // }else if (this.form.cargoType == 'reefer') {
-                //     billNoFormat = 'CYJK-DG'
+                //     billNoFormat = 'KYJK-DG'
                 // }else {}
                 if (this.form.cargoType) {
-                    billNoFormat = 'CYJK-WXP'
+                    billNoFormat = 'KYJK-WXP'
                 }
                 billsGetBillNo({
-                    businessTypeCode:'CYJK',
+                    businessTypeCode:'KYJK',
                     billNoFormat:billNoFormat
                 }).then(res=>{
                     this.columnforfun('hpaymode').disabled = false
@@ -1284,22 +1284,22 @@ import {
             billsSubmitfun(){
                 // if (this.form.cargoType = 'dry') {
                 //     // 普货
-                //     this.form.billNoFormat = 'CYJK-PH'
+                //     this.form.billNoFormat = 'KYJK-PH'
                 // }else if (this.form.cargoType = 'danger'){
                 //     // 危险品
-                //     this.form.billNoFormat = 'CYJK-WXP'
+                //     this.form.billNoFormat = 'KYJK-WXP'
                 // }else if (this.form.cargoType = 'reefer') {
                 //     // 冻柜
-                //     this.form.billNoFormat = 'CYJK-DG'
+                //     this.form.billNoFormat = 'KYJK-DG'
                 // }else {
                 //
                 // }
                 if (this.form.cargoType) {
                     this.form.billNoFormat = 'KYJK-WXP'
                 }else {
-                    this.form.billNoFormat = 'CYJK'
+                    this.form.billNoFormat = 'KYJK'
                 }
-                this.form.businessTypeCode = 'CYJK'
+                this.form.businessTypeCode = 'KYJK'
                 // 把拼接的数据拆开 开始 🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒
                 this.searchSplit()
                 // 把拼接的数据拆开 结束 💩💩💩💩💩💩💩💩💩💩💩💩💩💩