Showing
4 changed files
with
39 additions
and
34 deletions
| ... | @@ -142,10 +142,10 @@ | ... | @@ -142,10 +142,10 @@ |
| 142 | </el-col> | 142 | </el-col> |
| 143 | <el-col :span="24"> | 143 | <el-col :span="24"> |
| 144 | <el-form-item label="Handling Code"> | 144 | <el-form-item label="Handling Code"> |
| 145 | - <el-empty description="暂无数据" v-if=" | 145 | + <!-- <el-empty description="暂无数据" v-if=" |
| 146 | !selectData.HandlingCode || selectData.HandlingCode.length == 0 | 146 | !selectData.HandlingCode || selectData.HandlingCode.length == 0 |
| 147 | - "></el-empty> | 147 | + "></el-empty> --> |
| 148 | - <el-checkbox-group v-model="handingCodes" v-else> | 148 | + <el-checkbox-group v-model="handingCodes"> |
| 149 | <el-row> | 149 | <el-row> |
| 150 | <el-col :span="2" v-for="item in selectData.HandlingCode" :key="item.id"> | 150 | <el-col :span="2" v-for="item in selectData.HandlingCode" :key="item.id"> |
| 151 | <el-checkbox :label="item.chineseName" v-model="item.chineseName"> | 151 | <el-checkbox :label="item.chineseName" v-model="item.chineseName"> |
| ... | @@ -158,10 +158,10 @@ | ... | @@ -158,10 +158,10 @@ |
| 158 | </el-col> | 158 | </el-col> |
| 159 | <el-col :span="24"> | 159 | <el-col :span="24"> |
| 160 | <el-form-item label="Sub Category"> | 160 | <el-form-item label="Sub Category"> |
| 161 | - <el-empty description="暂无数据" v-if=" | 161 | + <!-- <el-empty description="暂无数据" v-if=" |
| 162 | !selectData.SubCategory || selectData.SubCategory.length == 0 | 162 | !selectData.SubCategory || selectData.SubCategory.length == 0 |
| 163 | - "></el-empty> | 163 | + "></el-empty> --> |
| 164 | - <el-checkbox-group v-model="subCategorys" v-else> | 164 | + <el-checkbox-group v-model="subCategorys"> |
| 165 | <el-row> | 165 | <el-row> |
| 166 | <el-col :span="2" v-for="item in selectData.SubCategory" :key="item.id"> | 166 | <el-col :span="2" v-for="item in selectData.SubCategory" :key="item.id"> |
| 167 | <el-checkbox :label="item.chineseName" v-model="item.chineseName"> | 167 | <el-checkbox :label="item.chineseName" v-model="item.chineseName"> | ... | ... |
| ... | @@ -69,20 +69,20 @@ export default { | ... | @@ -69,20 +69,20 @@ export default { |
| 69 | overweight: false, | 69 | overweight: false, |
| 70 | }, | 70 | }, |
| 71 | cargoHeader: [ | 71 | cargoHeader: [ |
| 72 | - { name: "口岸代码", value: "portName" }, | 72 | + { name: "口岸代码", value: "portName", width: "" }, |
| 73 | - { name: "运单号", value: "waybillNo" }, | 73 | + { name: "运单号", value: "waybillNo", width: "" }, |
| 74 | - { name: "货物状态", value: "statusName" }, | 74 | + { name: "货物状态", value: "statusName" , width: ""}, |
| 75 | - { name: "站点", value: "siteName" }, | 75 | + { name: "站点", value: "siteName", width: "" }, |
| 76 | - { name: "申报类型", value: "typeName" }, | 76 | + { name: "申报类型", value: "typeName", width: "" }, |
| 77 | - { name: "URSA", value: "ursa" }, | 77 | + { name: "URSA", value: "ursa", width: "" }, |
| 78 | - { name: "实际重量", value: "actualWeight" }, | 78 | + { name: "实际重量", value: "actualWeight", width: "" }, |
| 79 | - { name: "件数", value: "qty" }, | 79 | + { name: "件数", value: "qty", width: "" }, |
| 80 | - { name: "ACCS原航班号", value: "fltNoAccs" }, | 80 | + { name: "ACCS原航班号", value: "fltNoAccs", width: "120" }, |
| 81 | - { name: "ACCS原航班日期", value: "fltDateAccs" }, | 81 | + { name: "ACCS原航班日期", value: "fltDateAccs", width: "130" }, |
| 82 | - { name: "品名描述", value: "nameDescription" }, | 82 | + { name: "品名描述", value: "nameDescription" , width: ""}, |
| 83 | - { name: "是否自动", value: "cargoRulesStatus" }, | 83 | + { name: "是否自动", value: "cargoRulesStatus" , width: ""}, |
| 84 | - { name: "创建人", value: "createUserName" }, | 84 | + { name: "创建人", value: "createUserName", width: "" }, |
| 85 | - { name: "创建时间", value: "createTime" }, | 85 | + { name: "创建时间", value: "createTime", width: "" }, |
| 86 | ], | 86 | ], |
| 87 | routeList: [], | 87 | routeList: [], |
| 88 | rules: { | 88 | rules: { | ... | ... |
| ... | @@ -640,6 +640,9 @@ export default { | ... | @@ -640,6 +640,9 @@ export default { |
| 640 | if (this.$route.params.handle != 'add') { | 640 | if (this.$route.params.handle != 'add') { |
| 641 | findDestinationFltRuleByFlightNo(obj).then(res => { | 641 | findDestinationFltRuleByFlightNo(obj).then(res => { |
| 642 | if (res.code === 200) { | 642 | if (res.code === 200) { |
| 643 | + if (res.data.routeList.length <= 0) { | ||
| 644 | + this.msgWarning('未查询到航线信息!') | ||
| 645 | + } else { | ||
| 643 | this.routeList = res.data.routeList | 646 | this.routeList = res.data.routeList |
| 644 | if (res.data.list.length > 0) { | 647 | if (res.data.list.length > 0) { |
| 645 | //请求到数据 | 648 | //请求到数据 |
| ... | @@ -821,6 +824,7 @@ export default { | ... | @@ -821,6 +824,7 @@ export default { |
| 821 | } | 824 | } |
| 822 | } | 825 | } |
| 823 | } | 826 | } |
| 827 | + } | ||
| 824 | } else { | 828 | } else { |
| 825 | this.msgWarning(res.msg) | 829 | this.msgWarning(res.msg) |
| 826 | } | 830 | } |
| ... | @@ -849,6 +853,7 @@ export default { | ... | @@ -849,6 +853,7 @@ export default { |
| 849 | }) | 853 | }) |
| 850 | }) | 854 | }) |
| 851 | } else { | 855 | } else { |
| 856 | + this.msgWarning('未查询到航线信息!') | ||
| 852 | this.routeList = [] | 857 | this.routeList = [] |
| 853 | this.infoForm.list = [] | 858 | this.infoForm.list = [] |
| 854 | } | 859 | } | ... | ... |
| ... | @@ -69,20 +69,20 @@ export default { | ... | @@ -69,20 +69,20 @@ export default { |
| 69 | overweight: false, | 69 | overweight: false, |
| 70 | }, | 70 | }, |
| 71 | cargoHeader: [ | 71 | cargoHeader: [ |
| 72 | - { name: "口岸代码", value: "portName" }, | 72 | + { name: "口岸代码", value: "portName", width: "" }, |
| 73 | - { name: "运单号", value: "waybillNo" }, | 73 | + { name: "运单号", value: "waybillNo", width: "" }, |
| 74 | - { name: "货物状态", value: "statusName" }, | 74 | + { name: "货物状态", value: "statusName" , width: ""}, |
| 75 | - { name: "站点", value: "siteName" }, | 75 | + { name: "站点", value: "siteName", width: "" }, |
| 76 | - { name: "申报类型", value: "typeName" }, | 76 | + { name: "申报类型", value: "typeName", width: "" }, |
| 77 | - { name: "URSA", value: "ursa" }, | 77 | + { name: "URSA", value: "ursa", width: "" }, |
| 78 | - { name: "实际重量", value: "actualWeight" }, | 78 | + { name: "实际重量", value: "actualWeight", width: "" }, |
| 79 | - { name: "件数", value: "qty" }, | 79 | + { name: "件数", value: "qty", width: "" }, |
| 80 | - { name: "ACCS原航班号", value: "fltNoAccs" }, | 80 | + { name: "ACCS原航班号", value: "fltNoAccs", width: "120" }, |
| 81 | - { name: "ACCS原航班日期", value: "fltDateAccs" }, | 81 | + { name: "ACCS原航班日期", value: "fltDateAccs", width: "130" }, |
| 82 | - { name: "品名描述", value: "nameDescription" }, | 82 | + { name: "品名描述", value: "nameDescription" , width: ""}, |
| 83 | - { name: "是否自动", value: "cargoRulesStatus" }, | 83 | + { name: "是否自动", value: "cargoRulesStatus" , width: ""}, |
| 84 | - { name: "创建人", value: "createUserName" }, | 84 | + { name: "创建人", value: "createUserName", width: "" }, |
| 85 | - { name: "创建时间", value: "createTime" }, | 85 | + { name: "创建时间", value: "createTime", width: "" }, |
| 86 | ], | 86 | ], |
| 87 | routeList: [], | 87 | routeList: [], |
| 88 | rules: { | 88 | rules: { | ... | ... |
-
Please register or login to post a comment