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

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