|
|
@ -9,7 +9,7 @@ |
|
|
|
v-show="showSearch" |
|
|
|
:inline="true" |
|
|
|
> |
|
|
|
<el-form-item label="数据采集点" prop="State" > |
|
|
|
<el-form-item label="数据采集点" prop="state" style="margin-right:35px"> |
|
|
|
<el-checkbox-group v-model="listQuery.state"> |
|
|
|
<el-checkbox |
|
|
|
v-for="(item, index) in billState" |
|
|
@ -21,7 +21,7 @@ |
|
|
|
</el-checkbox> |
|
|
|
</el-checkbox-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="生产线:" prop="productLine"> |
|
|
|
<!-- <el-form-item label="生产线:" prop="productLine"> |
|
|
|
<el-select |
|
|
|
v-model="listQuery.productLine" |
|
|
|
clearable |
|
|
@ -37,7 +37,7 @@ |
|
|
|
:value="item.productLineCode" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<el-form-item label="起始顺序号" prop="HostSNBegin"> |
|
|
|
<el-input |
|
|
@ -114,7 +114,8 @@ |
|
|
|
v-for="item in vehicleModelList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.dicItemName" |
|
|
|
:value="item.dicItemCode"/> |
|
|
|
:value="item.dicItemCode" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
@ -335,6 +336,7 @@ export default { |
|
|
|
billState: [ |
|
|
|
{ id: 2, name: "R100" }, |
|
|
|
{ id: 3, name: "M100" }, |
|
|
|
{ id: 4, name: "M110" }, |
|
|
|
], |
|
|
|
isVINShowState: false, |
|
|
|
OnlineTimeValue: [], |
|
|
@ -379,7 +381,6 @@ export default { |
|
|
|
Version: undefined, |
|
|
|
KNR: undefined, |
|
|
|
state: [], |
|
|
|
|
|
|
|
}, |
|
|
|
listPLQuery: { |
|
|
|
BillType: 2, |
|
|
@ -536,7 +537,7 @@ export default { |
|
|
|
this.$axios |
|
|
|
.posts("/api/newjit/repeat-m100/export", this.listQuery) |
|
|
|
.then((res) => { |
|
|
|
this.handleFilter() |
|
|
|
this.handleFilter(); |
|
|
|
let filename = res.item; |
|
|
|
this.$axios |
|
|
|
.BolbGets("/api/newjit/exclude-part-cfg/download/" + filename) |
|
|
@ -567,9 +568,9 @@ export default { |
|
|
|
this.listLoading = false; |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(err=>{ |
|
|
|
this.handleFilter() |
|
|
|
}) |
|
|
|
.catch((err) => { |
|
|
|
this.handleFilter(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
/*单据状态变更 */ |
|
|
|
checkedListChange(index) { |
|
|
@ -579,12 +580,9 @@ export default { |
|
|
|
this.listQuery.state = []; |
|
|
|
this.listQuery.state.push(this.billState[index].id); |
|
|
|
} |
|
|
|
if(this.listQuery.state[0]=="3") |
|
|
|
{ |
|
|
|
if (this.listQuery.state[0] == "3") { |
|
|
|
this.isVINShowState = true; |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
} else { |
|
|
|
this.isVINShowState = false; |
|
|
|
} |
|
|
|
}, |
|
|
@ -648,11 +646,9 @@ export default { |
|
|
|
}, |
|
|
|
roleFilter(type) { |
|
|
|
return projectTypeKeyValue[type]; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
getList(data) { |
|
|
|
|
|
|
|
this.listLoading = true; |
|
|
|
if (data != undefined) { |
|
|
|
this.listQuery.SkipCount = (this.page - 1) * data.limit; |
|
|
@ -673,10 +669,11 @@ export default { |
|
|
|
this.listQuery.ReceiveTimeEnd = this.ReceiveTimeValue[1]; |
|
|
|
} |
|
|
|
|
|
|
|
if(this.listQuery.state[0] == "2") |
|
|
|
{ |
|
|
|
if (this.listQuery.state[0] == "2") { |
|
|
|
this.dialogTableVisible = false; |
|
|
|
console.log("555555555555555555555555555555"+JSON.stringify(this.listQuery)); |
|
|
|
console.log( |
|
|
|
"555555555555555555555555555555" + JSON.stringify(this.listQuery) |
|
|
|
); |
|
|
|
this.$axios |
|
|
|
.gets("/api/newjit/repeat-r100/list", this.listQuery) |
|
|
|
.then((response) => { |
|
|
@ -691,8 +688,7 @@ if(this.listQuery.state[0] == "2") |
|
|
|
this.listLoading = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
else if (this.listQuery.state[0] == "3") { |
|
|
|
this.dialogTableVisible = true; |
|
|
|
this.$axios |
|
|
|
.gets("/api/newjit/repeat-m100/list", this.listQuery) |
|
|
@ -708,7 +704,22 @@ this.$axios |
|
|
|
this.listLoading = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
else if (this.listQuery.state[0] == "4") { |
|
|
|
this.dialogTableVisible = true; |
|
|
|
this.$axios |
|
|
|
.gets("/api/newjit/repeat-m110/list", this.listQuery) |
|
|
|
.then((response) => { |
|
|
|
this.list = response.items; |
|
|
|
this.totalCount = response.totalCount; |
|
|
|
setTimeout(() => { |
|
|
|
//大数据量加载时 |
|
|
|
this.listLoading = false; |
|
|
|
}, 500); |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
this.listLoading = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
// if (this.billState=== 2) { |
|
|
|
|
|
|
|
// this.$axios |
|
|
@ -742,8 +753,6 @@ this.$axios |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
// getList(data) { |
|
|
|
// this.listLoading = true; |
|
|
@ -798,18 +807,22 @@ this.$axios |
|
|
|
//debugger |
|
|
|
//console.log(JSON.stringify(this.userInfo)); |
|
|
|
this.listPLQuery.UserId = this.userInfo.userId; |
|
|
|
console.log("this.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserId"+this.listPLQuery.UserId); |
|
|
|
console.log( |
|
|
|
"this.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserId" + |
|
|
|
this.listPLQuery.UserId |
|
|
|
); |
|
|
|
this.$axios |
|
|
|
.gets("/api/newjit/product-line/list", this.listPLQuery) |
|
|
|
.then((response) => { |
|
|
|
|
|
|
|
//console.log("获取产线数据:"+JSON.stringify(response.item)); |
|
|
|
this.PLList = response.item; |
|
|
|
|
|
|
|
this.PLChildList = this.PLList.sort((a, b) => { |
|
|
|
return a.productLineCode - b.productLineCode; |
|
|
|
}); |
|
|
|
console.log("2222222获取产线数据:"+JSON.stringify(this.PLChildList)); |
|
|
|
console.log( |
|
|
|
"2222222获取产线数据:" + JSON.stringify(this.PLChildList) |
|
|
|
); |
|
|
|
this.listQuery.productLine = this.PLChildList[0].productLineCode; |
|
|
|
if (this.listQuery.productLine != "") { |
|
|
|
//把产线值传到子组件 |
|
|
@ -840,26 +853,21 @@ this.$axios |
|
|
|
ProductLine: val, |
|
|
|
}, |
|
|
|
]; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
handleSelectionChange(val) { |
|
|
|
this.multipleSelection = val; |
|
|
|
}, |
|
|
|
|
|
|
|
getvehicleModel() |
|
|
|
{ |
|
|
|
getvehicleModel() { |
|
|
|
this.$axios |
|
|
|
.gets( |
|
|
|
"/api/newjit/dic/list",this.vehicleModelQuery |
|
|
|
) |
|
|
|
.gets("/api/newjit/dic/list", this.vehicleModelQuery) |
|
|
|
.then((response) => { |
|
|
|
//console.log(response); |
|
|
|
this.vehicleModelList = response.item; |
|
|
|
//console.log() |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
}); |
|
|
|
.catch(() => {}); |
|
|
|
}, |
|
|
|
/** 通过回调控制style */ |
|
|
|
cellStyle({ row, column, rowIndex, columnIndex }) { |
|
|
@ -885,8 +893,6 @@ this.$axios |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
@import "../../../pg-fis/styles/crmtable.scss"; |
|
|
|
</style> |
|
|
|
|
|
|
|