Forráskód Böngészése

修改 INTTRA DOOR TO 显示规则

wfg 1 hónapja
szülő
commit
045302ac14

+ 16 - 2
src/views/iosBasicData/SeafreightExportF/bills/assembly/formbottom.vue

@@ -693,7 +693,8 @@ export default {
                 });
                 return
             }
-            if (this.assemblyForm.serviceTerms == 'DOOR to CY') {
+            // if (this.assemblyForm.serviceTerms == 'DOOR to CY') {
+            if (this.assemblyForm.serviceTerms.startsWith('DOOR')) {
                 this.inttraTitle = 'DoorTo'
                 this.inttraText = 'DOOR TO'
                 // this.inttraBcorpslistByType()
@@ -701,13 +702,15 @@ export default {
                 this.inttraDoorToVisible = true
                 this.inttraToDoorVisible = false
                 //
-            } else if (this.assemblyForm.serviceTerms == 'CY to DOOR') {
+            // } else if (this.assemblyForm.serviceTerms == 'CY to DOOR') {
+            } else if (this.assemblyForm.serviceTerms.endsWith('DOOR')) {
                 this.inttraTitle = 'ToDoor'
                 this.inttraText = 'TO DOOR'
                 // this.inttraBcorpslistByType()
                 this.inttraVisible = true
                 this.inttraDoorToVisible = false
                 this.inttraToDoorVisible = true
+            /*
             } else if (this.assemblyForm.serviceTerms == 'DOOR to DOOR') {
                 this.inttraTitle = 'ToDoor'
                 this.inttraText = 'DOOR TO DOOR'
@@ -715,7 +718,10 @@ export default {
                 this.inttraVisible = true
                 this.inttraDoorToVisible = true
                 this.inttraToDoorVisible = true
+
+             */
             } else {
+                /*
                 this.$confirm('请选择其他的服务方式', {
                     confirmButtonText: "确定",
                     cancelButtonText: "取消",
@@ -725,6 +731,14 @@ export default {
                 }).catch(() => {
                     console.log('11111111')
                 })
+                */
+                // 全部显示
+                this.inttraTitle = 'DoorToDoor'
+                this.inttraText = 'DOOR TO OR TO DOOR'
+                // this.inttraBcorpslistByType()
+                this.inttraVisible = true
+                this.inttraDoorToVisible = true
+                this.inttraToDoorVisible = true
             }
             console.log(this.assemblyForm.serviceTerms, this.inttraDoorToVisible, this.inttraToDoorVisible)