Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-08-24 11:16:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dd685cf754648e2aeebac193a93b0db31a9415ab
dd685cf7
1 parent
abe8d1b1
modify
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
src/views/allocationConfig/et86/edit/index.vue
src/views/allocationConfig/et86/edit/mixins/index.js
src/views/allocationConfig/et86/edit/index.vue
View file @
dd685cf
...
...
@@ -148,7 +148,7 @@
<el-col :span="4">
<el-radio-group
v-model="isServiceCode"
@change="
i
sServiceCode"
@change="
changeI
sServiceCode"
>
<el-radio label="1">包含ServiceCode</el-radio>
<el-radio label="2">不包含ServiceCode</el-radio>
...
...
@@ -203,7 +203,7 @@
<el-card shadow="never">
<el-checkbox-group
v-model="checkboxClsssType"
@change="checkboxCargoType"
@change="ch
angeCh
eckboxCargoType"
style="display: flex"
v-if="cargoType.length"
>
...
...
@@ -392,7 +392,7 @@ export default {
tableAttr: tableAttr, // table配置项
tableData: [], // ET86配舱航班顺位
currentIndex: 0, // 记录当前table 列的索引位置
id: 1,
id: 1,
// ET86配舱航班顺位ID
isServiceCode: "1", // 服务种类
serviceCode: "", // 服务种类内容
cargoType: [], // 申报类别调用接口获取所有的申报类别
...
...
@@ -602,11 +602,11 @@ export default {
this.tableData.splice($index, 1);
},
// 类别
checkboxCargoType(arr) {
let include = this.
queryForm.
cargoType.filter((item) =>
ch
angeCh
eckboxCargoType(arr) {
let include = this.cargoType.filter((item) =>
arr.some((val) => val == item.chineseName)
);
this.
queryForm.
checkboxCargoType = include; //已勾选申报类别的数据
this.checkboxCargoType = include; //已勾选申报类别的数据
this.queryForm.declarationCategory = arr.join(";");
},
// 表单提交
...
...
src/views/allocationConfig/et86/edit/mixins/index.js
View file @
dd685cf
...
...
@@ -28,7 +28,7 @@ export default {
};
},
// radio包含不包含serviceCode
i
sServiceCode
(
val
)
{
changeI
sServiceCode
(
val
)
{
// 勾选的时候去校验 || 输入的时候去校验
if
(
val
==
1
)
{
if
(
this
.
serviceCodeCofig
().
noInclude
.
length
)
{
...
...
Please
register
or
login
to post a comment