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
jinhui.wang
2022-02-24 15:39:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d2f19073e5c97ce53850ecbb8b6f88751da835fa
d2f19073
1 parent
0bd7c07a
增加服务代码列,无用代码删除,图标修改
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
64 deletions
src/router/index.js
src/views/allocationConfig/cargoAllocation/index.vue
src/views/allocationConfig/flightRandConfig/index.vue
src/views/basicInformation/caPreReviewImport/index.vue
src/views/basicInformation/queryCargo/index.vue
src/router/index.js
View file @
d2f1907
...
...
@@ -62,7 +62,7 @@ export const constantRoutes = [
path
:
'index'
,
component
:
(
resolve
)
=>
require
([
'@/views/index'
],
resolve
),
name
:
'首页'
,
meta
:
{
title
:
'首页'
,
icon
:
'
dashboard
'
,
noCache
:
true
,
affix
:
true
}
meta
:
{
title
:
'首页'
,
icon
:
'
home
'
,
noCache
:
true
,
affix
:
true
}
}
]
},
...
...
src/views/allocationConfig/cargoAllocation/index.vue
View file @
d2f1907
...
...
@@ -333,7 +333,7 @@
import Dialog from "./info.vue";
import { findConditionData, findCargoAllocationData } from "@/api/cargoSelect";
import { allDictData } from "@/api/destinationFlight";
import { findFltConditionDataApi } from "@/api/findAllFltData";
//
import { findFltConditionDataApi } from "@/api/findAllFltData";
import { downLoadXlsx } from "@/utils/zipdownload";
import { upCase } from "@/utils/FedEx";
...
...
@@ -458,6 +458,15 @@ export default {
},
{
type: "",
name: "服务代码",
value: "serviceCode",
width: "150",
align: "center",
sorTable: false,
fixed:false,
},
{
type: "",
name: "URSA",
value: "ursa",
width: "150",
...
...
@@ -827,26 +836,47 @@ export default {
};
},
created() {
this.seleData();
this.select();
},
mounted() {
window.addEventListener("keydown", (code) => {
if (code.keyCode === 16 && code.shiftKey) {
this.shiftKey = true;
}
});
window.addEventListener("keyup", (code) => {
if (code.keyCode === 16) {
this.shiftKey = false;
}
});
},
methods: {
//查询条件
new Promise((resolve, reject) => {
let obj = {};
findFltConditionDataApi()
.then((res) => {
if (res.code === 200) {
obj.flightType = res.data.flightType;
} else {
reject(res.msg);
}
})
.catch(() => {});
async seleData() {
// findFltConditionDataApi()
// .then((res) => {
// if (res.code === 200) {
// this.selectData.fltTypes = res.data.flightType;
// }else{
// this.$message({
// message: "查询条件不存在",
// type: "warning",
// });
// }
// })
// .catch(() => {});
allDictData()
.then((res) => {
if (res.code === 200) {
obj.HandlingCode = res.data.handlingCode;
obj.SubCategory = res.data.subCategory;
} else {
reject(res.msg);
this.selectData.HandlingCode = res.data.handlingCode;
this.selectData.SubCategory = res.data.subCategory;
}else{
this.$message({
message: "查询条件不存在",
type: "warning",
});
}
})
.catch(() => {});
...
...
@@ -854,38 +884,16 @@ export default {
findConditionData()
.then((res) => {
if (res.code == 200) {
obj.findConditionData = res.data;
} else {
reject(res.msg);
this.selectData.findConditionData = res.data;
}else{
this.$message({
message: "查询条件不存在",
type: "warning",
});
}
resolve(obj);
})
.catch(() => {});
this.select();
})
.then((res) => {
this.selectData = res;
})
.catch((err) => {
this.$message({
message: "查询条件不存在",
type: "warning",
});
});
},
mounted() {
window.addEventListener("keydown", (code) => {
if (code.keyCode === 16 && code.shiftKey) {
this.shiftKey = true;
}
});
window.addEventListener("keyup", (code) => {
if (code.keyCode === 16) {
this.shiftKey = false;
}
});
},
methods: {
},
//查询
select() {
this.loading = true;
...
...
src/views/allocationConfig/flightRandConfig/index.vue
View file @
d2f1907
...
...
@@ -236,6 +236,7 @@
methods: {
//跳转到查看,修改页面
handleClick(flightiId, handle) {
this.openFlightDate = false;
this.$router.push({
name: "FlightAllocConfigInfo",
params: {
...
...
src/views/basicInformation/caPreReviewImport/index.vue
View file @
d2f1907
...
...
@@ -36,8 +36,7 @@
</el-table>
</div>
</template>
</div>
</template>
<script>
import {
downLoadTemplate,
...
...
src/views/basicInformation/queryCargo/index.vue
View file @
d2f1907
...
...
@@ -204,18 +204,6 @@
</el-select>
</el-form-item>
</el-col>
<!-- <el-col :span="6">
<el-form-item label="口岸代码">
<el-select
placeholder="不限"
v-model="formData.portName"
class="formItem"
clearable
>
</el-select>
</el-form-item>
</el-col> -->
</el-row>
</el-col>
</el-row>
...
...
@@ -228,9 +216,6 @@
@click="select"
>查询</el-button
>
<!-- <el-button type="primary" size="small" @click="checks(tableData)"
>全选/全否</el-button
> -->
<el-button :type="downLoadingTip.downloading?'warning':'primary'" size="small" @click="xlse(0)" :disabled="tableData.length==0" :loading="downLoadingTip.downloading"
>{{downLoadingTip.downloading?downLoadingTip.tip:"导出本页查询结果"}}</el-button
>
...
...
@@ -243,7 +228,6 @@
<span style="paddingRight: 50px">总重量:{{ allWeight }}</span>
<span>总件数:{{ allQty }}</span>
</div>
<!-- <RightToolbar :showSearch.sync="formShow" size="small"></RightToolbar> -->
<div class="formShow" @click="formShow = !formShow"><i class="el-icon-s-tools"></i>{{formShow?'收起条件':'更多条件'}}</div>
</div>
</el-form>
...
...
@@ -395,6 +379,15 @@ export default {
},
{
type: "",
name: "服务代码",
value: "serviceCode",
width: "150",
align: "center",
sorTable: false,
fixed:false,
},
{
type: "",
name: "URSA",
value: "ursa",
width: "150",
...
...
Please
register
or
login
to post a comment