瀏覽代碼

修复bug

chenxiong 3 年之前
父節點
當前提交
f327c7142e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages2/appointment/index.vue

+ 2 - 2
pages2/appointment/index.vue

@@ -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;
 								}
 							}
 						});