From 41e0df8413624e6034c967f3afae30da59370879 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 11 十二月 2023 16:20:15 +0800
Subject: [PATCH] 	modified:   src/components/verifition/Verify/VerifyPoints.vue 	modified:   src/const/crud/admin/sys-public-param.js 	modified:   src/page/full-screen/fullScreenPlus.vue 	modified:   src/page/index/logo.vue 	modified:   src/page/index/sidebar/sidebarItem.vue 	modified:   src/page/login/index.vue 	modified:   src/page/login/thirdpartylogin.vue 	modified:   src/util/elAttr.js 	modified:   src/views/accounting/unitworkfactor/unitworkfactor-form.vue 	modified:   src/views/accounting/unitworkfactor/updateQuota-form.vue 	modified:   src/views/basic/discmaintenance/discmaintenance-form.vue 	modified:   src/views/basic/log/index.vue 	modified:   src/views/basic/part/part-form.vue 	modified:   src/views/basic/part/print-label-form.vue 	modified:   src/views/basic/poc/index.vue 	modified:   src/views/basic/tabletest/index.vue 	modified:   src/views/basic/template/index.vue 	modified:   src/views/basic/template/template-form.vue 	modified:   src/views/basic/workstation/workstation-form.vue 	modified:   src/views/common/custom-table.vue 	modified:   src/views/common/documentDetail.vue 	modified:   src/views/common/operationParamTemplate.vue 	modified:   src/views/common/rawMaterial-part.vue 	modified:   src/views/common/search-select.vue 	modified:   src/views/common/ztt-table.vue 	modified:   src/views/huawei/code19bind/list.vue 	modified:   src/views/huawei/code19gen/form.vue 	modified:   src/views/huawei/grossweightcode/list.vue 	modified:   src/views/huawei/grossweightcode/task-secret-form.vue 	modified:   src/views/oa/JiegouModal.vue 	modified:   src/views/oa/PeizhiModal.vue 	modified:   src/views/oa/technology-document-new.vue 	modified:   src/views/oa/technology-document.vue 	modified:   src/views/plan/customer/index.vue 	modified:   src/views/plan/customerorder/confirm-pull-customerorder.vue 	modified:   src/views/plan/customerorder/customerorder-config-history.vue 	modified:   src/views/plan/customerorder/customerorder-form.vue 	modified:   src/views/plan/customerorder/customerorder-return.vue 	modified:   src/views/plan/customerorder/customerorder-ztt-table.vue 	modified:   src/views/plan/customerorder/index.vue 	modified:   src/views/plan/customerorder/other-customer-order-line.vue 	modified:   src/views/plan/customerorder/sample-customerorder-form.vue 	modified:   src/views/plan/customerorder/schedule-table.vue 	modified:   src/views/plan/manufacturingorder/auto-operationtask.vue 	modified:   src/views/plan/manufacturingorder/customerorder.vue 	modified:   src/views/plan/manufacturingorder/customize-param-template.vue 	modified:   src/views/plan/manufacturingorder/order-operation-form.vue 	modified:   src/views/plan/manufacturingorder/productorder-form.vue 	modified:   src/views/plan/manufacturingorderapply/index.vue 	modified:   src/views/plan/masterproductionschedule/auto-manufacturingorder.vue 	modified:   src/views/plan/operationtask/gantt.vue 	modified:   src/views/plan/operationtask/operationtask-form.vue 	modified:   src/views/plan/operationtask/task-material.vue 	modified:   src/views/plan/productionschedul/index.vue 	modified:   src/views/plan/productionschedul/template-form.vue 	modified:   src/views/plan/schedule/gantt.vue 	modified:   src/views/plan/schedulelookover/ganttview.vue 	modified:   src/views/plan/segmentmerge/index.vue 	modified:   src/views/plan/segmentmerge/operate-dialog.vue 	modified:   src/views/plan/segmentmerge/operation-technology-form.vue 	modified:   src/views/product/dutyrecord/index.vue 	modified:   src/views/product/producttraceability/index.vue 	modified:   src/views/product/producttraceability/traceability-diagram.vue 	modified:   src/views/product/workbench/batchproductout-form-new.vue 	modified:   src/views/product/workbench/batchproductout-form.vue 	modified:   src/views/product/workbench/feed-form.vue 	modified:   src/views/product/workbench/feed-pane.vue 	modified:   src/views/product/workbench/feed-tab.vue 	modified:   src/views/product/workbench/handymantype.vue 	modified:   src/views/product/workbench/index.vue 	modified:   src/views/product/workbench/mould-pane.vue 	modified:   src/views/product/workbench/operation-task-pane.vue 	modified:   src/views/product/workbench/product-record-form.vue 	modified:   src/views/product/workbench/productout-form-by-batch.vue 	modified:   src/views/product/workbench/productout-form.vue 	modified:   src/views/product/workbench/productrecord-tab.vue 	modified:   src/views/product/workbench/producttracking-tab.vue 	modified:   src/views/product/workbench/shift-productout-form.vue 	modified:   src/views/product/workbench/splitTaskForm.vue 	modified:   src/views/product/workbench/taskinfo-pane.vue 	modified:   src/views/quality/Packaging_ledger/pack-from.vue 	modified:   src/views/quality/apply/index.vue 	modified:   src/views/quality/exception/exception.vue 	modified:   src/views/quality/exception/index.vue 	modified:   src/views/quality/finishedProductInspection/finishedProduct-form.vue 	modified:   src/views/quality/finishedProductInspection/finishedProduct-print.vue 	modified:   src/views/quality/finishedProductInspection/finishedProducter-print.vue 	modified:   src/views/quality/finishedProductInspection/index.vue 	modified:   src/views/quality/newReport/ReportForm.vue 	modified:   src/views/quality/processInspect/index.vue 	modified:   src/views/quality/processInspect/processInspect-form.vue 	modified:   src/views/quality/processconfiguration/index.vue 	modified:   src/views/quality/processconfiguration/table-form.vue 	modified:   src/views/quality/rawMaterial/QrcodeReader.vue 	modified:   src/views/quality/rawMaterial/index.vue 	modified:   src/views/quality/rawMaterial/rawMaterial-form.vue 	modified:   src/views/quality/report/index.vue 	modified:   src/views/quality/standardbind/standardbind-form.vue 	modified:   src/views/quality/statistics/rateChart.vue 	modified:   src/views/quality/testitemlayout/index.vue 	modified:   src/views/quality/testplan/testplan-form.vue 	modified:   src/views/quality/unqualifiedprocess/examineApproveform.vue 	modified:   src/views/quality/unqualifiedprocess/index.vue 	modified:   src/views/quality/unqualifiedprocess/loaction-form.vue 	modified:   src/views/quality/unqualifiedprocess/unqualifiedprocessform.vue 	modified:   src/views/technology/completeproductstructure/completeproductstructure-form.vue 	modified:   src/views/technology/document/checkStandardTable.vue 	modified:   src/views/technology/document/document-form.vue 	modified:   src/views/technology/document/extendsOperation.vue 	modified:   src/views/technology/document/extendsTestStandard.vue 	modified:   src/views/technology/document/extendsTestStandardParam.vue 	modified:   src/views/technology/document/teststandard.vue 	modified:   src/views/technology/structure/single-structure-form.vue 	modified:   src/views/warehouse/changestock/index.vue 	modified:   src/views/warehouse/check/check-detail.vue 	modified:   src/views/warehouse/pallettransports/ifslocation-form.vue 	modified:   src/views/warehouse/pallettransports/ifsstock-form.vue 	modified:   src/views/warehouse/pallettransports/index.vue 	modified:   src/views/warehouse/returnstock/ifslocation-form.vue 	modified:   src/views/warehouse/returnstock/index.vue 	modified:   src/views/warehouse/returnstock/returnstock-form.vue 	modified:   src/views/warehouse/returnstock/stock-part.vue 	modified:   src/views/warehouse/stock/print-label-form.vue 	modified:   src/views/warehouse/stock/small-print-label-form.vue 	modified:   src/views/warehouse/stock/small-warehousing-label-form.vue 	modified:   src/views/warehouse/stock/stock-table.vue 	modified:   src/views/warehouse/stock/warehousing-label-form.vue 	modified:   src/views/zte/pkgidbind/index.vue

---
 src/views/plan/customerorder/customerorder-form.vue |  100 +++++++++++++++++++++++++++++--------------------
 1 files changed, 59 insertions(+), 41 deletions(-)

diff --git a/src/views/plan/customerorder/customerorder-form.vue b/src/views/plan/customerorder/customerorder-form.vue
index c19dd65..0dc65bb 100644
--- a/src/views/plan/customerorder/customerorder-form.vue
+++ b/src/views/plan/customerorder/customerorder-form.vue
@@ -209,13 +209,12 @@
                 <el-input
                   v-model="dataForm.partNo"
                   placeholder=""
-                  disabled
                 >
                   <el-button
                     slot="append"
                     icon="el-icon-search"
-                    @click="openSalesPartDialog()"
-                    v-show="dataForm.id"
+                    @click="openPartDialog()"
+
                   ></el-button>
                 </el-input>
               </el-form-item>
@@ -248,10 +247,11 @@
               </el-form-item>
             </el-col>
             <el-col :span="6">
-              <el-form-item label="鏀惰揣鍦板潃" prop="shippingAddress">
+              <el-form-item label="宸ヨ壓鏂囦欢鍚嶇О" prop="docName">
                 <el-input
-                  v-model="dataForm.shippingAddress"
+                  v-model="dataForm.docName"
                   placeholder=""
+                  disabled
                 ></el-input>
               </el-form-item>
             </el-col>
@@ -323,6 +323,14 @@
             </el-col> -->
           </el-row>
           <el-row>
+            <el-col :span="6">
+              <el-form-item label="鏀惰揣鍦板潃" prop="shippingAddress">
+                <el-input
+                  v-model="dataForm.shippingAddress"
+                  placeholder=""
+                ></el-input>
+              </el-form-item>
+            </el-col>
             <!-- <el-col :span="6">
               <el-form-item label="OTC鎺ㄩ�佺姸鎬�" prop="remark">
                 <span>{{
@@ -337,7 +345,22 @@
           </el-row>
           <el-row>
             <el-col :span="24">
-              <el-form-item label="璁㈠崟璇存槑" prop="remark">
+              <el-form-item label="璁㈠崟澶囨敞" prop="comment">
+                <el-input
+                  type="textarea"
+                  :rows="3"
+                  placeholder=""
+                  v-model="dataForm.comment"
+                  maxlength="500"
+                  show-word-limit
+                >
+                </el-input>
+              </el-form-item>
+            </el-col>
+          </el-row>
+          <el-row>
+            <el-col :span="24">
+              <el-form-item label="浜у搧澶囨敞" prop="remark">
                 <el-input
                   type="textarea"
                   :rows="3"
@@ -620,15 +643,16 @@
               show-overflow-tooltip
             >
             </el-table-column>
-            <el-table-column prop="lineNumber" align="center" label="琛屽彿">
-            </el-table-column>
+            <!-- <el-table-column prop="lineNumber" align="center" label="琛屽彿"> -->
+            <!-- </el-table-column> -->
             <el-table-column
               prop="originalFileName"
               align="center"
               label="鍘熸枃浠跺悕"
+              width="200"
             >
             </el-table-column>
-            <el-table-column prop="fileName" align="center" label="鏂囦欢鍚�">
+            <el-table-column prop="fileName" align="center" label="鏂囦欢鍚庣紑">
             </el-table-column>
             <el-table-column prop="createUser" align="center" label="涓婁紶浜�">
             </el-table-column>
@@ -661,13 +685,13 @@
             <!--            </el-table-column>-->
             <el-table-column fixed="right" align="center" label="鎿嶄綔">
               <template slot-scope="scope">
-                <el-button
+                <!-- <el-button
                   @click="synchronizeFile(scope.row)"
                   type="text"
                   size="small"
                   :disabled="scope.row.lineNumber !== dataForm.customerNo"
                   >鍚屾</el-button
-                >
+                > -->
                 <el-button
                   @click="delProcessConfigFile(scope.row)"
                   type="text"
@@ -803,7 +827,9 @@
         productName: '',
         productType: '',
         partNo: '',
+        technologyDocumentId: '',
         docNumber: '',
+        docName: '',
         shippingAddress: '',
         remark: '',
         otcUnit: '',
@@ -1012,9 +1038,7 @@
             // if (response.data.data.customerOrderList != null) {
             //   this.dataForm = response.data.data.customerOrderList
             //
-            //   console.log('0')
             //   if (this.dataForm.OrderOrContract) {
-            //     console.log('1')
             //     // 灏嗚鍗曡繕鏄悎鍚岃浆涔�
             //     if (this.dataForm.OrderOrContract == '0') {
             //       this.dataForm.OrderOrContract = '鍚堝悓'
@@ -1023,9 +1047,8 @@
             //     }
             //   }
             // } else {
-            //   console.log('2')
             this.dataForm = response.data.data
-            
+
             // }
             // this.fileList = response.data.data.customerOrderAttachmentList
             const sourceId = response.data.data.sourceId
@@ -1167,25 +1190,34 @@
         }
       })
     },
-    // 闆朵欢閫夋嫨
+        // 闆朵欢閫夋嫨
     openPartDialog() {
-      if (
-        this.dataForm.coState === '01partUnCheck' ||
-        this.dataForm.coState === '02technologyUnCheck'
-      ) {
-        this.showPart = true
-      } else {
-        this.$message.warning(
-          '璁㈠崟鍙湁鍦ㄣ�愰浂浠跺緟閫夈�戙�併�愬伐鑹烘枃浠跺緟閫夈�戠姸鎬佷笅锛屾墠鑳借繘琛岄浂浠朵慨鏀�'
-        )
-      }
+      this.showPart = true
     },
     selectPart(part) {
       if (part) {
         this.dataForm.partNo = part.partNo
-        this.$refs.dataForm.validateField('partNo', (valid) => {})
       }
     },
+    // 闆朵欢閫夋嫨
+    // openPartDialog() {
+    //   if (
+    //     this.dataForm.coState === '01partUnCheck' ||
+    //     this.dataForm.coState === '02technologyUnCheck'
+    //   ) {
+    //     this.showPart = true
+    //   } else {
+    //     this.$message.warning(
+    //       '璁㈠崟鍙湁鍦ㄣ�愰浂浠跺緟閫夈�戙�併�愬伐鑹烘枃浠跺緟閫夈�戠姸鎬佷笅锛屾墠鑳借繘琛岄浂浠朵慨鏀�'
+    //     )
+    //   }
+    // },
+    // selectPart(part) {
+    //   if (part) {
+    //     this.dataForm.partNo = part.partNo
+    //     this.$refs.dataForm.validateField('partNo', (valid) => {})
+    //   }
+    // },
     // 鍏ㄥ睆
     fullscreen() {
       this.isFullScreen = !this.isFullScreen
@@ -1272,9 +1304,6 @@
       this.getConfigFiles()
     },
     delProcessConfigFile(row) {
-      if (row.lineNumber !== this.dataForm.otcLineNo) {
-        this.$message.error('涓婁紶鏂囦欢琛屽彿涓庡綋鍓嶉攢鍞鍗曡鍙蜂笉涓�鑷达紝涓嶅厑璁稿垹闄�')
-      } else {
         this.$confirm('鏄惁鍒犻櫎宸ヨ壓閰嶇疆鏂囦欢', '鎻愮ず', {
           confirmButtonText: '纭畾',
           cancelButtonText: '鍙栨秷',
@@ -1287,7 +1316,6 @@
           .then((data) => {
             this.getConfigFiles()
           })
-      }
     },
     downloadProcessConfigFile(row) {
       downloadProcessConfigFile(
@@ -1320,7 +1348,6 @@
     // 淇濆瓨閰嶇疆鍗�
     saveConfig() {
       const configId = this.configContent.id
-      console.log(this.configContent)
       for (
         let i = this.configContent.processConfigDataList.length - 1;
         i >= 0;
@@ -1336,7 +1363,6 @@
       }
       if (configId) {
         newProcessConfigEditOne(this.configContent).then((res) => {
-          console.log(res)
           if (res.data.code === 0) {
             this.$message.success('淇濆瓨鎴愬姛')
             this.init(this.configContent.orderId)
@@ -1346,7 +1372,6 @@
         })
       } else {
         newProcessConfigAddOne(this.configContent).then((res) => {
-          console.log(res)
           if (res.data.code === 0) {
             this.$message.success('淇濆瓨鎴愬姛')
             this.init(this.configContent.orderId)
@@ -1371,7 +1396,6 @@
         } else {
           this.$message.error('璇ラ攢鍞鍗曞彿涓嬶紝娌℃湁鍏朵粬璁㈠崟琛�')
           /* const configId = this.configContent.id
-          console.log(this.configContent)
           for (
             let i = this.configContent.processConfigDataList.length - 1;
             i >= 0;
@@ -1387,7 +1411,6 @@
           }
           if (configId) {
             newProcessConfigEdit(this.configContent).then((res) => {
-              console.log(res)
               if (res.data.code === 0) {
                 this.$message.success('淇濆瓨鎴愬姛')
                 this.init(this.configContent.orderId)
@@ -1397,7 +1420,6 @@
             })
           } else {
             newProcessConfigAdd(this.configContent).then((res) => {
-              console.log(res)
               if (res.data.code === 0) {
                 this.$message.success('淇濆瓨鎴愬姛')
                 this.init(this.configContent.orderId)
@@ -1409,7 +1431,6 @@
         }
       })
       /* const configId = this.configContent.id
-      console.log(this.configContent)
       for (
         let i = this.configContent.processConfigDataList.length - 1;
         i >= 0;
@@ -1425,7 +1446,6 @@
       }
       if (configId) {
         newProcessConfigEdit(this.configContent).then((res) => {
-          console.log(res)
           if (res.data.code === 0) {
             this.$message.success('淇濆瓨鎴愬姛')
             this.init(this.configContent.orderId)
@@ -1435,7 +1455,6 @@
         })
       } else {
         newProcessConfigAdd(this.configContent).then((res) => {
-          console.log(res)
           if (res.data.code === 0) {
             this.$message.success('淇濆瓨鎴愬姛')
             this.init(this.configContent.orderId)
@@ -1497,7 +1516,6 @@
       // var param = Object.assign({ current: 1, size: 20 })
       // getProcessConfigPage(param).then((res) => {
       //   const list = res.data.data.records
-      //   console.log(list)
       // })
     },
     // 鑾峰彇纭

--
Gitblit v1.9.3