退料接收1

This commit is contained in:
zzyuan 2024-04-24 14:10:08 +08:00
parent a34c11e3bf
commit 580e3a851a
1 changed files with 5 additions and 1 deletions

View File

@ -103,7 +103,7 @@
</el-table-column> </el-table-column>
<el-table-column label="规格型号" align="center" prop="typeCode" :show-overflow-tooltip="true" /> <el-table-column label="规格型号" align="center" prop="typeCode" :show-overflow-tooltip="true" />
<el-table-column label="申请数量" align="center" prop="preNum" :show-overflow-tooltip="true" /> <el-table-column label="申请数量" align="center" prop="preNum" :show-overflow-tooltip="true" />
<el-table-column label="退料数量" align="center" prop="num" :show-overflow-tooltip="true" /> <el-table-column label="退料数量" align="center" prop="partNum" :show-overflow-tooltip="true" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="300"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="300">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
@ -689,6 +689,10 @@ export default {
manageType: row.manageType, manageType: row.manageType,
createBy: this.createBy, createBy: this.createBy,
} }
if(row.maTypeDetails&&row.maTypeDetails.length>0){
param.typeIds = row.maTypeDetails.map(item=>{return item.modelId})
}
console.log(param)
revoke(param).then(response => { revoke(param).then(response => {
if (response.code == 200) { if (response.code == 200) {
this.$modal.msgSuccess('操作成功') this.$modal.msgSuccess('操作成功')