From 8f47014ff8323608f016f59f720c90d629c4d9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Thu, 11 Jan 2024 09:22:48 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=95=BF=E6=98=A5=E6=B4=BE=E6=A0=BC1.?= =?UTF-8?q?5=E3=80=91=E8=AE=A1=E5=88=92=E7=AE=A1=E7=90=86=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pg-fis/basedate/planControl/index.vue | 93 +------------------ 1 file changed, 2 insertions(+), 91 deletions(-) diff --git a/vue/src/views/pg-fis/basedate/planControl/index.vue b/vue/src/views/pg-fis/basedate/planControl/index.vue index f6d36c4..e475d18 100644 --- a/vue/src/views/pg-fis/basedate/planControl/index.vue +++ b/vue/src/views/pg-fis/basedate/planControl/index.vue @@ -233,21 +233,6 @@ @close="importClose" /> - - -
- -
-
@@ -275,38 +260,16 @@ export default { name: "RepeatM100", - // components: { Pagination, CRMTableHead, importExcel, Detail }, components: { Pagination, CRMTableHead, importExcel }, directives: { permission }, - filters: { - IsCustomerSignFilter(status) { - //翻译是否签字 - const statusMap = { - true: "是", - false: "否", - }; - return statusMap[status]; - }, - }, mixins: [message_table], data() { return { - customerInfos: [], - isVINShowState:false, - versionValue: "", - customerInfosMB:[], - customerInfosZHB:[], - versionList: [], //版本列表 - searchContent: "", // 输入内容 showExcelImport: false, form: {}, - drawer: false, list: null, totalCount: 0, listLoading: true, - customerInfo: { - bomId: "", - }, listQuery: { factory:undefined, vin:undefined, @@ -327,34 +290,11 @@ SkipCount: 0, MaxResultCount: 15, }, - listPLQuery: { - BillType: 2, - //UserId: this.userinfo.UserId, - }, page: 1, - // 显示搜索条件 - // VehicleModelCodelist:[ - // {id: 1, name: "C8"}, - // {id: 2, name: "B8L"}, - // {id: 3, name: "CC"}, - // {id: 4, name: "BSMV"}, - // {id: 5, name: "B9"}, - // {id: 6, name: "Q5"}, - // ], - productTypeList: [ - { id: 1, name: "门板" }, - { id: 2, name: "柱护板" }, - ], showSearch: true, bomUnit, - PLList: [], - PLChildList: [], //筛选后产线下拉 multipleSelection: [], - drawer: false, - isShowState: true, - dialogTableVisible: false, - vehicleModelList:[],//车型list - //tableHeight: document.documentElement.clientHeight - 260, + tableHeight: document.documentElement.clientHeight - 260, }; }, mounted() { @@ -404,19 +344,6 @@ ...mapGetters(["userInfo"]), //获取当前用户信息 }, methods: { - //抽屉 - handleDrawerOpen(param) { - this.drawer = true; - var parentId = param.id; //传入的是总成id - this.customerInfos = [ - { - ParentId: parentId, - }, - ]; - }, - handleDrawerClose(done) { - done(); - }, /** 导出功能 */ handleDownload() { this.listLoading = true; @@ -455,7 +382,6 @@ }); }); }, - /** 重置按钮操作 */ resetQuery(refName) { this.$refs[refName].resetFields(); @@ -464,15 +390,6 @@ /** 搜索按钮操作 */ handleQuery() { this.listQuery.SkipCount = 1; - //this.getList(); - }, - selectValue(params) { - //版本下拉选择 - this.versionValue = params.value; - this.getList(); - }, - - selectOptionsChange(item) { this.getList(); }, //关闭导入窗体时调用 @@ -494,11 +411,6 @@ fieldFormatter(row, column) { return row[column.property] || "--"; }, - roleFilter(type) { - return projectTypeKeyValue[type]; - - }, - getList(data){ this.listLoading = true; if (data != undefined) { @@ -506,7 +418,6 @@ } else { this.listQuery.SkipCount = (this.page - 1) * this.listQuery.MaxResultCount; } - this.dialogTableVisible = true; this.$axios.gets("/api/newjit/import-record/list", this.listQuery) .then((response) => { this.list = response.items; @@ -521,13 +432,13 @@ }); }, handleFilter() { - this.dialogTableVisible = false; this.page = 1; this.getList(); }, sortChange(data) { const { prop, order } = data; if (!prop || !order) { + this.listQuery.Sorting = undefined this.handleFilter(); return; }