Browse Source

【长春派格1.5】计划管理优化

HQ
安虹睿 11 months ago
parent
commit
8f47014ff8
  1. 93
      vue/src/views/pg-fis/basedate/planControl/index.vue

93
vue/src/views/pg-fis/basedate/planControl/index.vue

@ -233,21 +233,6 @@
@close="importClose"
/>
</div>
<!-- 抽屉控件 -->
<el-drawer
title="信息详细页"
size="75%"
direction="rtl"
:visible.sync="drawer"
:before-close="handleDrawerClose"
>
<div>
<!-- <Detail
v-bind:customerInfos="customerInfos"
style="margin-top: -35px"
></Detail> -->
</div>
</el-drawer>
</div>
</template>
@ -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;
}

Loading…
Cancel
Save