Browse Source

1、修改备注前端验证提示错误,且用的数字框,无法输入数字以外的字符

lqh 1 năm trước cách đây
mục cha
commit
5ac031f954
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/WDLY/jd/abnormalDetails/index.vue

+ 2 - 2
src/views/WDLY/jd/abnormalDetails/index.vue

@@ -647,7 +647,7 @@ const next = async () => {
   //判断 出库
   if (!isViewFlag.value){
     formData.data.reduceProductId = null
-    if (['101','402','403'].indexOf(type)>-1){
+    if (['101',].indexOf(type)>-1){
       formData.data.reduceProductId = formData.data.productId
       reduceProductIdDisplay.value = true
 
@@ -712,7 +712,7 @@ const next = async () => {
       reduceProductList.value = productList.value
     }
   }else {
-    if (['301', '401',,'501'].indexOf(type) > -1) {
+    if (['301', '401','402','403','501'].indexOf(type) > -1) {
       addProductIdDisplay.value = true
       proxy.post("/jdOrderEx/productInfoById", { productId: formData.data.productId }).then((res) => {
         if (res && res.length > 0) {