fix:光芯车间库存分批操作时触发方法传参变动

This commit is contained in:
shijing 2025-03-14 13:47:57 +08:00
parent d74ab186d2
commit d8e2665bc4
2 changed files with 8 additions and 8 deletions

View File

@ -70,7 +70,7 @@
min-width="120"
>
<template #default="scope">
<el-link @click="rowClick(scope.row.batch)" type="primary">{{scope.row.batch}}</el-link>
<el-link @click="rowClick(scope.row)" type="primary">{{scope.row.batch}}</el-link>
</template>
</el-table-column>
<el-table-column
@ -320,15 +320,15 @@ export default {
})
}
},
//
rowClick(val){
//mtype:20
rowClick(row){
this.dialog.handover = true;
this.type = 10;
this.$nextTick(() => {
this.$refs.handoverDialog.open("add",val,20);
this.$refs.handoverDialog.open("add",row,20);
});
},
//
//mtype:30
batchConcat(){
this.changebatch = true;
let handoverb = [];

View File

@ -70,7 +70,7 @@
min-width="120"
>
<template #default="scope">
<el-link @click="rowClick(scope.row.batch)" type="primary">{{scope.row.batch}}</el-link>
<el-link @click="rowClick(scope.row)" type="primary">{{scope.row.batch}}</el-link>
</template>
</el-table-column>
<el-table-column
@ -311,11 +311,11 @@ export default {
this.$refs.saveDialog.open(mode);
});
},
rowClick(val){
rowClick(row){
this.dialog.handover = true;
this.type = 10;
this.$nextTick(() => {
this.$refs.handoverDialog.open("add",val,20);
this.$refs.handoverDialog.open("add",row,20);
});
},
//