This commit is contained in:
caoqianming 2025-12-01 13:49:04 +08:00
commit 61bfe8c21c
1 changed files with 5 additions and 4 deletions

View File

@ -149,9 +149,10 @@
type="primary" type="primary"
style="margin-left: 10px;" style="margin-left: 10px;"
>检验</el-link> >检验</el-link>
<el-link :underline="false" type="primary" <el-link :underline="false" type="success"
v-if="route_code=='pengma'"
@click="handleAddWpr(scope.row)" @click="handleAddWpr(scope.row)"
>添加物</el-link> >混批加</el-link>
</template> </template>
</el-table-column> </el-table-column>
</scTable> </scTable>
@ -697,7 +698,7 @@ export default {
}, },
handleAddWpr(row){ handleAddWpr(row){
this.dialog.scrap = true; this.dialog.scrap = true;
this.type = 50; this.type = 10;
let obj = {}; let obj = {};
obj.wm = row.id; obj.wm = row.id;
obj.batch = row.batch; obj.batch = row.batch;
@ -707,7 +708,7 @@ export default {
obj.material_name = row.material_name; obj.material_name = row.material_name;
this.wmItem = obj; this.wmItem = obj;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.scrapDialog.open("add"); this.$refs.scrapDialog.open("add",[],30);
}); });
}, },
handleWprSuccess(row){}, handleWprSuccess(row){},