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-21 09:15:01 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0e6ac379f6b4fe1129f9f1fa79ddceac9279f338
0e6ac379
1 parent
66b49a07
modify
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
src/components/YlTable/index.vue
src/views/allocationConfig/et86/edit/index.vue
src/components/YlTable/index.vue
View file @
0e6ac37
...
...
@@ -242,5 +242,12 @@ export default {
};
</script>
<style lang="scss">
.el-table {
th {
padding: 0;
}
td{
padding: 0;
}
}
</style>
...
...
src/views/allocationConfig/et86/edit/index.vue
View file @
0e6ac37
<template>
<div class="form-header">
<el-row style="padding
: 20px 0
">
<el-row style="padding
-bottom: 20px
">
<el-col>
<el-divider content-position="left">ET86配舱航班顺位</el-divider>
</el-col>
...
...
@@ -199,7 +199,7 @@
<el-card shadow="never">
<el-checkbox-group
v-model="checkboxClsssType"
@change="checkbox
SingleNam
e"
@change="checkbox
CargoTyp
e"
style="display: flex"
v-if="queryForm.cargoType.length"
>
...
...
@@ -370,6 +370,7 @@ export default {
includeUrsa: "", // URSA包含
notIncludeUrsa: "", // URSA不包含
cargoType: [], // 申报类别调用接口获取所有的申报类别
checkboxCargoType: [], // 已勾选申报类别的数据
singleName: false, // 单品名
minWeight: null,
maxWeight: null,
...
...
@@ -548,11 +549,12 @@ export default {
this.tableData.splice($index, 1);
},
// 类别
checkbox
SingleNam
e(arr) {
checkbox
CargoTyp
e(arr) {
let include = this.queryForm.cargoType.filter((item) =>
arr.some((val) => val == item.chineseName)
);
console.log(arr, include);
this.queryForm.checkboxCargoType = include; //已勾选申报类别的数据
// console.log(arr, include);
},
// 重量、件数、申报值input失焦事件
inputBlur(name) {
...
...
@@ -597,7 +599,12 @@ export default {
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
console.log(this.tableData);
let parmas = {
fltInfoList: this.tableData,
...this.queryForm,
}
parmas.singleName = this.queryForm.singleName ? 'Y' : 'N'; // N为单品名,Y为多品名
console.log(parmas);
} else {
console.log("error submit!!");
return false;
...
...
Please
register
or
login
to post a comment