fix: 2094 点击二级库中的进厂数量的数字,进入二级页面,页面标题为“退库”

This commit is contained in:
binbin_pan 2024-06-14 18:04:11 +08:00
parent fa1aed07f8
commit bfb48eb5f7
2 changed files with 17 additions and 0 deletions

View File

@ -817,6 +817,7 @@ export default {
// //
openRecords(row, type) { openRecords(row, type) {
this.title = undefined
this.openRecord = true this.openRecord = true
this.queryType = type this.queryType = type
this.dialogQuery.typeName = row.typeName this.dialogQuery.typeName = row.typeName

View File

@ -498,6 +498,7 @@
class-name="small-padding fixed-width" class-name="small-padding fixed-width"
width="200" width="200"
prop="num" prop="num"
v-if="!isSee"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <el-input
@ -511,6 +512,18 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column
label="退料数量"
align="center"
class-name="small-padding fixed-width"
width="200"
prop="num"
v-if="isSee"
>
<template slot-scope="scope">
<span>{{ scope.row.num }}</span>
</template>
</el-table-column>
</el-table> </el-table>
<pagination <pagination
@ -721,6 +734,7 @@ export default {
rowObj: {}, rowObj: {},
loadingType: '', loadingType: '',
idList: [], idList: [],
isSee: false, //
} }
}, },
created() { created() {
@ -810,6 +824,7 @@ export default {
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row, type) { handleUpdate(row, type) {
this.isSee = false
this.dialogQueryParams.unitName = row.unitName this.dialogQueryParams.unitName = row.unitName
this.dialogQueryParams.lotName = row.lotName this.dialogQueryParams.lotName = row.lotName
this.dialogQueryParams.agreementCode = row.agreementCode this.dialogQueryParams.agreementCode = row.agreementCode
@ -824,6 +839,7 @@ export default {
this.getDialogList() this.getDialogList()
}, },
handleSee(row, type) { handleSee(row, type) {
this.isSee = true
this.dialogQueryParams.unitName = row.unitName this.dialogQueryParams.unitName = row.unitName
this.dialogQueryParams.lotName = row.lotName this.dialogQueryParams.lotName = row.lotName
this.dialogQueryParams.agreementCode = row.agreementCode this.dialogQueryParams.agreementCode = row.agreementCode