diff --git a/user/pages/yishi/onlinechufang/index.js b/user/pages/yishi/onlinechufang/index.js index b67e2c4..37de07e 100644 --- a/user/pages/yishi/onlinechufang/index.js +++ b/user/pages/yishi/onlinechufang/index.js @@ -159,9 +159,9 @@ Page({ }); return false }; - console.log(typeof this.data.prescription_num); - console.log(typeof this.data.select_drug_stock) - if(Number(this.data.prescription_num)>Number(this.data.select_drug_stock)){ + // console.log(typeof this.data.prescription_num); + // console.log(typeof this.data.select_drug_stock) + if(Number(save_durg_prescription_product_num)>Number(this.data.select_drug_stock)){ Dialog.alert({ message: '输入药品数量不能大于库存', }).then(() => {