退料修改
This commit is contained in:
parent
6bff12a6de
commit
757fba9a51
|
|
@ -286,7 +286,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<el-dialog title="编码退料" :visible.sync="open" width="1000px" append-to-body>
|
<el-dialog title="编码退料" :visible.sync="open" width="1200px" append-to-body>
|
||||||
<!-- <el-row :gutter="10" class="mb8">
|
<!-- <el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<div style="width: 100%;height: 100%;display: flex;align-items: center;">
|
<div style="width: 100%;height: 100%;display: flex;align-items: center;">
|
||||||
|
|
@ -783,6 +783,7 @@ export default {
|
||||||
// this.queryParams.createBy = this.user.name
|
// this.queryParams.createBy = this.user.name
|
||||||
// this.queryParams.companyId = this.companyId
|
// this.queryParams.companyId = this.companyId
|
||||||
this.queryParams.backApplyInfo = {
|
this.queryParams.backApplyInfo = {
|
||||||
|
id:this.rowId,
|
||||||
backPerson: this.queryParams.backPerson,
|
backPerson: this.queryParams.backPerson,
|
||||||
phone: this.queryParams.phone,
|
phone: this.queryParams.phone,
|
||||||
remark: this.queryParams.remark,
|
remark: this.queryParams.remark,
|
||||||
|
|
@ -793,7 +794,6 @@ export default {
|
||||||
}
|
}
|
||||||
if (this.rowId != '') {
|
if (this.rowId != '') {
|
||||||
let params = {
|
let params = {
|
||||||
id:this.rowId,
|
|
||||||
backApplyInfo: this.queryParams.backApplyInfo,
|
backApplyInfo: this.queryParams.backApplyInfo,
|
||||||
backApplyDetailsList:
|
backApplyDetailsList:
|
||||||
this.queryParams.equipmentList,
|
this.queryParams.equipmentList,
|
||||||
|
|
@ -1043,19 +1043,19 @@ export default {
|
||||||
}
|
}
|
||||||
let index = this.equipmentList.findIndex(v=>v.typeId==this.fileData.typeId)
|
let index = this.equipmentList.findIndex(v=>v.typeId==this.fileData.typeId)
|
||||||
this.equipmentList[index].bmFileInfos=[obj]
|
this.equipmentList[index].bmFileInfos=[obj]
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 文件上传成功处理-编码弹窗上传
|
// 文件上传成功处理-编码弹窗上传
|
||||||
handleFileSuccess2(response, file, fileList) {
|
handleFileSuccess2(response, file, fileList) {
|
||||||
|
console.log(1111)
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
let obj = {
|
let obj = {
|
||||||
"name": response.data.name,
|
"name": response.data.name,
|
||||||
"url": response.data.url,
|
"url": response.data.url,
|
||||||
}
|
}
|
||||||
let index = this.maCodeList.findIndex(v=>v.maCode==this.fileData.maCode)
|
let index = this.machineList.findIndex(v=>v.maCode==this.fileData.maCode)
|
||||||
this.maCodeList[index].bmFileInfos=[obj]
|
this.machineList[index].bmFileInfos=[obj]
|
||||||
|
console.log(this.machineList)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//图片查看
|
//图片查看
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue