|
@@ -205,8 +205,21 @@
|
|
|
this.$refs.material.delecteCopyRow()
|
|
|
}else if(prop =='委外保存'){
|
|
|
this.changeEdit()
|
|
|
+ }else if(prop=='生产出入库页签'){
|
|
|
+ this.generateList()
|
|
|
}
|
|
|
},
|
|
|
+ generateList(){
|
|
|
+ getAction('/productionOrder/madeProductionOrders/createTabs',{id:this.form.id}).then(res=>{
|
|
|
+ if(res.success){
|
|
|
+ this.$message.success('执行成功!');
|
|
|
+ this.getOutboundData(this.form.id)
|
|
|
+ this.getWarehousingData(this.form.id)
|
|
|
+ }else{
|
|
|
+ this.$message.error(res.message);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
handleOk(){
|
|
|
var madeProductionOrdersPage = this.form
|
|
|
madeProductionOrdersPage.madeProductionOrdersFinishedList = this.$refs.productDetails.dataSource
|