Просмотр исходного кода

📃 docs(运行填报记录): 调整报错信息

Zimo 4 дней назад
Родитель
Сommit
25836e58f2
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/views/pms/iotopeationfill/index1.vue

+ 2 - 2
src/views/pms/iotopeationfill/index1.vue

@@ -330,7 +330,7 @@ const rhValidateTotalTime =
     let msg = ''
 
     total = parseFloat((gasTime + nonProdSum).toFixed(2))
-    msg = `注气(${gasTime})+非生产(${nonProdSum})=${total}H,必须为24H`
+    msg = `运转(${gasTime})+非生产(${nonProdSum})=${total}H,必须为24H`
 
     if (Math.abs(total - 24) > 0.01) {
       if (!isNon) callback(new Error(msg))
@@ -399,7 +399,7 @@ const validateOtherReason = (_rule: any, value: any, callback: any) => {
 
 const rules = reactive<FormRules>({
   dailyInjectGasTime: [
-    { required: true, message: '请输入当日注气时间', trigger: 'blur' },
+    { required: true, message: '请输入当日运转时间', trigger: 'blur' },
     { validator: rhValidateTotalTime(), trigger: 'blur' }
   ],
   drillingWorkingTime: [