Showing
2 changed files
with
7 additions
and
7 deletions
| ... | @@ -148,7 +148,7 @@ | ... | @@ -148,7 +148,7 @@ |
| 148 | <el-col :span="4"> | 148 | <el-col :span="4"> |
| 149 | <el-radio-group | 149 | <el-radio-group |
| 150 | v-model="isServiceCode" | 150 | v-model="isServiceCode" |
| 151 | - @change="isServiceCode" | 151 | + @change="changeIsServiceCode" |
| 152 | > | 152 | > |
| 153 | <el-radio label="1">包含ServiceCode</el-radio> | 153 | <el-radio label="1">包含ServiceCode</el-radio> |
| 154 | <el-radio label="2">不包含ServiceCode</el-radio> | 154 | <el-radio label="2">不包含ServiceCode</el-radio> |
| ... | @@ -203,7 +203,7 @@ | ... | @@ -203,7 +203,7 @@ |
| 203 | <el-card shadow="never"> | 203 | <el-card shadow="never"> |
| 204 | <el-checkbox-group | 204 | <el-checkbox-group |
| 205 | v-model="checkboxClsssType" | 205 | v-model="checkboxClsssType" |
| 206 | - @change="checkboxCargoType" | 206 | + @change="changeCheckboxCargoType" |
| 207 | style="display: flex" | 207 | style="display: flex" |
| 208 | v-if="cargoType.length" | 208 | v-if="cargoType.length" |
| 209 | > | 209 | > |
| ... | @@ -392,7 +392,7 @@ export default { | ... | @@ -392,7 +392,7 @@ export default { |
| 392 | tableAttr: tableAttr, // table配置项 | 392 | tableAttr: tableAttr, // table配置项 |
| 393 | tableData: [], // ET86配舱航班顺位 | 393 | tableData: [], // ET86配舱航班顺位 |
| 394 | currentIndex: 0, // 记录当前table 列的索引位置 | 394 | currentIndex: 0, // 记录当前table 列的索引位置 |
| 395 | - id: 1, | 395 | + id: 1, // ET86配舱航班顺位ID |
| 396 | isServiceCode: "1", // 服务种类 | 396 | isServiceCode: "1", // 服务种类 |
| 397 | serviceCode: "", // 服务种类内容 | 397 | serviceCode: "", // 服务种类内容 |
| 398 | cargoType: [], // 申报类别调用接口获取所有的申报类别 | 398 | cargoType: [], // 申报类别调用接口获取所有的申报类别 |
| ... | @@ -602,11 +602,11 @@ export default { | ... | @@ -602,11 +602,11 @@ export default { |
| 602 | this.tableData.splice($index, 1); | 602 | this.tableData.splice($index, 1); |
| 603 | }, | 603 | }, |
| 604 | // 类别 | 604 | // 类别 |
| 605 | - checkboxCargoType(arr) { | 605 | + changeCheckboxCargoType(arr) { |
| 606 | - let include = this.queryForm.cargoType.filter((item) => | 606 | + let include = this.cargoType.filter((item) => |
| 607 | arr.some((val) => val == item.chineseName) | 607 | arr.some((val) => val == item.chineseName) |
| 608 | ); | 608 | ); |
| 609 | - this.queryForm.checkboxCargoType = include; //已勾选申报类别的数据 | 609 | + this.checkboxCargoType = include; //已勾选申报类别的数据 |
| 610 | this.queryForm.declarationCategory = arr.join(";"); | 610 | this.queryForm.declarationCategory = arr.join(";"); |
| 611 | }, | 611 | }, |
| 612 | // 表单提交 | 612 | // 表单提交 | ... | ... |
| ... | @@ -28,7 +28,7 @@ export default { | ... | @@ -28,7 +28,7 @@ export default { |
| 28 | }; | 28 | }; |
| 29 | }, | 29 | }, |
| 30 | // radio包含不包含serviceCode | 30 | // radio包含不包含serviceCode |
| 31 | - isServiceCode(val) { | 31 | + changeIsServiceCode(val) { |
| 32 | // 勾选的时候去校验 || 输入的时候去校验 | 32 | // 勾选的时候去校验 || 输入的时候去校验 |
| 33 | if (val == 1) { | 33 | if (val == 1) { |
| 34 | if (this.serviceCodeCofig().noInclude.length) { | 34 | if (this.serviceCodeCofig().noInclude.length) { | ... | ... |
-
Please register or login to post a comment