|
@@ -114,22 +114,25 @@
|
|
replenishBillNo: this.listdata[0].replenishBillNo,
|
|
replenishBillNo: this.listdata[0].replenishBillNo,
|
|
detailList: arr
|
|
detailList: arr
|
|
}
|
|
}
|
|
- this.loading = true
|
|
|
|
|
|
+ // this.loading = true
|
|
// 校验产品库存是否足够
|
|
// 校验产品库存是否足够
|
|
- shelfReplenishDetailStock(params).then(res => {
|
|
|
|
- if (res.status == 200) {
|
|
|
|
- if (res.data && res.data.length > 0) {
|
|
|
|
- this.stockList = res.data || []
|
|
|
|
- this.paramsData = params
|
|
|
|
- this.confirmModal = false
|
|
|
|
- this.stockModal = true
|
|
|
|
- this.loading = false
|
|
|
|
- } else {
|
|
|
|
- this.confirmModal = false
|
|
|
|
- this.confirmFun(params)
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ // shelfReplenishDetailStock(params).then(res => {
|
|
|
|
+ // if (res.status == 200) {
|
|
|
|
+ // if (res.data && res.data.length > 0) {
|
|
|
|
+ // this.stockList = res.data || []
|
|
|
|
+ // this.paramsData = params
|
|
|
|
+ // this.confirmModal = false
|
|
|
|
+ // this.stockModal = true
|
|
|
|
+ // this.loading = false
|
|
|
|
+ // } else {
|
|
|
|
+ // this.confirmModal = false
|
|
|
|
+ // this.confirmFun(params)
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+
|
|
|
|
+ this.confirmModal = false
|
|
|
|
+ this.confirmFun(params)
|
|
},
|
|
},
|
|
// 提交确认
|
|
// 提交确认
|
|
confirmFun (params) {
|
|
confirmFun (params) {
|