From 9c6115340a7cd7e36198a0d0503068a260d30581 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 03 三月 2023 16:32:25 +0800
Subject: [PATCH] 1.节拍工价、工单新增控制必须设置计件单价

---
 src/views/zzmx/jpgj.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/views/zzmx/jpgj.vue b/src/views/zzmx/jpgj.vue
index de525e9..7bdc3a6 100644
--- a/src/views/zzmx/jpgj.vue
+++ b/src/views/zzmx/jpgj.vue
@@ -691,6 +691,9 @@
     },
     // 淇濆瓨琛�
     async saveRow(row) {
+      if (parseFloat(row.unprice) <= 0) {
+        return this.$message.info('璁′欢鍗曚环蹇呴』澶т簬闆讹紒')
+      }
       const data = {
         partcode: this.eqpTable.partcode, //  浜у搧缂栫爜
         routecode: this.eqpTable.routecode, //  宸ヨ壓璺嚎缂栫爜

--
Gitblit v1.9.3