Browse Source

no message

linwenxin 3 tháng trước cách đây
mục cha
commit
6d782f8754
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/workOrder/qualityFeedback/index.vue

+ 1 - 1
src/views/workOrder/qualityFeedback/index.vue

@@ -656,7 +656,7 @@ export default {
               : [
                   {
                     validator: (rule, value, callback) => {
-                      if (`${value}`.length != 13 || `${value}`.length == 0) {
+                      if (`${value}`.length != 13 && `${value}`.length != 0) {
                         callback(new Error('请输入13位条码'))
                       } else {
                         callback()