From 768e95eaff73c107ef8a47d850c30ab4ae81831b Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Wed, 4 Aug 2021 15:11:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=87=BA=E5=BA=93=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- canteen/pages/delivery/apply.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/canteen/pages/delivery/apply.vue b/canteen/pages/delivery/apply.vue index a0f94a8..ec13355 100644 --- a/canteen/pages/delivery/apply.vue +++ b/canteen/pages/delivery/apply.vue @@ -188,17 +188,11 @@ }, // 保存,出库 save(_t){ - console.log("dddddd", this.contents) - // return if(this.contents.length <= 0) { return this.$msg('您未选择物资') } let list = this.contents.map(item => { - if(item.delivery_number.value == '') { - return this.$msg('请输入出库数量!') - } - if(Number(item.delivery_number.value) > item.stock) { console.log('循环几次') uni.showModal({ @@ -221,7 +215,7 @@ m_unit_id: item.m_unit_id || 0 } }else { - item.delivery_number.value = '' + item.delivery_number.value = 1 this.isStock = true return { m_id: item.material_id, @@ -251,8 +245,6 @@ } } }); - - console.log(this.isStock) if(this.isStock) { let _api = this.API.API_CANTEEN_WAREHOUSEOUT; if(this.enter_type == 1){