fix:玻纤混批加料
This commit is contained in:
parent
c037c56347
commit
5d4300fcb6
|
|
@ -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){},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue