From 0119182fc7947e3bd2299a24bba7e25e913dbddc Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 22 十二月 2023 09:47:40 +0800
Subject: [PATCH] 	modified:   src/api/plan/productionschedul.js 	modified:   src/views/plan/productionschedul/index.vue 	modified:   src/views/quality/processInspect/index.vue 	modified:   src/views/quality/processInspect/processInspect-form.vue 	modified:   src/views/quality/rawMaterial/rawMaterial-form.vue

---
 src/views/technology/document/document-form.vue |   29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/src/views/technology/document/document-form.vue b/src/views/technology/document/document-form.vue
index 95d7185..906bb1f 100644
--- a/src/views/technology/document/document-form.vue
+++ b/src/views/technology/document/document-form.vue
@@ -7,11 +7,11 @@
         <h2 v-if="!editable">鏌ョ湅-宸ヨ壓鏂囦欢</h2>
       </div>
       <div class="btn-group header-right" v-if="editable">
-        <el-button @click="save()">淇濆瓨</el-button>
+        <el-button type="primary" @click="save()">淇濆瓨</el-button>
       </div>
     </div>
     <div class="page-main">
-      <div class="document-basic">
+      <div class="document-basic" style="height: 28%;">
         <el-form
           :model="dataForm"
           :rules="dataRule"
@@ -102,7 +102,7 @@
             </el-col> -->
             <el-col :span="6">
               <el-form-item label="浜у搧闆朵欢鍙�" prop="partNo">
-                <el-input v-model="dataForm.partNo" placeholder="璇烽�夋嫨闆朵欢">
+                <el-input disabled v-model="dataForm.partNo" placeholder="璇烽�夋嫨闆朵欢">
                   <el-button
                     slot="append"
                     icon="el-icon-search"
@@ -113,7 +113,9 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="浜у搧闆朵欢鎻忚堪" prop="partName">
+                <el-tooltip class="item" effect="dark" :content="dataForm.partName" >
                 <el-input v-model="dataForm.partName" disabled> </el-input>
+                </el-tooltip>
               </el-form-item>
             </el-col>
           </el-row>
@@ -160,6 +162,15 @@
                   </el-select>
                 </el-form-item>
               </el-col>
+              <el-col :span="6">
+              <el-form-item label="椤圭洰鍙�" prop="projectNo">
+                <el-input
+                  v-model="dataForm.projectNo"
+                  placeholder="椤圭洰鍙�"
+                  style="width:100%"
+                ></el-input>
+              </el-form-item>
+            </el-col> 
               <el-col :span="6">
                 <el-form-item label="澶囨敞" prop="remark">
                   <el-input
@@ -250,7 +261,8 @@
           >
             <TeststandardDialog
               :editable="editable"
-              :documentId="Number(dataForm.id)"
+              :key="dataForm.id"
+              :documentId="dataForm.id"
             >
             </TeststandardDialog>
           </el-tab-pane>
@@ -854,7 +866,7 @@
           { required: true, message: '鐗堟湰鍙蜂笉鑳戒负绌�', trigger: 'blur' }
         ],
         projectNo: [
-          { required: true, message: '椤圭洰鍙蜂笉鑳戒负绌�', trigger: 'blur' }
+          // { required: true, message: '椤圭洰鍙蜂笉鑳戒负绌�', trigger: 'blur' }
         ],
         projectType: [
           { required: true, message: '椤圭洰绫诲埆涓嶈兘涓虹┖', trigger: 'change' }
@@ -974,7 +986,6 @@
             bomId: this.dataForm.bomId,
           })
         ).then((response) => {
-          console.log(response)
           this.routingList = response.data.data
         })
       } else {
@@ -1206,7 +1217,6 @@
         if (this.currTechnologyName != null && this.currTechnologyName !== '') {
           // 褰撶敤鎴峰垹闄ゅ伐鑹烘枃浠朵腑鍏宠仈鐨勫伐鑹鸿矾绾挎椂锛岃嫢璇ユ枃浠跺搴擝OM涓墍闇�鍗婃垚鍝佺殑宸ヨ壓璺嚎涔熷凡涓庡綋鍓嶅伐鑹烘枃浠跺叧鑱�
           routingChildCheck(this.currTechnologyBomPartName).then((res) => {
-            console.log('res', res.data)
             const resData = res.data
             let num = 0
             if (resData.code === 0) {
@@ -1850,7 +1860,6 @@
         allKeyValues = allKeyValues.concat(keyValues)
         i = i + keyValues.length
       }
-      console.log("aaa--",allKeyValues)
       this.materialCostList = allKeyValues
     },
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
@@ -1904,7 +1913,6 @@
       if (this.dataForm.id) {
         this.getDocumentInfo(this.dataForm.id)
       }
-      console.log('涓婁紶鎴愬姛')
     },
     handleStructureExceed(files, fileList) {
       // this.$message.warning(
@@ -1946,7 +1954,6 @@
       this.dialogFlowVisible = true
     },
     handleFlowSuccess(response, file, fileList) {
-      console.log('涓婁紶鎴愬姛')
     },
     handleFlowExceed(files, fileList) {
       this.$message.warning(
@@ -1990,8 +1997,6 @@
     },
     getSummaries(param) {
       const { columns, data } = param
-      // console.log(columns, 'A')
-      // console.log(data, 'B')
       const sums = []
       columns.forEach((column, index) => {
         if (index === 0) {

--
Gitblit v1.9.3