Browse Source

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

lqh 1 year ago
parent
commit
055ffa7254
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/WDLY/jd/abnormalDetails/index.vue

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

@@ -666,7 +666,7 @@ const next = async () => {
       addProductList.value = productList.value
       addProductList.value = productList.value
     }
     }
   }else {
   }else {
-    if (['101','402','403'].indexOf(type)>-1){
+    if (['101'].indexOf(type)>-1){
 
 
       proxy.post("/jdOrderEx/productInfoById", { productId: formData.data.productId}).then((res) => {
       proxy.post("/jdOrderEx/productInfoById", { productId: formData.data.productId}).then((res) => {
         console.log("reduceProductList",res)
         console.log("reduceProductList",res)
@@ -694,7 +694,7 @@ const next = async () => {
   //判断 入库
   //判断 入库
   if (!isViewFlag.value) {
   if (!isViewFlag.value) {
     formData.data.addProductId = null
     formData.data.addProductId = null
-    if (['301', '401',,'501'].indexOf(type) > -1) {
+    if (['301', '401','402','403','501'].indexOf(type) > -1) {
       formData.data.addProductId = formData.data.productId
       formData.data.addProductId = formData.data.productId
       addProductIdDisplay.value = true
       addProductIdDisplay.value = true