From b2ad6d8d58cff3ac54afed6ad5fbfc060b5283ad Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期五, 09 八月 2024 09:10:10 +0800
Subject: [PATCH] 质检细节样式

---
 pages/quality-inspection-page/toc-sampling/toc-sampling-form/toc-sampling-form.vue |   27 ++++++++++++++++++---------
 1 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/pages/quality-inspection-page/toc-sampling/toc-sampling-form/toc-sampling-form.vue b/pages/quality-inspection-page/toc-sampling/toc-sampling-form/toc-sampling-form.vue
index acca335..c2e38f5 100644
--- a/pages/quality-inspection-page/toc-sampling/toc-sampling-form/toc-sampling-form.vue
+++ b/pages/quality-inspection-page/toc-sampling/toc-sampling-form/toc-sampling-form.vue
@@ -27,6 +27,7 @@
       >
         <jp-select-plus
             :isLineFeed="false"
+            isLoading
             isSearch
             color="#497bfb"
             placeholder="璇烽�夋嫨"
@@ -158,9 +159,10 @@
         customerId:'',  //渚涘簲鍟�
         customerName:'',  //渚涘簲鍟�
         samplingTime: '', //閲囬泦鏃ユ湡
-        bunkerId:'',
+        // bunkerId:'',
         bunkerName:'',
         samplingPerson: '',
+        samplingSignAddress:'',
         type: 7,  //1 EDC銆�2 鑱氭隘涔欑儻鏍戣剛銆�3 纭吀銆�4 姘㈡哀鍖栭挔 5 娑叉隘 6銆佸師鐩愰挋闀� 7銆佸師鐩怲OC 8銆佸師鐩愬叏妫�
       },
       filedId:'',
@@ -174,12 +176,12 @@
           message: '璇峰~鍐欐壒鍙�',
           trigger: ['blur', 'change']
         }],
-        // customerId:[{
-        //   type: 'string',
-        //   required: true,
-        //   message: '璇烽�夋嫨渚涘簲鍟�',
-        //   trigger: ['blur', 'change']
-        // }],
+        customerId:[{
+          type: 'string',
+          required: true,
+          message: '璇烽�夋嫨渚涘簲鍟�',
+          trigger: ['blur', 'change']
+        }],
         bunkerName:[{
           type: 'string',
           required: true,
@@ -209,6 +211,7 @@
       this.submitShow = false
       this.$nextTick(() => {
         this.modelForm = Object.assign({},JSON.parse(opt.params))
+        console.log(this.modelForm,'this.modelForm----------涓婁釜椤甸潰浼犺繃鏉ョ殑鏁版嵁----')
         if(this.modelForm.samplingTime) {
           this.modelForm.samplingTime = dayjs(this.modelForm.samplingTime).format('YYYY-MM-DD HH:mm')
         }
@@ -224,6 +227,8 @@
     }else {  //娌℃嬁鍒版暟鎹皟涓�閬嶆帴鍙�
       this.$store.dispatch('getSamplingPerson')
     }
+
+
     // console.log(getStatus('roleType'),'roleType-----')
     // console.log(getStatus('customerId'),'customerId-----')
     // console.log(getStatus('userInfo'),'userInfo-----')
@@ -232,15 +237,16 @@
   },
   methods: {
     getClaimCustomerList() {  //渚涘簲鍟嗗垪琛�  type 绫诲瀷 0/澶栭儴 1/鍐呴儴(鍖栭獙鍗曠殑灞炰簬澶栭儴瀹㈡埛)
-      this.$reqGet('getClaimCustomerPageList',{current: 1, size:999, personnelType:0}).then(res => {
+      this.$reqGet('getClaimCustomerPageList',{personnelType:1,type:0,deptId:this.deptId}).then(res => {
         console.log(res,'渚涘簲鍟嗛偅涓�=====')
         if(res.code == 0) {
-          this.customerIdList = res.data.records.map(item => {
+          this.customerIdList = res.data.map(item => {
             return {
               code:item.id,
               name: item.name
             }
           })
+          console.log(this.customerIdList,'this.customerIdList===')
         }
       })
     },
@@ -304,6 +310,9 @@
     font-size: 34rpx!important;
     top: 12rpx;
   }
+  .inputs{
+    width: 100%;
+  }
 }
 @mixin commonBtn($h:62rpx){
   background-image: linear-gradient(to right,#497bfb,#2467fd);

--
Gitblit v1.9.1