Compare commits

..

No commits in common. "22c8f79cc345915e2ea57da86fd1e10a5fae8321" and "c1c596887584ac525ebd886845cccce8926ec4e1" have entirely different histories.

1 changed files with 4 additions and 5 deletions

View File

@ -149,10 +149,9 @@
type="primary" type="primary"
style="margin-left: 10px;" style="margin-left: 10px;"
>检验</el-link> >检验</el-link>
<el-link :underline="false" type="success" <el-link :underline="false" type="primary"
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>
@ -698,7 +697,7 @@ export default {
}, },
handleAddWpr(row){ handleAddWpr(row){
this.dialog.scrap = true; this.dialog.scrap = true;
this.type = 10; this.type = 50;
let obj = {}; let obj = {};
obj.wm = row.id; obj.wm = row.id;
obj.batch = row.batch; obj.batch = row.batch;
@ -708,7 +707,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",[],30); this.$refs.scrapDialog.open("add");
}); });
}, },
handleWprSuccess(row){}, handleWprSuccess(row){},