From a75ed7b2ec701afa546895653903e9c1f35db2b1 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 26 十月 2023 12:09:51 +0800
Subject: [PATCH] 主数据添加 编码申请添加-ts时间戳bug

---
 Source/UBCS-WEB/src/views/code/code.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue
index 3286013..0c65570 100644
--- a/Source/UBCS-WEB/src/views/code/code.vue
+++ b/Source/UBCS-WEB/src/views/code/code.vue
@@ -1,5 +1,5 @@
 <template>
-  <basic-container class="code-total" style="height: 100%">
+  <basic-container class="code-total" style=" height: 100%">
     <!-- 缂栫爜瑙勫垯淇℃伅灞曠ず鍖哄煙 -->
     <basic-container class="code-rule-container">
       <p
@@ -2600,9 +2600,9 @@
     onLoad(page, params = {}) {
       this.loading = true;
       gridCodeRule(
-        page.currentPage, 
-        page.pageSize, 
-        Object.assign({},params,this.query), 
+        page.currentPage,
+        page.pageSize,
+        Object.assign({},params,this.query),
       ).then((res) => {
         //console.log(res.data);
         const data = res.data.data;
@@ -2934,6 +2934,10 @@
       if (!this.tipsMessage(this.selectionBasicList)) {
         return;
       }
+      if (this.selectionList.at(-1).lcStatus != "Editing") {
+        this.$message.warning('缂栫爜瑙勫垯鐘舵�佷笉鏄�"缂栬緫涓�"锛屼笉鍏佽鍒犻櫎鐮佹!');
+        return;
+      }
       let oid = this.selectionBasicList[0].oid;
       this.$confirm("鏄惁鍒犻櫎杩欐潯鏁版嵁锛熷鏋滆寮曠敤灏嗕笉鑳借鍒犻櫎锛�", {
         confirmButtonText: "纭畾",

--
Gitblit v1.9.3