退料修改

This commit is contained in:
zzyuan 2024-11-20 17:51:26 +08:00
parent 6bff12a6de
commit 757fba9a51
1 changed files with 6 additions and 6 deletions

View File

@ -286,7 +286,7 @@
</el-table-column>
</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-col :span="6">
<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.companyId = this.companyId
this.queryParams.backApplyInfo = {
id:this.rowId,
backPerson: this.queryParams.backPerson,
phone: this.queryParams.phone,
remark: this.queryParams.remark,
@ -793,7 +794,6 @@ export default {
}
if (this.rowId != '') {
let params = {
id:this.rowId,
backApplyInfo: this.queryParams.backApplyInfo,
backApplyDetailsList:
this.queryParams.equipmentList,
@ -1043,19 +1043,19 @@ export default {
}
let index = this.equipmentList.findIndex(v=>v.typeId==this.fileData.typeId)
this.equipmentList[index].bmFileInfos=[obj]
}
},
// -
handleFileSuccess2(response, file, fileList) {
console.log(1111)
if(response.code==200){
let obj = {
"name": response.data.name,
"url": response.data.url,
}
let index = this.maCodeList.findIndex(v=>v.maCode==this.fileData.maCode)
this.maCodeList[index].bmFileInfos=[obj]
let index = this.machineList.findIndex(v=>v.maCode==this.fileData.maCode)
this.machineList[index].bmFileInfos=[obj]
console.log(this.machineList)
}
},
//