前端领料申请抱杆增加弹框内容

This commit is contained in:
wcy 2024-10-11 16:00:58 +08:00
parent b4bc3f56f4
commit 5da2c02125
1 changed files with 8 additions and 5 deletions

View File

@ -219,15 +219,15 @@
label="设备所属" label="设备所属"
prop="deviceAscription" prop="deviceAscription"
/> />
<el-table-column label="预领数量" align="center"> <el-table-column label="预领数量1" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ props.row.preNum }}</span> <!-- 内层显示外层的 preNum --> <span>{{ props.row.deviceNum }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
label="库存数量" label="库存数量"
prop="deviceNum" prop="num"
/> />
</el-table> </el-table>
</template> </template>
@ -237,16 +237,17 @@
align="center" align="center"
label="抱杆设备名称" label="抱杆设备名称"
/> />
<el-table-column label="预领数量" align="center"> <el-table-column label="预领数量" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <el-input
v-model.number="scope.row.preNum" v-model.number="scope.row.deviceNum"
placeholder="请输入预领数量" placeholder="请输入预领数量"
type="number" type="number"
min="1" min="1"
@input="checkNum(scope.row)" @input="checkNum(scope.row)"
clearable clearable
style="width: 100%" style="width: 40%"
/> />
</template> </template>
</el-table-column> </el-table-column>
@ -497,6 +498,7 @@ export default {
unitCn: '', // unitCn: '', //
remark: '', // remark: '', //
preNum: 1, // preNum: 1, //
deviceNum: '',
}, },
// //
queryRules: { queryRules: {
@ -816,6 +818,7 @@ export default {
template.guigeCn = item.typeModelName template.guigeCn = item.typeModelName
template.remark = item.remark template.remark = item.remark
template.preNum = item.preNum template.preNum = item.preNum
template.deviceNum = item.deviceNum
template.status = item.status template.status = item.status
template.parenntId = item.parenntId template.parenntId = item.parenntId
template.num = item.num template.num = item.num