二级弹框传参

This commit is contained in:
bb_pan 2025-10-13 21:25:39 +08:00
parent 495740d140
commit b093220a70
1 changed files with 4 additions and 3 deletions

View File

@ -226,13 +226,13 @@
<el-table-column label="数量" align="center" prop="allNum" :show-overflow-tooltip="true"> <el-table-column label="数量" align="center" prop="allNum" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- manageType '编码' 使用可点击的 span --> <!-- manageType '编码' 使用可点击的 span -->
<span class="clickText" @click="openRecords(scope.row)"> <span v-if="scope.row.manageType == '编码' || (scope.row.manageType == '数量' && scope.row.bzFlag == 0)" class="clickText" @click="openRecords(scope.row)">
{{ scope.row.allNum }} {{ scope.row.allNum }}
</span> </span>
<!-- 否则直接显示数字 --> <!-- 否则直接显示数字 -->
<!-- <span v-else> <span v-else>
{{ scope.row.allNum }} {{ scope.row.allNum }}
</span> --> </span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -626,6 +626,7 @@ export default {
this.dialogQuery.typeId = row.typeId this.dialogQuery.typeId = row.typeId
this.dialogQuery.proId = row.proId this.dialogQuery.proId = row.proId
this.dialogQuery.teamId = row.teamId || '' this.dialogQuery.teamId = row.teamId || ''
this.dialogQuery.subFlag = row.subUnitName == '分包直领' ? 0 : null
this.openRecord = true this.openRecord = true
this.getStoreCodeList() this.getStoreCodeList()
}, },