Ver código fonte

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

lqh 1 ano atrás
pai
commit
055ffa7254
1 arquivos alterados com 2 adições e 2 exclusões
  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
     }
   }else {
-    if (['101','402','403'].indexOf(type)>-1){
+    if (['101'].indexOf(type)>-1){
 
       proxy.post("/jdOrderEx/productInfoById", { productId: formData.data.productId}).then((res) => {
         console.log("reduceProductList",res)
@@ -694,7 +694,7 @@ const next = async () => {
   //判断 入库
   if (!isViewFlag.value) {
     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
       addProductIdDisplay.value = true