|
|
@ -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; |
|
|
|
} |
|
|
|