fix:玻纤混批加料

This commit is contained in:
shijing 2025-12-01 13:14:56 +08:00
parent c037c56347
commit 5d4300fcb6
1 changed files with 5 additions and 4 deletions

View File

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