|
@@ -78,25 +78,18 @@
|
|
|
},
|
|
|
// 确认
|
|
|
handleConfirm(){
|
|
|
- if(this.infoData.checkQty){
|
|
|
- this.$emit('addProduct',{
|
|
|
- shelfSn: this.infoData.shelfSn,
|
|
|
- shelfPlaceSn: this.infoData.shelfPlaceSn,
|
|
|
- shelfPlaceCode: this.infoData.shelfPlaceCode,
|
|
|
- productCode: this.infoData.productCode,
|
|
|
- productSn: this.infoData.productSn,
|
|
|
- freezeQty: this.infoData.freezeQty,
|
|
|
- stockQty: this.infoData.currQty,
|
|
|
- checkQty: this.infoData.checkQty,
|
|
|
- stockCheckDetailSn: this.infoData.stockCheckDetailSn || undefined,
|
|
|
- cost: this.infoData.cost
|
|
|
- })
|
|
|
- }else{
|
|
|
- uni.showToast({
|
|
|
- icon: "none",
|
|
|
- title: '请输入实际可用库存'
|
|
|
- })
|
|
|
- }
|
|
|
+ this.$emit('addProduct',{
|
|
|
+ shelfSn: this.infoData.shelfSn,
|
|
|
+ shelfPlaceSn: this.infoData.shelfPlaceSn,
|
|
|
+ shelfPlaceCode: this.infoData.shelfPlaceCode,
|
|
|
+ productCode: this.infoData.productCode,
|
|
|
+ productSn: this.infoData.productSn,
|
|
|
+ freezeQty: this.infoData.freezeQty,
|
|
|
+ stockQty: this.infoData.currQty,
|
|
|
+ checkQty: this.infoData.checkQty,
|
|
|
+ stockCheckDetailSn: this.infoData.stockCheckDetailSn || undefined,
|
|
|
+ cost: this.infoData.cost
|
|
|
+ })
|
|
|
},
|
|
|
},
|
|
|
watch: {
|