|
|
@ -212,7 +212,6 @@ export default{ |
|
|
|
} |
|
|
|
}, |
|
|
|
async setGoodsVal(val){ |
|
|
|
console.log(val,'----------setGoodsVal-----------------') |
|
|
|
this.purchaseId=val.id |
|
|
|
this.formData.goodsName=val.goodsName |
|
|
|
this.formData.detailedType=val.detailedType |
|
|
@ -247,6 +246,8 @@ export default{ |
|
|
|
url:`/pages/purchase/newSpecs?goodsId=${this.purchaseId}`, |
|
|
|
events:{addUnit:e=>{ |
|
|
|
this.specList[0].push({label:e.goodsSpecification,value:e.goodsSpecification,id:e.goodsSpecificationId}) |
|
|
|
this.searchStock(e.goodsSpecificationId) |
|
|
|
this.formData.goodsSpecification=e.goodsSpecification |
|
|
|
}} |
|
|
|
}) |
|
|
|
}, |
|
|
|