|
@ -233,21 +233,6 @@ |
|
|
@close="importClose" |
|
|
@close="importClose" |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</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> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -275,38 +260,16 @@ |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: "RepeatM100", |
|
|
name: "RepeatM100", |
|
|
// components: { Pagination, CRMTableHead, importExcel, Detail }, |
|
|
|
|
|
components: { Pagination, CRMTableHead, importExcel }, |
|
|
components: { Pagination, CRMTableHead, importExcel }, |
|
|
directives: { permission }, |
|
|
directives: { permission }, |
|
|
filters: { |
|
|
|
|
|
IsCustomerSignFilter(status) { |
|
|
|
|
|
//翻译是否签字 |
|
|
|
|
|
const statusMap = { |
|
|
|
|
|
true: "是", |
|
|
|
|
|
false: "否", |
|
|
|
|
|
}; |
|
|
|
|
|
return statusMap[status]; |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
mixins: [message_table], |
|
|
mixins: [message_table], |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
customerInfos: [], |
|
|
|
|
|
isVINShowState:false, |
|
|
|
|
|
versionValue: "", |
|
|
|
|
|
customerInfosMB:[], |
|
|
|
|
|
customerInfosZHB:[], |
|
|
|
|
|
versionList: [], //版本列表 |
|
|
|
|
|
searchContent: "", // 输入内容 |
|
|
|
|
|
showExcelImport: false, |
|
|
showExcelImport: false, |
|
|
form: {}, |
|
|
form: {}, |
|
|
drawer: false, |
|
|
|
|
|
list: null, |
|
|
list: null, |
|
|
totalCount: 0, |
|
|
totalCount: 0, |
|
|
listLoading: true, |
|
|
listLoading: true, |
|
|
customerInfo: { |
|
|
|
|
|
bomId: "", |
|
|
|
|
|
}, |
|
|
|
|
|
listQuery: { |
|
|
listQuery: { |
|
|
factory:undefined, |
|
|
factory:undefined, |
|
|
vin:undefined, |
|
|
vin:undefined, |
|
@ -327,34 +290,11 @@ |
|
|
SkipCount: 0, |
|
|
SkipCount: 0, |
|
|
MaxResultCount: 15, |
|
|
MaxResultCount: 15, |
|
|
}, |
|
|
}, |
|
|
listPLQuery: { |
|
|
|
|
|
BillType: 2, |
|
|
|
|
|
//UserId: this.userinfo.UserId, |
|
|
|
|
|
}, |
|
|
|
|
|
page: 1, |
|
|
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, |
|
|
showSearch: true, |
|
|
bomUnit, |
|
|
bomUnit, |
|
|
PLList: [], |
|
|
|
|
|
PLChildList: [], //筛选后产线下拉 |
|
|
|
|
|
multipleSelection: [], |
|
|
multipleSelection: [], |
|
|
drawer: false, |
|
|
tableHeight: document.documentElement.clientHeight - 260, |
|
|
isShowState: true, |
|
|
|
|
|
dialogTableVisible: false, |
|
|
|
|
|
vehicleModelList:[],//车型list |
|
|
|
|
|
//tableHeight: document.documentElement.clientHeight - 260, |
|
|
|
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
@ -404,19 +344,6 @@ |
|
|
...mapGetters(["userInfo"]), //获取当前用户信息 |
|
|
...mapGetters(["userInfo"]), //获取当前用户信息 |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
//抽屉 |
|
|
|
|
|
handleDrawerOpen(param) { |
|
|
|
|
|
this.drawer = true; |
|
|
|
|
|
var parentId = param.id; //传入的是总成id |
|
|
|
|
|
this.customerInfos = [ |
|
|
|
|
|
{ |
|
|
|
|
|
ParentId: parentId, |
|
|
|
|
|
}, |
|
|
|
|
|
]; |
|
|
|
|
|
}, |
|
|
|
|
|
handleDrawerClose(done) { |
|
|
|
|
|
done(); |
|
|
|
|
|
}, |
|
|
|
|
|
/** 导出功能 */ |
|
|
/** 导出功能 */ |
|
|
handleDownload() { |
|
|
handleDownload() { |
|
|
this.listLoading = true; |
|
|
this.listLoading = true; |
|
@ -455,7 +382,6 @@ |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** 重置按钮操作 */ |
|
|
/** 重置按钮操作 */ |
|
|
resetQuery(refName) { |
|
|
resetQuery(refName) { |
|
|
this.$refs[refName].resetFields(); |
|
|
this.$refs[refName].resetFields(); |
|
@ -464,15 +390,6 @@ |
|
|
/** 搜索按钮操作 */ |
|
|
/** 搜索按钮操作 */ |
|
|
handleQuery() { |
|
|
handleQuery() { |
|
|
this.listQuery.SkipCount = 1; |
|
|
this.listQuery.SkipCount = 1; |
|
|
//this.getList(); |
|
|
|
|
|
}, |
|
|
|
|
|
selectValue(params) { |
|
|
|
|
|
//版本下拉选择 |
|
|
|
|
|
this.versionValue = params.value; |
|
|
|
|
|
this.getList(); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
selectOptionsChange(item) { |
|
|
|
|
|
this.getList(); |
|
|
this.getList(); |
|
|
}, |
|
|
}, |
|
|
//关闭导入窗体时调用 |
|
|
//关闭导入窗体时调用 |
|
@ -494,11 +411,6 @@ |
|
|
fieldFormatter(row, column) { |
|
|
fieldFormatter(row, column) { |
|
|
return row[column.property] || "--"; |
|
|
return row[column.property] || "--"; |
|
|
}, |
|
|
}, |
|
|
roleFilter(type) { |
|
|
|
|
|
return projectTypeKeyValue[type]; |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getList(data){ |
|
|
getList(data){ |
|
|
this.listLoading = true; |
|
|
this.listLoading = true; |
|
|
if (data != undefined) { |
|
|
if (data != undefined) { |
|
@ -506,7 +418,6 @@ |
|
|
} else { |
|
|
} else { |
|
|
this.listQuery.SkipCount = (this.page - 1) * this.listQuery.MaxResultCount; |
|
|
this.listQuery.SkipCount = (this.page - 1) * this.listQuery.MaxResultCount; |
|
|
} |
|
|
} |
|
|
this.dialogTableVisible = true; |
|
|
|
|
|
this.$axios.gets("/api/newjit/import-record/list", this.listQuery) |
|
|
this.$axios.gets("/api/newjit/import-record/list", this.listQuery) |
|
|
.then((response) => { |
|
|
.then((response) => { |
|
|
this.list = response.items; |
|
|
this.list = response.items; |
|
@ -521,13 +432,13 @@ |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
handleFilter() { |
|
|
handleFilter() { |
|
|
this.dialogTableVisible = false; |
|
|
|
|
|
this.page = 1; |
|
|
this.page = 1; |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
}, |
|
|
}, |
|
|
sortChange(data) { |
|
|
sortChange(data) { |
|
|
const { prop, order } = data; |
|
|
const { prop, order } = data; |
|
|
if (!prop || !order) { |
|
|
if (!prop || !order) { |
|
|
|
|
|
this.listQuery.Sorting = undefined |
|
|
this.handleFilter(); |
|
|
this.handleFilter(); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|