From 18f35fe78de41a1b240758c91e05380decb48978 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期五, 25 七月 2025 17:39:59 +0800
Subject: [PATCH] 1

---
 src/views/doctor/checkAll/index.vue |  410 +++++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 276 insertions(+), 134 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 13e6d24..8235084 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -6,7 +6,6 @@
       :inline="true"
       label-width="76px"
       style="margin-top: 10px"
-      v-if="tjStatus == 1"
     >
       <el-form-item label="濮撳悕" prop="name">
         <el-input
@@ -28,7 +27,29 @@
           @blur="hb"
         ></el-input>
       </el-form-item>
-
+      <el-form-item label="浣撴绫诲埆">
+        <el-select
+          style="width: 200px"
+          v-model="queryParams.tjCategory"
+          placeholder="璇烽�夋嫨浣撴绫诲埆"
+        >
+          <el-option
+            v-for="dict in dict.type.dict_tjtype"
+            :key="dict.value"
+            :label="dict.label"
+            :value="dict.value"
+          ></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item label="濂楅鍚嶇О" prop="tcm">
+        <el-input
+          v-model="queryParams.tcm"
+          style="width: 120px"
+          placeholder="璇疯緭鍏ュ椁愬悕绉�"
+          clearable
+          @keyup.enter.native="submitForm"
+        ></el-input>
+      </el-form-item>
       <el-form-item
         label="鍗曚綅鍚嶇О"
         prop="tjCompName"
@@ -53,16 +74,7 @@
           />
         </el-select>
       </el-form-item>
-      <el-form-item label="瀹℃牳鍖诲笀" prop="shys">
-        <el-input
-          ref="inputName"
-          v-model="queryParams.shys"
-          style="width: 180px"
-          placeholder="璇疯緭鍏ュ鏍稿尰甯�"
-          clearable
-          @keyup.enter.native="submitForm"
-        ></el-input>
-      </el-form-item>
+
       <el-form-item>
         <el-button
           type="primary"
@@ -90,6 +102,18 @@
         >
       </el-form-item>
       <el-row v-show="isCollapsed == 1" :gutter="20">
+        <el-col :span="4">
+          <el-form-item label="瀹℃牳鍖诲笀" prop="shys">
+            <el-input
+              ref="inputName"
+              v-model="queryParams.shys"
+              style="width: 120px"
+              placeholder="璇疯緭鍏ュ鏍稿尰甯�"
+              clearable
+              @keyup.enter.native="submitForm"
+            ></el-input>
+          </el-form-item>
+        </el-col>
         <el-col :span="8">
           <el-form-item label="浣撴鏃堕棿" prop="tjTime">
             <el-date-picker
@@ -111,85 +135,33 @@
       </el-row>
     </el-form>
 
-    <el-form
-      :model="queryParams"
-      ref="tableList"
-      :inline="true"
-      label-width="76px"
-      style="margin-top: 10px"
-      v-else
-    >
+    <!-- <el-form :model="queryParams" ref="tableList" :inline="true" label-width="76px" style="margin-top: 10px" >
       <el-form-item label="濮撳悕" prop="name">
-        <el-input
-          v-model="queryParams.name"
-          style="width: 120px"
-          placeholder="璇疯緭鍏ュ鍚�"
-          clearable
-          @keyup.enter.native="submitForm"
-        ></el-input>
+        <el-input v-model="queryParams.name" style="width: 120px" placeholder="璇疯緭鍏ュ鍚�" clearable
+          @keyup.enter.native="submitForm"></el-input>
       </el-form-item>
       <el-form-item label="浣撴鍙�" prop="tjNumber">
-        <el-input
-          ref="inputName"
-          v-model="queryParams.tjNumber"
-          style="width: 180px"
-          placeholder="璇疯緭鍏ヤ綋妫�鍙�"
-          clearable
-          @keyup.enter.native="submitForm"
-          @blur="hb"
-        ></el-input>
+        <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 180px" placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable
+          @keyup.enter.native="submitForm" @blur="hb"></el-input>
       </el-form-item>
+      
       <el-form-item label="浣撴鏃堕棿" prop="tjTime">
-        <el-date-picker
-          v-model="startTime"
-          type="datetimerange"
-          align="right"
-          :picker-options="pickerOptions"
-          style="width: 310px"
-          start-placeholder="寮�濮嬫棩鏈�"
-          end-placeholder="缁撴潫鏃ユ湡"
-          :default-time="['00:00:00', '23:00:00']"
-          format="yyyy-MM-dd HH:mm"
-          value-format="yyyy-MM-dd HH:mm"
-          @change="dateChangebirthday1"
-        >
+        <el-date-picker v-model="startTime" type="datetimerange" align="right" :picker-options="pickerOptions"
+          style="width: 310px" start-placeholder="寮�濮嬫棩鏈�" end-placeholder="缁撴潫鏃ユ湡" :default-time="['00:00:00', '23:00:00']"
+          format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" @change="dateChangebirthday1">
         </el-date-picker>
       </el-form-item>
-      <el-form-item
-        label="鍗曚綅鍚嶇О"
-        prop="tjCompName"
-        style="margin-left: 20px"
-      >
-        <el-select
-          :remote-method="getRemoteData"
-          v-model="queryParams.tjCompName"
-          value-key="drugManufacturerId"
-          style="width: 180px"
-          remote
-          filterable
-          placeholder="璇烽�夋嫨鍗曚綅鍚嶇О"
-          clearable
-          @change="searchSelect"
-        >
-          <el-option
-            v-for="dict in CompanyList"
-            :key="dict.drugManufacturerId"
-            :label="dict.cnName"
-            :value="dict"
-          />
+      <el-form-item label="鍗曚綅鍚嶇О" prop="tjCompName" style="margin-left: 20px">
+        <el-select :remote-method="getRemoteData" v-model="queryParams.tjCompName" value-key="drugManufacturerId"
+          style="width: 180px" remote filterable placeholder="璇烽�夋嫨鍗曚綅鍚嶇О" clearable @change="searchSelect">
+          <el-option v-for="dict in CompanyList" :key="dict.drugManufacturerId" :label="dict.cnName" :value="dict" />
         </el-select>
       </el-form-item>
       <el-form-item>
-        <el-button
-          type="primary"
-          size="mini"
-          @click="submitForm"
-          style="margin-right: 15px"
-          >鎼滅储</el-button
-        >
+        <el-button type="primary" size="mini" @click="submitForm" style="margin-right: 15px">鎼滅储</el-button>
         <el-button size="mini" @click="resetQuery">閲嶇疆</el-button>
       </el-form-item>
-    </el-form>
+    </el-form> -->
 
     <el-radio-group
       v-model="tjStatus"
@@ -319,36 +291,33 @@
           <template slot-scope="scope">
             <el-button
               fixed="right"
-              title="澶勬柟"
               type="text"
               size="mini"
               @click.stop="rowClick(scope.row)"
-              icon="el-icon-edit-outline"
-            ></el-button>
+              v-if="msgkcf == 'y' || msgkcf == 'Y'"
+              >澶勬柟</el-button
+            >
             <el-button
               fixed="right"
-              title="璇︽儏"
               type="text"
               size="mini"
               @click.stop="handleClick(scope.row)"
-              icon="el-icon-document-copy"
-            ></el-button>
+              >璇︽儏</el-button
+            >
             <el-button
               type="text"
               size="mini"
               @click.stop="viewReport(scope.row)"
               v-if="scope.row.tjStatus == '1'"
-              title="棰勮"
-              icon="el-icon-view"
-            ></el-button>
+              >棰勮</el-button
+            >
             <el-button
               type="text"
               size="mini"
               v-if="scope.row.tjStatus == '1'"
-              title="鎾ら攢"
               @click.stop="getRevoke(scope.row)"
-              icon="el-icon-refresh-left"
-            ></el-button>
+              >鎾ら攢</el-button
+            >
           </template>
         </el-table-column>
       </el-table>
@@ -405,10 +374,7 @@
               "
             >
               <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
-                濮撳悕锛�
-              </td>
-              <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
-                {{ tableAll.cusName }}
+                濮撳悕锛歿{ tableAll.cusName }}
               </td>
               <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
                 鎬у埆锛�
@@ -423,6 +389,9 @@
               <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
                 骞撮緞锛歿{ tableAll.age }}
               </td>
+              <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
+                浣撴鍙凤細{{ tableAll.tjNumber }}
+              </td>
             </tr>
             <tr
               style="
@@ -432,16 +401,16 @@
               "
             >
               <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
-                浣撴鍗曞彿锛�
+                鍗曚綅鍚嶇О锛歿{ tableAll.tjCompName }}
               </td>
               <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
-                {{ tableAll.tjNumber }}
+                浣撴绫诲瀷锛歿{ tableAll.tjCategory }}
               </td>
               <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
-                浣撴鏃堕棿锛�
+                濂楅锛歿{ tableAll.pacName }}
               </td>
               <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
-                {{ tableAll.tjTime }}
+                浣撴鏃堕棿锛歿{ tableAll.tjTime }}
               </td>
             </tr>
           </table>
@@ -763,8 +732,8 @@
                     type="textarea"
                     placeholder="璇疯緭鍏ュ唴瀹�"
                     v-model="textarea1"
-                    :rows="3"
-                    style="width: 96%"
+                    :autosize="{ minRows: minRows, maxRows: maxRows }"
+                    style="font-size: 16px"
                   ></el-input>
                 </el-form-item>
               </el-form>
@@ -809,9 +778,10 @@
                       border
                       style="width: 100%"
                       :header-cell-style="{ background: '#67C23A' }"
-                      :expand-row-keys="expends"
                       :row-key="getRowKeys"
+                      :expand-row-keys="expends"
                     >
+                      <!--  :expand-row-keys="expends" -->
                       <el-table-column type="expand">
                         <template slot-scope="props">
                           <div style="padding: 10px">
@@ -911,6 +881,23 @@
                         label="鍗曚綅"
                         width="78"
                       ></el-table-column>
+                      <el-table-column
+                        label="鎿嶄綔"
+                        align="center"
+                        class-name="small-padding fixed-width"
+                        width="60"
+                        fixed="right"
+                      >
+                        <template slot-scope="props">
+                          <el-button
+                            size="mini"
+                            type="text"
+                            icon="el-icon-delete"
+                            @click="shanchu(props.row)"
+                          >
+                          </el-button>
+                        </template>
+                      </el-table-column>
                     </el-table>
                   </template>
                   <template v-if="item.jyjc == '1'">
@@ -921,9 +908,9 @@
                       border
                       style="width: 100%"
                       :header-cell-style="{ background: '#67C23A' }"
-                      :expand-row-keys="expends"
                       :row-key="getRowKeys"
                     >
+                      <!--   :expand-row-keys="expends" -->
                       <el-table-column type="expand">
                         <template slot-scope="props">
                           <div style="padding: 10px">
@@ -1014,6 +1001,23 @@
                         label="妫�娴嬬粨鏋�"
                         width="403"
                       ></el-table-column>
+                      <el-table-column
+                        label="鎿嶄綔"
+                        align="center"
+                        class-name="small-padding fixed-width"
+                        width="60"
+                        fixed="right"
+                      >
+                        <template slot-scope="props">
+                          <el-button
+                            size="mini"
+                            type="text"
+                            icon="el-icon-delete"
+                            @click="shanchu(props.row)"
+                          >
+                          </el-button>
+                        </template>
+                      </el-table-column>
                     </el-table>
                   </template>
                 </div>
@@ -1055,8 +1059,8 @@
                       width="120"
                     >
                       <template slot-scope="scope">
-                        <span v-if="scope.row.type == '0'">鏈鏍�</span>
-                        <span v-if="scope.row.type == '1'">宸插鏍�</span>
+                        <span v-if="scope.row.type == '0'">鏈</span>
+                        <span v-if="scope.row.type == '1'">宸叉</span>
                         <span v-if="scope.row.type == '2'">寮冩</span>
                         <span v-if="scope.row.type == '3'">寤舵湡</span>
                       </template>
@@ -1065,16 +1069,31 @@
                       label="妫�鏌ユ椂闂�"
                       align="center"
                       prop="bcupdateTime"
+                      :formatter="formatDate"
                       width="160"
                     />
-                    <el-table-column label="鎿嶄綔" align="center" width="130px">
+                    <el-table-column
+                      label="鎿嶄綔"
+                      align="center"
+                      fixed="right"
+                      width="80px"
+                    >
                       <template slot-scope="scope">
                         <el-button
                           type="primary"
                           size="mini"
-                          @click="huifu"
+                          @click="huifu(scope.row)"
                           v-if="scope.row.type == '2'"
+                          :disabled="tjStatus === '1'"
                           >鎭㈠</el-button
+                        >
+                        <el-button
+                          type="primary"
+                          size="mini"
+                          @click="chexiao(scope.row)"
+                          v-if="scope.row.type == '1'"
+                          :disabled="tjStatus === '1'"
+                          >鎾ら攢</el-button
                         >
                       </template>
                     </el-table-column>
@@ -1129,11 +1148,11 @@
                     style="width: 100%"
                     border
                   >
-                    <el-table-column
+                    <!-- <el-table-column
                       type="selection"
                       width="40"
                       align="center"
-                    />
+                    /> -->
                     <el-table-column label="搴忓彿" align="center" prop="newID" />
                     <el-table-column
                       label="鍚嶇О"
@@ -1864,7 +1883,12 @@
     </el-dialog>
     <Packages ref="bbb" :baogao="baogao" />
     <Prescription ref="Pre" :preObj="preObj" />
-    <proposal ref="proposal" :cusobj="cusobj" @event1="eventchange($event)" />
+    <proposal
+      ref="proposal"
+      :cusobj="cusobj"
+      :mrjy="mrjy"
+      @event1="eventchange($event)"
+    />
     <createproposal ref="createproposal" :creatobj="creatobj" />
     <el-dialog
       title="甯哥敤寤鸿缁存姢"
@@ -1876,6 +1900,7 @@
 </template>
 <script>
 import _ from "lodash";
+import { getConfigKey } from "@/api/system/config";
 import jianqianwenzhen from "@/components/jianqianwenzhen";
 import Packages from "@/components/Packages";
 import Prescription from "@/components/Prescription";
@@ -1899,6 +1924,7 @@
   UpdFcPro,
   huiFuyichangxiangmu,
   hfbt,
+  chexiao,
 } from "@/api/doctor/checkAll";
 import { getInfoById } from "@/api/hosp/history";
 import { getInfo } from "@/api/login";
@@ -1943,6 +1969,8 @@
       zhiyeJg: "鏈彂鐜扮洰鏍囨�х柧鐥�", // 鍒濆鍖栦綋妫�缁撴灉涓洪粯璁ゅ��
       selectedAdvice: null,
       activeAdviceIndex: 0,
+      minRows: 3,
+      maxRows: null,
       advicerulesList: [],
       xmChange: [],
       ychfList: [],
@@ -2089,11 +2117,14 @@
         name: null,
         checkStatus: null,
         shys: null,
+        tcm: null,
+        tjCategory: null,
       },
       formobj: {},
       yichangList: [],
       fcList: [],
       statusList: [],
+      mrjy: "",
       queryParam: {
         pageNum: 1,
         pageSize: 10,
@@ -2121,6 +2152,8 @@
       status1: 0,
       viewportHeight: 0,
       expends: [],
+      expandRowKeys: [],
+      shouldExpand: false,
     };
   },
 
@@ -2135,6 +2168,12 @@
       this.$refs.inputName.focus();
       this.viewportHeight =
         window.innerHeight || document.documentElement.clientHeight;
+    });
+    getConfigKey("zjysjymrhs").then((res) => {
+      const val = parseInt(res.msg); // 纭繚鏄暟瀛�
+      if (!isNaN(val)) {
+        this.maxRows = val;
+      }
     });
   },
 
@@ -2254,6 +2293,12 @@
         this.cancelAdviceDialog();
         done();
       }
+    },
+
+    formatDate(row) {
+      if (!row.qdcreateTime) return "";
+      const date = moment(row.qdcreateTime, "YYYY-MM-DD");
+      return date.isValid() ? date.format("YYYY-MM-DD") : "鏃犳晥鏃ユ湡";
     },
 
     handleAdviceBlur(row, index) {
@@ -2539,6 +2584,15 @@
     yichangjieguo() {
       this.loading = true;
       this.status1 = 0;
+      getConfigKey("kzycxmsfzk").then((res) => {
+        this.shouldExpand = res.msg;
+        // 鍙湁Y/y鎵嶅睍寮�锛屽叾瀹冿紙鍖呮嫭绌恒�丯銆乶ull銆乽ndefined锛夐兘涓嶅睍寮�
+        if (this.shouldExpand === "Y") {
+          this.getExpends();
+        } else {
+          this.expends = [];
+        }
+      });
       yichang({
         tjNum: this.tjNumber,
       })
@@ -2557,15 +2611,24 @@
           if (!this.yichangList) {
             this.$message.warning("鏆傛棤寮傚父鎶ュ憡");
           }
+          // 杩欓噷涔熷彲浠ユ牴鎹畇houldExpand鍐嶈皟鐢ㄤ竴娆etExpends锛岀‘淇濇暟鎹凡鍔犺浇
+          if (this.shouldExpand === "Y" || this.shouldExpand === "y") {
+            this.getExpends();
+          } else {
+            this.expends = [];
+          }
         })
         .catch((error) => {
+          this.isLoading = false;
           console.error("鑾峰彇寮傚父缁撴灉澶辫触:", error);
           this.$message.error("鑾峰彇寮傚父缁撴灉澶辫触");
         })
         .finally(() => {
+          this.isLoading = false;
           this.loading = false;
         });
     },
+    
 
     fuchaxiangmu() {
       this.loading = true;
@@ -2589,14 +2652,23 @@
 
     yichanghuifu() {
       this.loading = true;
-      this.status1 = 4;
       let tjNum = this.tjNumber;
-      console.log(this.tjNumber, 111222);
+      huiFuyichangxiangmu(tjNum)
+        .then((res) => {
+          this.status1 = 4;
+          this.ychfList = res.data;
+          if (this.ychfList.length == 0) {
+            this.$message.success("鏆傛棤寮傚父鎭㈠椤圭洰");
+          }
+        })
+        .catch((error) => {
+          console.error("鑾峰彇椤圭洰澶辫触锛�", error);
 
-      huiFuyichangxiangmu(tjNum).then((res) => {
-        console.log(res, 9999999);
-        this.ychfList = res.data;
-      });
+          this.$message.error("鑾峰彇椤圭洰澶辫触");
+        })
+        .finally(() => {
+          this.loading = false;
+        });
     },
     hfyc(id) {
       this.$confirm("纭瑕佹仮澶嶈椤瑰悧锛�", "鎻愮ず", {
@@ -2884,8 +2956,13 @@
 
     propoChange() {
       this.cusobj = { sex: this.tableAll.cusSex, isZj: 0 };
-      this.$refs.proposal.open = true;
-      this.$refs.proposal.title = "寤鸿鏂规";
+      this.$refs.proposal.clearSearchFields();
+      getConfigKey("mrzscyjy").then((res) => {
+        this.mrjy = res.msg; // 浼氳Е鍙� watch 鈫� 璁剧疆 tjproposal = "1"
+        // 绛夋暟鎹姸鎬佸噯澶囧ソ鍚庡啀鎵撳紑寮圭獥
+        this.$refs.proposal.title = "寤鸿鏂规";
+        this.$refs.proposal.open = true;
+      });
     },
 
     eventchange(data) {
@@ -3010,6 +3087,7 @@
       this.startTime = [];
       this.resetForm("tableList");
       this.submitForm();
+      this.queryParams.tjCategory = null;
     },
 
     huifu(row) {
@@ -3017,6 +3095,17 @@
       const proId = row.proId;
       huifu(tjNUm, proId).then((res) => {
         if (res.code == 200) {
+          this.$message.success("鎭㈠鎴愬姛");
+          this.xiangmuqingkuang();
+        }
+      });
+    },
+    chexiao(row) {
+      const tjNUm = this.tjNumber;
+      const proId = row.proId;
+      chexiao(tjNUm, proId).then((res) => {
+        if (res.code == 200) {
+          this.$message.success("鎾ら攢鎴愬姛");
           this.xiangmuqingkuang();
         }
       });
@@ -3064,6 +3153,18 @@
       this.qingkong();
       this.$refs.Pre.open = false;
       this.tableAll = row;
+      let dict = "dict_tjtype";
+      getDicts(dict).then((res) => {
+        if (res.code == 200) {
+          res.data.forEach((item) => {
+            if (this.tableAll.tjCategory == item.dictValue) {
+              this.tableAll.tjCategory = item.dictLabel;
+            }
+          });
+        } else {
+          throw new Error("鑾峰彇浣撴绫诲瀷瀛楀吀澶辫触");
+        }
+      });
       this.tjproject = "0";
       this.tjNumber = this.tableAll.tjNumber;
 
@@ -3085,7 +3186,7 @@
                   this.isLoading = true;
                   this.drawer = true;
                   getupdateCheckType(this.tjNumber).then((response) => {
-                    this.isLoading = false;
+                    // this.isLoading = false;
                     this.changedate = response.data;
                     if (this.changedate) {
                       this.changedate.forEach((item) => {
@@ -3140,7 +3241,7 @@
                       this.isLoading = true;
                       this.drawer = true;
                       getupdateCheckType(this.tjNumber).then((response) => {
-                        this.isLoading = false;
+                        // this.isLoading = false;
                         this.changedate = response.data;
                         if (this.changedate) {
                           for (let i = 0; i < this.changedate.length; i++) {
@@ -3226,6 +3327,7 @@
       let tjNumber = this.tableAll.tjNumber;
       let tjh = this.tableAll.tjNumber;
       let advice = this.textarea1;
+      this.isLoading = true;
       let data = {
         tjNumber,
         advice,
@@ -3252,7 +3354,9 @@
       getTjdetailList(data)
         .then((response) => {
           if (response.code === 200) {
-            this.$modal.msgSuccess("鎻愪氦鎴愬姛");
+            // this.$modal.msgSuccess("鎻愪氦鎴愬姛");
+            this.$modal.msgSuccess(response.msg);
+            this.isLoading = false;
             // 娓呯┖瀛楁
             this.zhiyeJl = "";
             this.zhiyeJg = "";
@@ -3264,20 +3368,58 @@
               id: this.MsgId,
             };
 
-            addOrder(dataList)
+            /* gettoPdf(tjNumber)
+              .then((res) => {
+                this.$modal.msgSuccess("宸茬敓鎴愭姤鍛婏紒璇峰墠寰�鎶ュ憡鏍告敹椤甸潰纭锛�");
+              })
+              .catch(() => {
+                this.$modal.msgError(
+                  "鎵撳嵃鎶ュ憡澶辫触锛岃鍓嶅線鎶ュ憡鎵撳嵃椤甸潰琛ユ墦鎶ュ憡锛�"
+                );
+              }); */
+            const statePromise = getfiedState(reportData).then(() => {
+              this.drawer = false;
+            });
+            const updatePromises = this.changedate.map((item) => {
+              this.proIds = item.parentId;
+              let remarks = item.remark;
+              let updateOrderRemarkVos = [
+                {
+                  tjNumber,
+                  proId: this.proIds.toString(),
+                  remarks,
+                },
+              ];
+              return getModified(updateOrderRemarkVos);
+            });
+
+            Promise.all([statePromise, ...updatePromises])
+              .then(() => {
+                this.loading = false;
+                this.queryParams.page = 1;
+                this.queryParams.pageSize = 10;
+                this.submitForm();
+                this.$forceUpdate();
+              })
+              .catch((error) => {
+                this.loading = false;
+                console.error("鍙戠敓閿欒:", error);
+              });
+
+            /* addOrder(dataList)
               .then((res) => {
                 if (res.code == 200) {
-                  gettoPdf(tjNumber)
-                    .then((res) => {
-                      this.$modal.msgSuccess(
-                        "宸茬敓鎴愭姤鍛婏紒璇峰墠寰�鎶ュ憡鏍告敹椤甸潰纭锛�"
-                      );
-                    })
-                    .catch(() => {
-                      this.$modal.msgError(
-                        "鎵撳嵃鎶ュ憡澶辫触锛岃鍓嶅線鎶ュ憡鎵撳嵃椤甸潰琛ユ墦鎶ュ憡锛�"
-                      );
-                    });
+                  // gettoPdf(tjNumber)
+                  //   .then((res) => {
+                  //     this.$modal.msgSuccess(
+                  //       "宸茬敓鎴愭姤鍛婏紒璇峰墠寰�鎶ュ憡鏍告敹椤甸潰纭锛�"
+                  //     );
+                  //   })
+                  //   .catch(() => {
+                  //     this.$modal.msgError(
+                  //       "鎵撳嵃鎶ュ憡澶辫触锛岃鍓嶅線鎶ュ憡鎵撳嵃椤甸潰琛ユ墦鎶ュ憡锛�"
+                  //     );
+                  //   });
                   const statePromise = getfiedState(reportData).then(() => {
                     this.drawer = false;
                   });
@@ -3311,7 +3453,7 @@
               .catch((error) => {
                 this.loading = false;
                 console.error("addOrderPromise 澶辫触:", error);
-              });
+              }); */
           } else {
             this.loading = false;
             this.$modal.msgError("鎻愪氦澶辫触");

--
Gitblit v1.8.0