|
@@ -141,10 +141,10 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
if (res.data.data === 3) {
|
|
|
- this.$api.goodsList({ makeGoodsId: this.goodsId }).then(res => {
|
|
|
+ this.$api.goodsList({ makeGoodsId: this.goodsId,goodsType:3 }).then(res => {
|
|
|
if (res.data.code === 200) {
|
|
|
if(res.data.rows.length){
|
|
|
- this.goodsIdBK = res.data.rows[1].goodsId;
|
|
|
+ this.goodsIdBK = res.data.rows[0].goodsId;
|
|
|
}
|
|
|
}
|
|
|
});
|