From 3ca7a7fe929d39c51e705e39306a99e452b1efe7 Mon Sep 17 00:00:00 2001
From: 晏有为 <13214124+yan-youwei@user.noreply.gitee.com>
Date: 星期一, 27 五月 2024 16:23:29 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before

---
 src/components/do/b1-ins-order/add.vue |   39 +++++++++++++++++++++++++++++++++++++--
 1 files changed, 37 insertions(+), 2 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index c06c537..03ffe0e 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -107,7 +107,6 @@
           <el-button size="medium" @click="templateDia=true" v-show="active==1">
             <span style="color: #3A7BFA;">淇濆瓨妯℃澘</span>
           </el-button>
-          <el-button size="medium" type="primary" @click="$parent.playOrder(4)">鍏夌氦閰嶇疆</el-button>
           <el-button size="medium" type="primary" @click="save" :loading="saveLoad" v-show="active==1">鎻愪氦</el-button>
           <!-- 瀹℃牳 -->
           <el-button size="medium" @click="upInsOrderOfState(2)" :loading="saveLoad" v-show="active==3"
@@ -243,6 +242,30 @@
           <div class="search_label">OTC璁㈠崟鍙凤細</div>
           <div class="search_input">
             <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addObj.otcCode" :readonly="active>1"></el-input>
+          </div>
+        </el-col>
+        <el-col class="search_thing" :span="6">
+          <div class="search_label"><span class="required-span">* </span>宸ョ▼鍚嶇О锛�</div>
+          <div class="search_input">
+            <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addObj.engineering" :readonly="active>1"></el-input>
+          </div>
+        </el-col>
+        <el-col class="search_thing" :span="6">
+          <div class="search_label"><span class="required-span">* </span>宸ョ▼鍚嶇ОEN锛�</div>
+          <div class="search_input">
+            <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addObj.engineeringEn" :readonly="active>1"></el-input>
+          </div>
+        </el-col>
+        <el-col class="search_thing" :span="6">
+          <div class="search_label"><span class="required-span">* </span>鐢熶骇鍗曚綅锛�</div>
+          <div class="search_input">
+            <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addObj.production" :readonly="active>1"></el-input>
+          </div>
+        </el-col>
+        <el-col class="search_thing" :span="6">
+          <div class="search_label"><span class="required-span">* </span>鐢熶骇鍗曚綅EN锛�</div>
+          <div class="search_input">
+            <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addObj.productionEn" :readonly="active>1"></el-input>
           </div>
         </el-col>
         <el-col class="search_thing" :span="6" style="align-items: flex-start;margin: 8px 0;">
@@ -563,7 +586,11 @@
           isLeave: 0,
           orderType: null,
           send: 1,
-          formType: '閫佹'
+          formType: '閫佹',
+          engineering: null,
+          engineeringEn: null,
+          production: null,
+          productionEn: null,
         },
         sample: {
           sampleCode: null,
@@ -727,6 +754,14 @@
           this.$message.error('璇疯緭鍏ユ潵鏍锋柟寮�')
         } else if (!this.addObj.orderType) {
           this.$message.error('璇烽�夋嫨妫�楠岀被鍒�')
+        }else if (!this.addObj.engineering) {
+          this.$message.error('璇疯緭鍏ュ伐绋嬪悕绉�')
+        } else if (!this.addObj.engineeringEn) {
+          this.$message.error('璇疯緭鍏ュ伐绋嬪悕绉癊N')
+        }else if (!this.addObj.production) {
+          this.$message.error('璇疯緭鍏ョ敓浜у崟浣�')
+        }else if (!this.addObj.productionEn) {
+          this.$message.error('璇疯緭鍏ョ敓浜у崟浣岴N')
         } else if (this.sampleList.length < 1) {
           this.$message.error('璇锋坊鍔犱竴涓牱鍝�')
         } else if (!this.sampleList.every(m => m.sample)) {

--
Gitblit v1.9.3