فهرست منبع

feat: 修改返回列表页面刷新

aXin-0810 2 سال پیش
والد
کامیت
2781eb2009

+ 2 - 1
src/views/deposit_home/components/deposit-apply-surrender.vue

@@ -550,9 +550,10 @@ export default {
         dataList: [...arr, ...this.details.dataList]
       }).then(res => {
         this.$successMsg('申请成功')
+        this.$emit('updateList')
         this.$parent.showPage = 1
         this.$parent.deduction = ''
-        this.$parent.getList()
+        this.$parent?.getList()
       })
     },
     delFile(index) {

+ 285 - 95
src/views/deposit_home/components/deposit_list-detail.vue

@@ -94,8 +94,14 @@
               <div class="label">安装时间</div>
               <div class="value" style="padding: 0">
                 <el-form-item prop="installDate">
-                  <el-date-picker v-model="details.installDate" :disabled="details.examineStatus == 'OK'"
-                    type="datetime" placeholder="安装时间" default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+                  <el-date-picker
+                    v-model="details.installDate"
+                    :disabled="details.examineStatus == 'OK'"
+                    type="datetime"
+                    placeholder="安装时间"
+                    default-time="00:00:00"
+                    value-format="yyyy-MM-dd HH:mm:ss"
+                  />
                 </el-form-item>
               </div>
             </el-col>
@@ -129,17 +135,38 @@
       <!-- 列表 -->
       <div class="mymain-container">
         <div class="table">
-          <el-table v-loading="listLoading" :data="details.items" element-loading-text="Loading" border fit
-            highlight-current-row stripe show-summary :summary-method="$getSummaries">
-            <el-table-column v-if="!isCustomer" align="left" label="厂编号" prop="factoryNo" min-width="160"
-              show-overflow-tooltip>
+          <el-table
+            v-loading="listLoading"
+            :data="details.items"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+            show-summary
+            :summary-method="$getSummaries"
+          >
+            <el-table-column
+              v-if="!isCustomer"
+              align="left"
+              label="厂编号"
+              prop="factoryNo"
+              min-width="160"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.factoryNo" />
                 <span>{{ scope.row.factoryNo }}</span>
               </template>
             </el-table-column>
-            <el-table-column v-if="!isCustomer" align="left" label="特价编号" prop="specialNo" min-width="160"
-              show-overflow-tooltip>
+            <el-table-column
+              v-if="!isCustomer"
+              align="left"
+              label="特价编号"
+              prop="specialNo"
+              min-width="160"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.specialNo" />
                 <span>{{ scope.row.specialNo }}</span>
@@ -151,7 +178,13 @@
                 <span>{{ scope.row.materialNumber }}</span>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="产品编码" prop="materialOldNumber" min-width="130" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="产品编码"
+              prop="materialOldNumber"
+              min-width="130"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.materialOldNumber" />
                 <span>{{ scope.row.materialOldNumber }}</span>
@@ -169,23 +202,39 @@
                 <span>{{ scope.row.specification }}</span>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装规格型号"
+              prop="realSpecification"
+              min-width="300"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realSpecification != scope.row.specification ? { color: 'blue' } : ''">
                   {{ scope.row.realSpecification }}
                 </div>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="实装物料编号" prop="realMaterialNumber" min-width="150"
-              show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装物料编号"
+              prop="realMaterialNumber"
+              min-width="150"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realMaterialNumber != scope.row.materialNumber ? { color: 'blue' } : ''">
                   {{ scope.row.realMaterialNumber }}
                 </div>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="实装厂产品编码" prop="realMaterialOldNumber" min-width="200"
-              show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装厂产品编码"
+              prop="realMaterialOldNumber"
+              min-width="200"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realMaterialOldNumber != scope.row.materialOldNumber ? { color: 'blue' } : ''">
                   {{ scope.row.realMaterialOldNumber }}
@@ -204,7 +253,13 @@
               </template>
             </el-table-column>
             <el-table-column align="right" label="押金数量" prop="hasSendQty" min-width="160" show-overflow-tooltip />
-            <el-table-column align="right" label="发货数量" prop="orderHasSendQty" min-width="160" show-overflow-tooltip />
+            <el-table-column
+              align="right"
+              label="发货数量"
+              prop="orderHasSendQty"
+              min-width="160"
+              show-overflow-tooltip
+            />
             <!-- <el-table-column
               align="right"
               label="押金金额"
@@ -242,7 +297,13 @@
                 {{ scope.row.diffAmount | numToFixed }}
               </template>
             </el-table-column>
-            <el-table-column align="right" label="收差政策价格" prop="diffPolicyPrice" min-width="200" show-overflow-tooltip>
+            <el-table-column
+              align="right"
+              label="收差政策价格"
+              prop="diffPolicyPrice"
+              min-width="200"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 {{ scope.row.diffPolicyPrice | numToFixed }}
               </template>
@@ -251,7 +312,8 @@
         </div>
       </div>
       <h3 class="gdzl">工程资料</h3>
-      <el-button :disabled="isDis" class="batchDownload" type="primary" size="small" @click="batchDownloadFn">批量下载
+      <el-button :disabled="isDis" class="batchDownload" type="primary" size="small" @click="batchDownloadFn"
+        >批量下载
       </el-button>
 
       <el-divider />
@@ -259,24 +321,44 @@
       <!-- 列表 -->
       <div class="mymain-container">
         <div class="table">
-          <el-table v-loading="listLoading" :data="original" element-loading-text="Loading" border fit
-            highlight-current-row stripe>
+          <el-table
+            v-loading="listLoading"
+            :data="original"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
             <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
             <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
             <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
-                  :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px" fit="cover"
-                  :preview-src-list="[imageURL + scope.row.fileUrl]" />
+                <el-image
+                  v-if="checkFileType(scope.row.fileUrl) == 'image'"
+                  ref="img"
+                  :src="imageURL + scope.row.fileUrl"
+                  style="width: 120px; height: 120px"
+                  fit="cover"
+                  :preview-src-list="[imageURL + scope.row.fileUrl]"
+                />
                 <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
                 <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file" src="@/assets/common/excel.png" />
                 <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
 
-                <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" style="cursor: pointer"
-                  src="@/assets/common/pdf.png" @click="openPdf(scope.row.fileUrl)" />
+                <img
+                  v-if="checkFileType(scope.row.fileUrl) == 'pdf'"
+                  class="file"
+                  style="cursor: pointer"
+                  src="@/assets/common/pdf.png"
+                  @click="openPdf(scope.row.fileUrl)"
+                />
 
-                <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
-                  src="@/assets/common/zip.jpeg" />
+                <img
+                  v-if="checkFileType(scope.row.fileUrl) == 'file'"
+                  class="file aaa"
+                  src="@/assets/common/zip.jpeg"
+                />
               </template>
             </el-table-column>
             <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
@@ -286,7 +368,8 @@
             </el-table-column>
             <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载
+                <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
+                  >下载
                 </el-button>
                 <!--                <el-button-->
                 <!--                  v-if="checkFileType(scope.row.fileUrl) == 'pdf'"-->
@@ -332,13 +415,15 @@
           <el-col :xs="12" :sm="12" :lg="12" class="item">
             <div class="label">是否退押</div>
             <div class="value">
-              <template v-if="
-                !(
-                  details.examineStatus == 'WAIT' ||
-                  details.examineStatus == 'SAVE' ||
-                  details.examineStatus == 'CLOSE'
-                )
-              ">
+              <template
+                v-if="
+                  !(
+                    details.examineStatus == 'WAIT' ||
+                    details.examineStatus == 'SAVE' ||
+                    details.examineStatus == 'CLOSE'
+                  )
+                "
+              >
                 {{ details.isRefundDeposit == true ? '是' : '否' }}
               </template>
             </div>
@@ -359,40 +444,73 @@
         </el-row>
       </div>
       <div>
-        <div
-          v-if="details.dataState == 'WAIT_REVIEW' || details.dataState == 'AMEND' || details.dataState == 'REVIEW'">
+        <div v-if="details.dataState == 'WAIT_REVIEW' || details.dataState == 'AMEND' || details.dataState == 'REVIEW'">
           <h3 class="gdzl">补充资料</h3>
           <el-divider />
           <div class="mymain-container">
             <div class="table">
-              <el-table v-loading="listLoading" :data="amendData" element-loading-text="Loading" border fit
-                highlight-current-row stripe>
-                <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
+              <el-table
+                v-loading="listLoading"
+                :data="amendData"
+                element-loading-text="Loading"
+                border
+                fit
+                highlight-current-row
+                stripe
+              >
+                <el-table-column
+                  align="left"
+                  label="资料描述"
+                  prop="dataDescribe"
+                  min-width="160"
+                  show-overflow-tooltip
+                />
                 <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
                 <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
                   <template slot-scope="scope">
-                    <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
-                      :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px" fit="cover"
-                      :preview-src-list="[imageURL + scope.row.fileUrl]" />
-                    <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file"
-                      src="@/assets/common/word.png" />
-                    <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file"
-                      src="@/assets/common/excel.png" />
+                    <el-image
+                      v-if="checkFileType(scope.row.fileUrl) == 'image'"
+                      ref="img"
+                      :src="imageURL + scope.row.fileUrl"
+                      style="width: 120px; height: 120px"
+                      fit="cover"
+                      :preview-src-list="[imageURL + scope.row.fileUrl]"
+                    />
+                    <img
+                      v-if="checkFileType(scope.row.fileUrl) == 'word'"
+                      class="file"
+                      src="@/assets/common/word.png"
+                    />
+                    <img
+                      v-if="checkFileType(scope.row.fileUrl) == 'excel'"
+                      class="file"
+                      src="@/assets/common/excel.png"
+                    />
                     <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
                     <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png" />
-                    <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
-                      src="@/assets/common/zip.jpeg" />
+                    <img
+                      v-if="checkFileType(scope.row.fileUrl) == 'file'"
+                      class="file aaa"
+                      src="@/assets/common/zip.jpeg"
+                    />
                   </template>
                 </el-table-column>
-                <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
+                <el-table-column
+                  align="left"
+                  label="下载文件名称"
+                  prop="fileName"
+                  min-width="160"
+                  show-overflow-tooltip
+                >
                   <template slot-scope="scope">
                     {{ '资料_' + scope.row.fileName }}
                   </template>
                 </el-table-column>
                 <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
                   <template slot-scope="scope">
-                    <el-button type="text" class="textColor"
-                      @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
+                    <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
+                      >下载</el-button
+                    >
                   </template>
                 </el-table-column>
               </el-table>
@@ -400,63 +518,55 @@
             <div class="diy-table-1">
               <el-row :gutter="0">
                 <el-col :xs="12" :sm="12" :lg="12" class="item">
-                  <div class="label">
-                    上传人
-                  </div>
+                  <div class="label">上传人</div>
                   <div class="value">
                     {{ details.amendBy }}
                   </div>
                 </el-col>
                 <el-col :xs="12" :sm="12" :lg="12" class="item">
-                  <div class="label">
-                    上传时间
-                  </div>
+                  <div class="label">上传时间</div>
                   <div class="value">
                     {{ details.amendTime }}
                   </div>
                 </el-col>
                 <el-col :xs="12" :sm="24" :lg="24" class="item">
-                  <div class="label">
-                    补充说明
-                  </div>
+                  <div class="label">补充说明</div>
                   <div class="value">
                     {{ details.amendRemark }}
                   </div>
                 </el-col>
-
               </el-row>
             </div>
-            <div v-if=" isCustomer&& details.dataState == 'REVIEW'">
+            <div v-if="isCustomer && details.dataState == 'REVIEW'">
               <h3 class="gdzl">复核</h3>
               <el-divider />
               <div class="diy-table-1">
                 <el-row :gutter="0">
                   <el-col :xs="12" :sm="12" :lg="12" class="item">
-                    <div class="label">
-                      复核人
-                    </div>
+                    <div class="label">复核人</div>
                     <div class="value">
                       <el-input v-model="details.reviewBy" placeholder="请输入" />
                     </div>
                   </el-col>
                   <el-col :xs="12" :sm="12" :lg="12" class="item">
-                    <div class="label">
-                      复核时间
-                    </div>
+                    <div class="label">复核时间</div>
                     <div class="value">
-                      <el-date-picker v-model="details.reviewTime" class="dateStyle" type="datetime" placeholder="选择日期"
-                        default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+                      <el-date-picker
+                        v-model="details.reviewTime"
+                        class="dateStyle"
+                        type="datetime"
+                        placeholder="选择日期"
+                        default-time="00:00:00"
+                        value-format="yyyy-MM-dd HH:mm:ss"
+                      />
                     </div>
                   </el-col>
                   <el-col :xs="12" :sm="24" :lg="24" class="item">
-                    <div class="label">
-                      复核说明
-                    </div>
+                    <div class="label">复核说明</div>
                     <div class="value">
                       <input v-model="details.reviewRemark" type="text" />
                     </div>
                   </el-col>
-
                 </el-row>
               </div>
             </div>
@@ -466,12 +576,29 @@
 
       <div style="margin: 20px 0">
         <el-button
-          v-if="(details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) && details.dataState != 'WAIT_REVIEW' && details.dataState != 'AMEND' && details.dataState != 'REVIEW'"
-          type="primary" size="small" @click="handleSvse">保存
+          v-if="
+            (details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) &&
+            details.dataState != 'WAIT_REVIEW' &&
+            details.dataState != 'AMEND' &&
+            details.dataState != 'REVIEW'
+          "
+          type="primary"
+          size="small"
+          @click="handleSvse"
+          >保存
         </el-button>
         <el-button
-          v-if="(details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) && details.dataState != 'WAIT_REVIEW' && details.dataState != 'AMEND' && details.dataState != 'REVIEW'"
-          type="primary" size="small" @click="handleReset">重置 </el-button>
+          v-if="
+            (details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) &&
+            details.dataState != 'WAIT_REVIEW' &&
+            details.dataState != 'AMEND' &&
+            details.dataState != 'REVIEW'
+          "
+          type="primary"
+          size="small"
+          @click="handleReset"
+          >重置
+        </el-button>
       </div>
     </div>
     <div v-show="engineering == '工程订单信息'">
@@ -480,8 +607,15 @@
       <!-- 列表 -->
       <div class="mymain-container">
         <div class="table">
-          <el-table v-loading="listLoading" :data="dataList" element-loading-text="Loading" border fit
-            highlight-current-row stripe>
+          <el-table
+            v-loading="listLoading"
+            :data="dataList"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
             <el-table-column align="left" label="工程订单号" prop="enginOrderNo" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.enginOrderNo" />
@@ -507,7 +641,13 @@
               </template>
             </el-table-column>
             <el-table-column align="right" label="数量" prop="qty" min-width="160" show-overflow-tooltip />
-            <el-table-column align="right" label="押金金额" prop="totalDepositAmount" min-width="160" show-overflow-tooltip>
+            <el-table-column
+              align="right"
+              label="押金金额"
+              prop="totalDepositAmount"
+              min-width="160"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 {{ scope.row.totalDepositAmount | numToFixed }}
               </template>
@@ -522,8 +662,15 @@
       <!-- 列表 -->
       <div class="mymain-container">
         <div class="table">
-          <el-table v-loading="listLoading" :data="projectList" element-loading-text="Loading" border fit
-            highlight-current-row stripe>
+          <el-table
+            v-loading="listLoading"
+            :data="projectList"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
             <el-table-column align="left" label="发货单" prop="id" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.id" />
@@ -549,7 +696,13 @@
               </template>
             </el-table-column>
             <el-table-column align="right" label="数量" prop="refundableQty" min-width="160" show-overflow-tooltip />
-            <el-table-column align="right" label="押金金额" prop="totalDepositAmount" min-width="160" show-overflow-tooltip>
+            <el-table-column
+              align="right"
+              label="押金金额"
+              prop="totalDepositAmount"
+              min-width="160"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 {{ ((scope.row.refundableQty || 0) * (scope.row.singleDepositAmount || 0)) | numToFixed }}
               </template>
@@ -587,7 +740,13 @@
             </template>
           </el-table-column>
           <el-table-column align="right" label="数量" prop="refundableQty" min-width="160" show-overflow-tooltip />
-          <el-table-column align="right" label="押金金额" prop="totalDepositAmount" min-width="160" show-overflow-tooltip>
+          <el-table-column
+            align="right"
+            label="押金金额"
+            prop="totalDepositAmount"
+            min-width="160"
+            show-overflow-tooltip
+          >
             <template slot-scope="scope">
               {{ ((scope.row.qty || 0) * (scope.row.singleDepositAmount || 0)) | numToFixed }}
             </template>
@@ -601,26 +760,57 @@
       <!-- 列表 -->
       <div class="mymain-container">
         <div class="table">
-          <el-table v-loading="listLoading" :data="details.checkRecordItems" element-loading-text="Loading" border fit
-            highlight-current-row stripe>
+          <el-table
+            v-loading="listLoading"
+            :data="details.checkRecordItems"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
             <el-table-column align="left" label="受理日期" prop="checkDate" min-width="160" show-overflow-tooltip>
             </el-table-column>
             <el-table-column align="left" label="验收人" prop="checkName" min-width="160" show-overflow-tooltip>
             </el-table-column>
-            <el-table-column align="left" label="申请退押金备注
-" prop="applyNote" min-width="160" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="申请退押金备注
+"
+              prop="applyNote"
+              min-width="160"
+              show-overflow-tooltip
+            >
             </el-table-column>
-            <el-table-column align="left" label="验收说明
-" prop="checkNote" min-width="160" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="验收说明
+"
+              prop="checkNote"
+              min-width="160"
+              show-overflow-tooltip
+            >
             </el-table-column>
-            <el-table-column align="left" label="是否退押
-" prop="checkNote" min-width="160" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="是否退押
+"
+              prop="checkNote"
+              min-width="160"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 {{ scope.row.isRefundDeposit ? '是' : '否' }}
               </template>
             </el-table-column>
-            <el-table-column align="left" label="提交人
-" prop="submitName" min-width="160" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="提交人
+"
+              prop="submitName"
+              min-width="160"
+              show-overflow-tooltip
+            >
             </el-table-column>
             <el-table-column align="left" label="提交时间" prop="submitTime" min-width="160" show-overflow-tooltip>
             </el-table-column>

+ 1034 - 909
src/views/deposit_home/components/deposit_replenish.vue

@@ -1,223 +1,266 @@
 <template>
-    <div>
-        <div class="sty">
-            <el-page-header content="补充资料" @back="goBack" />
-        </div>
-        <el-divider />
-        <el-radio-group v-model="engineering" size="mini" @change="handleRadio">
-            <el-radio-button label="工程押金信息" />
-            <el-radio-button label="工程订单信息" />
-            <el-radio-button label="工程发货信息" />
-            <!-- <el-radio-button label="直调发货" /> -->
-            <el-radio-button label="历史记录" />
-        </el-radio-group>
-        <br /><br />
+  <div>
+    <div class="sty">
+      <el-page-header content="补充资料" @back="goBack" />
+    </div>
+    <el-divider />
+    <el-radio-group v-model="engineering" size="mini" @change="handleRadio">
+      <el-radio-button label="工程押金信息" />
+      <el-radio-button label="工程订单信息" />
+      <el-radio-button label="工程发货信息" />
+      <!-- <el-radio-button label="直调发货" /> -->
+      <el-radio-button label="历史记录" />
+    </el-radio-group>
+    <br /><br />
 
-        <div v-show="engineering == '工程押金信息'">
-            <div class="diy-table-1">
-                <el-form ref="form" :model="details">
-                    <el-row :gutter="0">
-                        <el-col :xs="12" :sm="8" :lg="8" class="item">
-                            <div class="label">工程登录编号</div>
-                            <div class="value">{{ details.refEnginRecordNo }}</div>
-                        </el-col>
-                        <el-col :xs="12" :sm="8" :lg="8" class="item">
-                            <div class="label">项目类别</div>
-                            <div class="value">{{ details.refProjectCategory }}</div>
-                        </el-col>
-                        <el-col :xs="12" :sm="8" :lg="8" class="item">
-                            <div class="label">工程编号</div>
-                            <div class="value">{{ details.refProjectNo }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="16" class="item">
-                            <div class="label">经销商名称</div>
-                            <div class="value">{{ details.customerName }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="8" class="item">
-                            <div class="label">经销商编码</div>
-                            <div class="value">{{ details.customerNumber }}</div>
-                        </el-col>
+    <div v-show="engineering == '工程押金信息'">
+      <div class="diy-table-1">
+        <el-form ref="form" :model="details">
+          <el-row :gutter="0">
+            <el-col :xs="12" :sm="8" :lg="8" class="item">
+              <div class="label">工程登录编号</div>
+              <div class="value">{{ details.refEnginRecordNo }}</div>
+            </el-col>
+            <el-col :xs="12" :sm="8" :lg="8" class="item">
+              <div class="label">项目类别</div>
+              <div class="value">{{ details.refProjectCategory }}</div>
+            </el-col>
+            <el-col :xs="12" :sm="8" :lg="8" class="item">
+              <div class="label">工程编号</div>
+              <div class="value">{{ details.refProjectNo }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="16" class="item">
+              <div class="label">经销商名称</div>
+              <div class="value">{{ details.customerName }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="8" class="item">
+              <div class="label">经销商编码</div>
+              <div class="value">{{ details.customerNumber }}</div>
+            </el-col>
 
-                        <el-col :xs="24" :sm="24" :lg="8" class="item">
-                            <div class="label">工程登录类型</div>
-                            <div class="value">{{ details.refPromiseStatus }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="8" class="item">
-                            <div class="label">联系人</div>
-                            <div class="value">{{ details.refLinkman }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="8" class="item">
-                            <div class="label">固定电话</div>
-                            <div class="value">{{ details.refTel }}</div>
-                        </el-col>
+            <el-col :xs="24" :sm="24" :lg="8" class="item">
+              <div class="label">工程登录类型</div>
+              <div class="value">{{ details.refPromiseStatus }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="8" class="item">
+              <div class="label">联系人</div>
+              <div class="value">{{ details.refLinkman }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="8" class="item">
+              <div class="label">固定电话</div>
+              <div class="value">{{ details.refTel }}</div>
+            </el-col>
 
-                        <!--            <el-col :xs="24" :sm="24" :lg="16" class="item">-->
-                        <!--              <div class="label">厂工程编码</div>-->
-                        <!--              <div class="value">-->
-                        <!--                <el-form-item prop="refFactoryNo">-->
-                        <!--                  <el-input-->
-                        <!--                    v-model="details.refFactoryNo"-->
-                        <!--                    placeholder="厂工程编码"-->
-                        <!--                    size="small"-->
-                        <!--                  />-->
-                        <!--                </el-form-item>-->
-                        <!--              </div>-->
-                        <!--            </el-col>-->
+            <!--            <el-col :xs="24" :sm="24" :lg="16" class="item">-->
+            <!--              <div class="label">厂工程编码</div>-->
+            <!--              <div class="value">-->
+            <!--                <el-form-item prop="refFactoryNo">-->
+            <!--                  <el-input-->
+            <!--                    v-model="details.refFactoryNo"-->
+            <!--                    placeholder="厂工程编码"-->
+            <!--                    size="small"-->
+            <!--                  />-->
+            <!--                </el-form-item>-->
+            <!--              </div>-->
+            <!--            </el-col>-->
 
-                        <el-col :xs="24" :sm="24" :lg="8" class="item">
-                            <div class="label">移动电话</div>
-                            <div class="value">{{ details.refPhone }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="8" class="item">
-                            <div class="label">押金总额</div>
-                            <div class="value">{{ details.depositAmount }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="8" class="item">
-                            <div class="label">工程差价总额</div>
-                            <div class="value">{{ details.depositDiffAmount }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="24" class="item" v-if="!isCustomer">
-                            <div class="label">格力内部备注</div>
-                            <div class="value">
-                                <el-input v-model="details.geLiInerNote" placeholder="格力内部备注"></el-input>
-                            </div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="12" class="item">
-                            <div class="label">使用单位</div>
-                            <div class="value">{{ details.refUseUnit }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="12" class="item">
-                            <div class="label">跨区厂编号</div>
-                            <div class="value">{{ details.refFactoryNo }}</div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="24" class="item">
-                            <div class="label">安装时间</div>
-                            <div class="value" style="padding: 0">
-                                <el-form-item prop="installDate">
-                                    <el-date-picker v-model="details.installDate"
-                                        :disabled="details.examineStatus == 'OK'" type="datetime" placeholder="安装时间"
-                                        default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
-                                </el-form-item>
-                            </div>
-                        </el-col>
-                        <el-col :xs="24" :sm="24" :lg="24" class="item">
-                            <div class="label">安装地址</div>
-                            <div class="value">
-                                {{ details.refInstallAddress }}
-                            </div>
-                        </el-col>
+            <el-col :xs="24" :sm="24" :lg="8" class="item">
+              <div class="label">移动电话</div>
+              <div class="value">{{ details.refPhone }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="8" class="item">
+              <div class="label">押金总额</div>
+              <div class="value">{{ details.depositAmount }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="8" class="item">
+              <div class="label">工程差价总额</div>
+              <div class="value">{{ details.depositDiffAmount }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="24" class="item" v-if="!isCustomer">
+              <div class="label">格力内部备注</div>
+              <div class="value">
+                <el-input v-model="details.geLiInerNote" placeholder="格力内部备注"></el-input>
+              </div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="12" class="item">
+              <div class="label">使用单位</div>
+              <div class="value">{{ details.refUseUnit }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="12" class="item">
+              <div class="label">跨区厂编号</div>
+              <div class="value">{{ details.refFactoryNo }}</div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="24" class="item">
+              <div class="label">安装时间</div>
+              <div class="value" style="padding: 0">
+                <el-form-item prop="installDate">
+                  <el-date-picker
+                    v-model="details.installDate"
+                    :disabled="details.examineStatus == 'OK'"
+                    type="datetime"
+                    placeholder="安装时间"
+                    default-time="00:00:00"
+                    value-format="yyyy-MM-dd HH:mm:ss"
+                  />
+                </el-form-item>
+              </div>
+            </el-col>
+            <el-col :xs="24" :sm="24" :lg="24" class="item">
+              <div class="label">安装地址</div>
+              <div class="value">
+                {{ details.refInstallAddress }}
+              </div>
+            </el-col>
 
-                        <!--            <el-col :xs="24" :sm="24" :lg="8" class="item">-->
-                        <!--              <div class="label">寄厂日期</div>-->
-                        <!--              <div class="value" style="padding: 0">-->
-                        <!--                <el-form-item prop="sendFactoryDate">-->
-                        <!--                  <el-date-picker-->
-                        <!--                    v-model="details.sendFactoryDate"-->
-                        <!--                    type="datetime"-->
-                        <!--                    placeholder="寄厂日期"-->
-                        <!--                    default-time="00:00:00"-->
-                        <!--                    value-format="yyyy-MM-dd HH:mm:ss"-->
-                        <!--                  >-->
-                        <!--                  </el-date-picker>-->
-                        <!--                </el-form-item>-->
-                        <!--              </div>-->
-                        <!--            </el-col>-->
-                    </el-row>
-                </el-form>
-            </div>
-            <h3>货品信息</h3>
-            <el-divider />
-            <!-- 列表 -->
-            <div class="mymain-container">
-                <div class="table">
-                    <el-table v-loading="listLoading" :data="details.items" element-loading-text="Loading" border fit
-                        highlight-current-row stripe show-summary :summary-method="$getSummaries">
-                        <el-table-column v-if="!isCustomer" align="left" label="厂编号" prop="factoryNo" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.factoryNo" />
-                                <span>{{ scope.row.factoryNo }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column v-if="!isCustomer" align="left" label="特价编号" prop="specialNo" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.specialNo" />
-                                <span>{{ scope.row.specialNo }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="130"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.materialNumber" />
-                                <span>{{ scope.row.materialNumber }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="产品编码" prop="materialOldNumber" min-width="130"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.materialOldNumber" />
-                                <span>{{ scope.row.materialOldNumber }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="产品名称" prop="materialName" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.materialName" />
-                                <span>{{ scope.row.materialName }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="规格型号" prop="specification" min-width="300"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.specification" />
-                                <span>{{ scope.row.specification }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <div
-                                    :style="scope.row.realSpecification != scope.row.specification ? { color: 'blue' } : ''">
-                                    {{ scope.row.realSpecification }}
-                                </div>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="实装物料编号" prop="realMaterialNumber" min-width="150"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <div
-                                    :style="scope.row.realMaterialNumber != scope.row.materialNumber ? { color: 'blue' } : ''">
-                                    {{ scope.row.realMaterialNumber }}
-                                </div>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="实装厂产品编码" prop="realMaterialOldNumber" min-width="200"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <div
-                                    :style="scope.row.realMaterialOldNumber != scope.row.materialOldNumber ? { color: 'blue' } : ''">
-                                    {{ scope.row.realMaterialOldNumber }}
-                                </div>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.price | numToFixed }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="数量" prop="qty" min-width="160" show-overflow-tooltip />
-                        <el-table-column align="right" label="金额" prop="totalAmount" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.totalAmount | numToFixed }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="押金数量" prop="hasSendQty" min-width="160"
-                            show-overflow-tooltip />
-                        <el-table-column align="right" label="发货数量" prop="orderHasSendQty" min-width="160"
-                            show-overflow-tooltip />
-                        <!-- <el-table-column
+            <!--            <el-col :xs="24" :sm="24" :lg="8" class="item">-->
+            <!--              <div class="label">寄厂日期</div>-->
+            <!--              <div class="value" style="padding: 0">-->
+            <!--                <el-form-item prop="sendFactoryDate">-->
+            <!--                  <el-date-picker-->
+            <!--                    v-model="details.sendFactoryDate"-->
+            <!--                    type="datetime"-->
+            <!--                    placeholder="寄厂日期"-->
+            <!--                    default-time="00:00:00"-->
+            <!--                    value-format="yyyy-MM-dd HH:mm:ss"-->
+            <!--                  >-->
+            <!--                  </el-date-picker>-->
+            <!--                </el-form-item>-->
+            <!--              </div>-->
+            <!--            </el-col>-->
+          </el-row>
+        </el-form>
+      </div>
+      <h3>货品信息</h3>
+      <el-divider />
+      <!-- 列表 -->
+      <div class="mymain-container">
+        <div class="table">
+          <el-table
+            v-loading="listLoading"
+            :data="details.items"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+            show-summary
+            :summary-method="$getSummaries"
+          >
+            <el-table-column
+              v-if="!isCustomer"
+              align="left"
+              label="厂编号"
+              prop="factoryNo"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.factoryNo" />
+                <span>{{ scope.row.factoryNo }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              v-if="!isCustomer"
+              align="left"
+              label="特价编号"
+              prop="specialNo"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.specialNo" />
+                <span>{{ scope.row.specialNo }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="130" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.materialNumber" />
+                <span>{{ scope.row.materialNumber }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              align="left"
+              label="产品编码"
+              prop="materialOldNumber"
+              min-width="130"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.materialOldNumber" />
+                <span>{{ scope.row.materialOldNumber }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.materialName" />
+                <span>{{ scope.row.materialName }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="left" label="规格型号" prop="specification" min-width="300" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.specification" />
+                <span>{{ scope.row.specification }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              align="left"
+              label="实装规格型号"
+              prop="realSpecification"
+              min-width="300"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                <div :style="scope.row.realSpecification != scope.row.specification ? { color: 'blue' } : ''">
+                  {{ scope.row.realSpecification }}
+                </div>
+              </template>
+            </el-table-column>
+            <el-table-column
+              align="left"
+              label="实装物料编号"
+              prop="realMaterialNumber"
+              min-width="150"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                <div :style="scope.row.realMaterialNumber != scope.row.materialNumber ? { color: 'blue' } : ''">
+                  {{ scope.row.realMaterialNumber }}
+                </div>
+              </template>
+            </el-table-column>
+            <el-table-column
+              align="left"
+              label="实装厂产品编码"
+              prop="realMaterialOldNumber"
+              min-width="200"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                <div :style="scope.row.realMaterialOldNumber != scope.row.materialOldNumber ? { color: 'blue' } : ''">
+                  {{ scope.row.realMaterialOldNumber }}
+                </div>
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.price | numToFixed }}
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="数量" prop="qty" min-width="160" show-overflow-tooltip />
+            <el-table-column align="right" label="金额" prop="totalAmount" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.totalAmount | numToFixed }}
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="押金数量" prop="hasSendQty" min-width="160" show-overflow-tooltip />
+            <el-table-column
+              align="right"
+              label="发货数量"
+              prop="orderHasSendQty"
+              min-width="160"
+              show-overflow-tooltip
+            />
+            <!-- <el-table-column
                 align="right"
                 label="押金金额"
                 prop="depositAmount"
@@ -228,762 +271,844 @@
                   {{ scope.row.depositAmount | numToFixed }}
                 </template>
               </el-table-column> -->
-                        <el-table-column align="right" label="合同数量" prop="contractQty" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.contractQty }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="合同单价" prop="contractPrice" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.contractPrice }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="合同金额" prop="contractAmount" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.contractAmount }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="押金金额" prop="depositAmount" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.depositAmount | numToFixed }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="上交资料" prop="dataQty" min-width="160"
-                            show-overflow-tooltip />
-                        <el-table-column align="right" label="收差金额" prop="diffAmount" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.diffAmount | numToFixed }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="收差政策价格" prop="diffPolicyPrice" min-width="200"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.diffPolicyPrice | numToFixed }}
-                            </template>
-                        </el-table-column>
-                    </el-table>
-                </div>
-            </div>
-            <h3 class="gdzl">工程资料</h3>
-            <el-button :disabled="isDis" class="batchDownload" type="primary" size="small" @click="batchDownloadFn">批量下载
-            </el-button>
+            <el-table-column align="right" label="合同数量" prop="contractQty" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.contractQty }}
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="合同单价" prop="contractPrice" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.contractPrice }}
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="合同金额" prop="contractAmount" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.contractAmount }}
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="押金金额" prop="depositAmount" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.depositAmount | numToFixed }}
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="上交资料" prop="dataQty" min-width="160" show-overflow-tooltip />
+            <el-table-column align="right" label="收差金额" prop="diffAmount" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.diffAmount | numToFixed }}
+              </template>
+            </el-table-column>
+            <el-table-column
+              align="right"
+              label="收差政策价格"
+              prop="diffPolicyPrice"
+              min-width="200"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                {{ scope.row.diffPolicyPrice | numToFixed }}
+              </template>
+            </el-table-column>
+          </el-table>
+        </div>
+      </div>
+      <h3 class="gdzl">工程资料</h3>
+      <el-button :disabled="isDis" class="batchDownload" type="primary" size="small" @click="batchDownloadFn"
+        >批量下载
+      </el-button>
 
-            <el-divider />
+      <el-divider />
 
-            <!-- 列表 -->
-            <div class="mymain-container">
-                <div class="table">
-                    <el-table v-loading="listLoading" :data="original" element-loading-text="Loading" border fit
-                        highlight-current-row stripe>
-                        <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160"
-                            show-overflow-tooltip />
-                        <el-table-column align="left" label="原文件名" prop="fileName" min-width="160"
-                            show-overflow-tooltip />
-                        <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
-                                    :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px" fit="cover"
-                                    :preview-src-list="[imageURL + scope.row.fileUrl]" />
-                                <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file"
-                                    src="@/assets/common/word.png" />
-                                <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file"
-                                    src="@/assets/common/excel.png" />
-                                <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file"
-                                    src="@/assets/common/ppt.png" />
+      <!-- 列表 -->
+      <div class="mymain-container">
+        <div class="table">
+          <el-table
+            v-loading="listLoading"
+            :data="original"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
+            <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
+            <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
+            <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <el-image
+                  v-if="checkFileType(scope.row.fileUrl) == 'image'"
+                  ref="img"
+                  :src="imageURL + scope.row.fileUrl"
+                  style="width: 120px; height: 120px"
+                  fit="cover"
+                  :preview-src-list="[imageURL + scope.row.fileUrl]"
+                />
+                <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
+                <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file" src="@/assets/common/excel.png" />
+                <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
 
-                                <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file"
-                                    style="cursor: pointer" src="@/assets/common/pdf.png"
-                                    @click="openPdf(scope.row.fileUrl)" />
+                <img
+                  v-if="checkFileType(scope.row.fileUrl) == 'pdf'"
+                  class="file"
+                  style="cursor: pointer"
+                  src="@/assets/common/pdf.png"
+                  @click="openPdf(scope.row.fileUrl)"
+                />
 
-                                <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
-                                    src="@/assets/common/zip.jpeg" />
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ '资料_' + scope.row.fileName }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <el-button type="text" class="textColor"
-                                    @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载
-                                </el-button>
-                                <!--                <el-button-->
-                                <!--                  v-if="checkFileType(scope.row.fileUrl) == 'pdf'"-->
-                                <!--                  type="text"-->
-                                <!--                  class="textColor"-->
-                                <!--                  @click="openPdf(scope.row.fileUrl)"-->
-                                <!--                >-->
-                                <!--                  查看-->
-                                <!--                </el-button>-->
-                            </template>
-                        </el-table-column>
-                    </el-table>
-                </div>
-            </div>
-            <div class="diy-table-1">
-                <el-row :gutter="0">
-                    <el-col :xs="12" :sm="12" :lg="12" class="item">
-                        <div class="label">申请人</div>
-                        <div class="value">{{ details.customerName }}</div>
-                    </el-col>
-                    <el-col :xs="12" :sm="12" :lg="12" class="item">
-                        <div class="label">申请日期</div>
-                        <div class="value">{{ details.createTime }}</div>
-                    </el-col>
-                    <el-col :xs="24" :sm="24" :lg="24" class="item">
-                        <div class="label">申请退押金</div>
-                        <div class="value">{{ details.applyNote }}</div>
-                    </el-col>
-                </el-row>
+                <img
+                  v-if="checkFileType(scope.row.fileUrl) == 'file'"
+                  class="file aaa"
+                  src="@/assets/common/zip.jpeg"
+                />
+              </template>
+            </el-table-column>
+            <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ '资料_' + scope.row.fileName }}
+              </template>
+            </el-table-column>
+            <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
+                  >下载
+                </el-button>
+                <!--                <el-button-->
+                <!--                  v-if="checkFileType(scope.row.fileUrl) == 'pdf'"-->
+                <!--                  type="text"-->
+                <!--                  class="textColor"-->
+                <!--                  @click="openPdf(scope.row.fileUrl)"-->
+                <!--                >-->
+                <!--                  查看-->
+                <!--                </el-button>-->
+              </template>
+            </el-table-column>
+          </el-table>
+        </div>
+      </div>
+      <div class="diy-table-1">
+        <el-row :gutter="0">
+          <el-col :xs="12" :sm="12" :lg="12" class="item">
+            <div class="label">申请人</div>
+            <div class="value">{{ details.customerName }}</div>
+          </el-col>
+          <el-col :xs="12" :sm="12" :lg="12" class="item">
+            <div class="label">申请日期</div>
+            <div class="value">{{ details.createTime }}</div>
+          </el-col>
+          <el-col :xs="24" :sm="24" :lg="24" class="item">
+            <div class="label">申请退押金</div>
+            <div class="value">{{ details.applyNote }}</div>
+          </el-col>
+        </el-row>
+      </div>
+      <div style="margin-top: 25px">审批</div>
+      <el-divider />
+      <div class="diy-table-1">
+        <el-row :gutter="0">
+          <el-col :xs="12" :sm="12" :lg="12" class="item">
+            <div class="label">验收人</div>
+            <div class="value">{{ details.checkBy }}</div>
+          </el-col>
+          <el-col :xs="12" :sm="12" :lg="12" class="item">
+            <div class="label">受理日期</div>
+            <div class="value">{{ details.checkDate }}</div>
+          </el-col>
+          <el-col :xs="12" :sm="12" :lg="12" class="item">
+            <div class="label">是否退押</div>
+            <div class="value">
+              <template
+                v-if="
+                  !(
+                    details.examineStatus == 'WAIT' ||
+                    details.examineStatus == 'SAVE' ||
+                    details.examineStatus == 'CLOSE'
+                  )
+                "
+              >
+                {{ details.isRefundDeposit == true ? '是' : '否' }}
+              </template>
             </div>
-            <div style="margin-top: 25px">审批</div>
-            <el-divider />
-            <div class="diy-table-1">
-                <el-row :gutter="0">
-                    <el-col :xs="12" :sm="12" :lg="12" class="item">
-                        <div class="label">验收人</div>
-                        <div class="value">{{ details.checkBy }}</div>
-                    </el-col>
-                    <el-col :xs="12" :sm="12" :lg="12" class="item">
-                        <div class="label">受理日期</div>
-                        <div class="value">{{ details.checkDate }}</div>
-                    </el-col>
-                    <el-col :xs="12" :sm="12" :lg="12" class="item">
-                        <div class="label">是否退押</div>
-                        <div class="value">
-                            <template v-if="
-                                !(
-                                    details.examineStatus == 'WAIT' ||
-                                    details.examineStatus == 'SAVE' ||
-                                    details.examineStatus == 'CLOSE'
-                                )
-                            ">
-                                {{ details.isRefundDeposit == true ? '是' : '否' }}
-                            </template>
-                        </div>
-                    </el-col>
-                    <el-col :xs="12" :sm="12" :lg="12" class="item">
-                        <div class="label">审批结果</div>
-                        <div v-if="details.examineStatus == 'Ok'" class="value">通过</div>
-                        <div v-if="details.confirmName && details.examineStatus == 'SAVE'" class="value">驳回</div>
-                    </el-col>
-                    <el-col :xs="24" :sm="24" :lg="24" class="item">
-                        <div class="label">验收说明</div>
-                        <div class="value">{{ details.checkNote }}</div>
-                    </el-col>
-                    <!-- <el-col v-if="details.confirmName && details.examineStatus == 'SAVE'" :xs="24" :sm="24" :lg="24" class="item">
+          </el-col>
+          <el-col :xs="12" :sm="12" :lg="12" class="item">
+            <div class="label">审批结果</div>
+            <div v-if="details.examineStatus == 'Ok'" class="value">通过</div>
+            <div v-if="details.confirmName && details.examineStatus == 'SAVE'" class="value">驳回</div>
+          </el-col>
+          <el-col :xs="24" :sm="24" :lg="24" class="item">
+            <div class="label">验收说明</div>
+            <div class="value">{{ details.checkNote }}</div>
+          </el-col>
+          <!-- <el-col v-if="details.confirmName && details.examineStatus == 'SAVE'" :xs="24" :sm="24" :lg="24" class="item">
               <div class="label">驳回说明</div>
               <div class="value">{{ details.confirmName }}</div>
             </el-col> -->
-                </el-row>
-            </div>
-            <h3>补充资料</h3>
-            <el-divider />
-            <div v-if="details.dataState == 'AMEND'">
-
-                <div class="mymain-container">
-                    <div class="table">
-                        <el-table v-loading="listLoading" :data="amendData" element-loading-text="Loading" border fit
-                            highlight-current-row stripe>
-                            <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160"
-                                show-overflow-tooltip />
-                            <el-table-column align="left" label="原文件名" prop="fileName" min-width="160"
-                                show-overflow-tooltip />
-                            <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160"
-                                show-overflow-tooltip>
-                                <template slot-scope="scope">
-                                    <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
-                                        :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px"
-                                        fit="cover" :preview-src-list="[imageURL + scope.row.fileUrl]" />
-                                    <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file"
-                                        src="@/assets/common/word.png" />
-                                    <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file"
-                                        src="@/assets/common/excel.png" />
-                                    <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file"
-                                        src="@/assets/common/ppt.png" />
-                                    <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file"
-                                        src="@/assets/common/pdf.png" />
-                                    <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
-                                        src="@/assets/common/zip.jpeg" />
-                                </template>
-                            </el-table-column>
-                            <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160"
-                                show-overflow-tooltip>
-                                <template slot-scope="scope">
-                                    {{ '资料_' + scope.row.fileName }}
-                                </template>
-                            </el-table-column>
-                            <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
-                                <template slot-scope="scope">
-                                    <el-button type="text" class="textColor"
-                                        @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
-                                    <el-popconfirm style="margin-left: 10px" title="这是一段内容确定删除吗?"
-                                        @onConfirm="delFile(scope.$index,scope.row.id)">
-                                        <el-button type="text" slot="reference">删除</el-button>
-                                    </el-popconfirm>
-                                </template>
-                            </el-table-column>
-                        </el-table>
-                    </div>
-                    <div class="diy-table-1">
-                        <el-row :gutter="0">
-                            <el-col :xs="12" :sm="12" :lg="12" class="item">
-                                <div class="label">
-                                    上传人
-                                </div>
-                                <div class="value">
-                                    {{ details.amendBy }}
-                                </div>
-                            </el-col>
-                            <el-col :xs="12" :sm="12" :lg="12" class="item">
-                                <div class="label">
-                                    上传时间
-                                </div>
-                                <div class="value">
-                                    {{ details.amendTime }}
-                                </div>
-                            </el-col>
-                            <el-col :xs="12" :sm="24" :lg="24" class="item">
-                                <div class="label">
-                                    补充说明
-                                </div>
-                                <div class="value">
-                                    {{ details.amendRemark }}
-                                </div>
-                            </el-col>
-
-                        </el-row>
-                    </div>
-                    <div v-if="details.examineStatus == 'REVIEW'">
-                        <h3 class="gdzl">复核</h3>
-                        <el-divider />
-                        <div class="diy-table-1">
-                            <el-row :gutter="0">
-                                <el-col :xs="12" :sm="12" :lg="12" class="item">
-                                    <div class="label">
-                                        复核人
-                                    </div>
-                                    <div class="value">
-                                        <el-input v-model="details.reviewBy" placeholder="请输入" />
-                                    </div>
-                                </el-col>
-                                <el-col :xs="12" :sm="12" :lg="12" class="item">
-                                    <div class="label">
-                                        复核时间
-                                    </div>
-                                    <div class="value">
-                                        <el-date-picker v-model="details.reviewTime" class="dateStyle" type="datetime"
-                                            placeholder="选择日期" default-time="00:00:00"
-                                            value-format="yyyy-MM-dd HH:mm:ss" />
-                                    </div>
-                                </el-col>
-                                <el-col :xs="12" :sm="24" :lg="24" class="item">
-                                    <div class="label">
-                                        复核说明
-                                    </div>
-                                    <div class="value">
-                                        <input v-model="details.reviewRemark" type="text" />
-                                    </div>
-                                </el-col>
-
-                            </el-row>
-                        </div>
-                    </div>
+        </el-row>
+      </div>
+      <h3>补充资料</h3>
+      <el-divider />
+      <div v-if="details.dataState == 'AMEND'">
+        <div class="mymain-container">
+          <div class="table">
+            <el-table
+              v-loading="listLoading"
+              :data="amendData"
+              element-loading-text="Loading"
+              border
+              fit
+              highlight-current-row
+              stripe
+            >
+              <el-table-column
+                align="left"
+                label="资料描述"
+                prop="dataDescribe"
+                min-width="160"
+                show-overflow-tooltip
+              />
+              <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
+              <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
+                <template slot-scope="scope">
+                  <el-image
+                    v-if="checkFileType(scope.row.fileUrl) == 'image'"
+                    ref="img"
+                    :src="imageURL + scope.row.fileUrl"
+                    style="width: 120px; height: 120px"
+                    fit="cover"
+                    :preview-src-list="[imageURL + scope.row.fileUrl]"
+                  />
+                  <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
+                  <img
+                    v-if="checkFileType(scope.row.fileUrl) == 'excel'"
+                    class="file"
+                    src="@/assets/common/excel.png"
+                  />
+                  <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
+                  <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png" />
+                  <img
+                    v-if="checkFileType(scope.row.fileUrl) == 'file'"
+                    class="file aaa"
+                    src="@/assets/common/zip.jpeg"
+                  />
+                </template>
+              </el-table-column>
+              <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
+                <template slot-scope="scope">
+                  {{ '资料_' + scope.row.fileName }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
+                <template slot-scope="scope">
+                  <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
+                    >下载</el-button
+                  >
+                  <el-popconfirm
+                    style="margin-left: 10px"
+                    title="这是一段内容确定删除吗?"
+                    @onConfirm="delFile(scope.$index, scope.row.id)"
+                  >
+                    <el-button type="text" slot="reference">删除</el-button>
+                  </el-popconfirm>
+                </template>
+              </el-table-column>
+            </el-table>
+          </div>
+          <div class="diy-table-1">
+            <el-row :gutter="0">
+              <el-col :xs="12" :sm="12" :lg="12" class="item">
+                <div class="label">上传人</div>
+                <div class="value">
+                  {{ details.amendBy }}
                 </div>
-            </div>
-            <div>
-                <div
-                    v-if="details.examineStatus == 'OK' || details.dataState == 'WAIT_REVIEW' || details.dataState == 'AMEND' || details.dataState == 'REVIEW'">
-                    <div>
-
-                        <!-- 筛选条件 -->
-                        <div>
-                            <el-form ref="form" :model="details" label-width="100px" size="small" label-position="left">
-                                <el-row :gutter="20">
-                                    <el-col :xs="24" :sm="12" :lg="24">
-                                        <el-form-item label="工程验收资料" prop="">
-                                            <imageUpload :file-list="fileList" :multiple="true"
-                                                :start-restricting="true" :restrict-filename="restrictFilename" />
-                                        </el-form-item>
-                                    </el-col>
-
-                                    <el-col :xs="24" :sm="12" :lg="6">
-                                        <el-form-item label="上传人" prop="amendBy">
-                                            <el-input v-model="details.amendBy" placeholder="请输入" />
-                                        </el-form-item>
-                                    </el-col>
-                                    <el-col :xs="24" :sm="12" :lg="6">
-                                        <el-form-item label="上传时间" prop="amendTime">
-                                            <el-date-picker v-model="details.amendTime" class="dateStyle"
-                                                type="datetime" placeholder="选择日期" default-time="00:00:00"
-                                                value-format="yyyy-MM-dd HH:mm:ss" />
-                                        </el-form-item>
-                                    </el-col>
-                                    <el-col :xs="24" :sm="12" :lg="18">
-                                        <el-form-item label="补充说明" prop="amendRemark">
-                                            <el-input v-model="details.amendRemark" type="textarea" placeholder="请输入"
-                                                class="textareaStyle" />
-                                        </el-form-item>
-                                    </el-col>
-                                    <el-col :xs="24" :sm="24" :lg="24">
-                                        <el-form-item label="">
-                                            <el-button type="primary" size="small"
-                                                @click="replenishClick">保存</el-button>
-                                            <el-button type="primary" size="small" @clikc="resetClick">重置</el-button>
-                                        </el-form-item>
-                                    </el-col>
-                                </el-row>
-                            </el-form>
-                        </div>
-                    </div>
-
+              </el-col>
+              <el-col :xs="12" :sm="12" :lg="12" class="item">
+                <div class="label">上传时间</div>
+                <div class="value">
+                  {{ details.amendTime }}
                 </div>
-            </div>
-
-        </div>
-        <div v-show="engineering == '工程订单信息'">
-            <h3>工程订单信息</h3>
-            <el-divider />
-            <!-- 列表 -->
-            <div class="mymain-container">
-                <div class="table">
-                    <el-table v-loading="listLoading" :data="dataList" element-loading-text="Loading" border fit
-                        highlight-current-row stripe>
-                        <el-table-column align="left" label="工程订单号" prop="enginOrderNo" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.enginOrderNo" />
-                                <span>{{ scope.row.enginOrderNo }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="订单日期" prop="orderDate" min-width="160"
-                            show-overflow-tooltip />
-                        <el-table-column align="left" label="产品名称" prop="materialName" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.materialName" />
-                                <span>{{ scope.row.materialName }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="规格型号" prop="specification" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.specification" />
-                                <span>{{ scope.row.specification }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.price | numToFixed }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="数量" prop="qty" min-width="160" show-overflow-tooltip />
-                        <el-table-column align="right" label="押金金额" prop="totalDepositAmount" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.totalDepositAmount | numToFixed }}
-                            </template>
-                        </el-table-column>
-                    </el-table>
+              </el-col>
+              <el-col :xs="12" :sm="24" :lg="24" class="item">
+                <div class="label">补充说明</div>
+                <div class="value">
+                  {{ details.amendRemark }}
                 </div>
-            </div>
-        </div>
-        <div v-show="engineering == '工程发货信息'">
-            <h3>工程发货信息</h3>
+              </el-col>
+            </el-row>
+          </div>
+          <div v-if="details.examineStatus == 'REVIEW'">
+            <h3 class="gdzl">复核</h3>
             <el-divider />
-            <!-- 列表 -->
-            <div class="mymain-container">
-                <div class="table">
-                    <el-table v-loading="listLoading" :data="projectList" element-loading-text="Loading" border fit
-                        highlight-current-row stripe>
-                        <el-table-column align="left" label="发货单" prop="id" min-width="160" show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.id" />
-                                <span>{{ scope.row.id }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="发货申请日期" prop="theTime" min-width="160"
-                            show-overflow-tooltip />
-                        <el-table-column align="left" label="产品名称" prop="materialName" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.materialName" />
-                                <span>{{ scope.row.materialName }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="规格型号" prop="specification" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                <CopyButton :copyText="scope.row.specification" />
-                                <span>{{ scope.row.specification }}</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.price | numToFixed }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="right" label="数量" prop="refundableQty" min-width="160"
-                            show-overflow-tooltip />
-                        <el-table-column align="right" label="押金金额" prop="totalDepositAmount" min-width="160"
-                            show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ ((scope.row.refundableQty || 0) * (scope.row.singleDepositAmount || 0)) | numToFixed
-                                }}
-                            </template>
-                        </el-table-column>
-                    </el-table>
-                </div>
+            <div class="diy-table-1">
+              <el-row :gutter="0">
+                <el-col :xs="12" :sm="12" :lg="12" class="item">
+                  <div class="label">复核人</div>
+                  <div class="value">
+                    <el-input v-model="details.reviewBy" placeholder="请输入" />
+                  </div>
+                </el-col>
+                <el-col :xs="12" :sm="12" :lg="12" class="item">
+                  <div class="label">复核时间</div>
+                  <div class="value">
+                    <el-date-picker
+                      v-model="details.reviewTime"
+                      class="dateStyle"
+                      type="datetime"
+                      placeholder="选择日期"
+                      default-time="00:00:00"
+                      value-format="yyyy-MM-dd HH:mm:ss"
+                    />
+                  </div>
+                </el-col>
+                <el-col :xs="12" :sm="24" :lg="24" class="item">
+                  <div class="label">复核说明</div>
+                  <div class="value">
+                    <input v-model="details.reviewRemark" type="text" />
+                  </div>
+                </el-col>
+              </el-row>
             </div>
+          </div>
         </div>
-        <div v-show="engineering == '直调发货'" class="zd">
-            <div class="table" style="margin-top: 20px">
-                <el-table :data="goodsList" element-loading-text="Loading" border fit highlight-current-row stripe>
-                    <el-table-column align="left" label="发货单" prop="id" min-width="160" show-overflow-tooltip>
-                        <template slot-scope="scope">
-                            <CopyButton :copyText="scope.row.id" />
-                            <span>{{ scope.row.id }}</span>
-                        </template>
-                    </el-table-column>
-                    <el-table-column align="left" label="发货申请日期" prop="orderTime" min-width="160"
-                        show-overflow-tooltip />
-                    <el-table-column align="left" label="产品名称" prop="materialName" min-width="160"
-                        show-overflow-tooltip>
-                        <template slot-scope="scope">
-                            <CopyButton :copyText="scope.row.materialName" />
-                            <span>{{ scope.row.materialName }}</span>
-                        </template>
-                    </el-table-column>
-                    <el-table-column align="left" label="规格型号" prop="specification" min-width="160"
-                        show-overflow-tooltip>
-                        <template slot-scope="scope">
-                            <CopyButton :copyText="scope.row.specification" />
-                            <span>{{ scope.row.specification }}</span>
-                        </template>
-                    </el-table-column>
+      </div>
+      <div>
+        <div
+          v-if="
+            details.examineStatus == 'OK' ||
+            details.dataState == 'WAIT_REVIEW' ||
+            details.dataState == 'AMEND' ||
+            details.dataState == 'REVIEW'
+          "
+        >
+          <div>
+            <!-- 筛选条件 -->
+            <div>
+              <el-form ref="form" :model="details" label-width="100px" size="small" label-position="left">
+                <el-row :gutter="20">
+                  <el-col :xs="24" :sm="12" :lg="24">
+                    <el-form-item label="工程验收资料" prop="">
+                      <imageUpload
+                        :file-list="fileList"
+                        :multiple="true"
+                        :start-restricting="true"
+                        :restrict-filename="restrictFilename"
+                      />
+                    </el-form-item>
+                  </el-col>
 
-                    <el-table-column align="rihgt" label="单价" prop="price" min-width="160" show-overflow-tooltip>
-                        <template slot-scope="scope">
-                            {{ scope.row.price | numToFixed }}
-                        </template>
-                    </el-table-column>
-                    <el-table-column align="right" label="数量" prop="refundableQty" min-width="160"
-                        show-overflow-tooltip />
-                    <el-table-column align="right" label="押金金额" prop="totalDepositAmount" min-width="160"
-                        show-overflow-tooltip>
-                        <template slot-scope="scope">
-                            {{ ((scope.row.qty || 0) * (scope.row.singleDepositAmount || 0)) | numToFixed }}
-                        </template>
-                    </el-table-column>
-                </el-table>
+                  <el-col :xs="24" :sm="12" :lg="6">
+                    <el-form-item label="上传人" prop="amendBy">
+                      <el-input v-model="details.amendBy" placeholder="请输入" />
+                    </el-form-item>
+                  </el-col>
+                  <el-col :xs="24" :sm="12" :lg="6">
+                    <el-form-item label="上传时间" prop="amendTime">
+                      <el-date-picker
+                        v-model="details.amendTime"
+                        class="dateStyle"
+                        type="datetime"
+                        placeholder="选择日期"
+                        default-time="00:00:00"
+                        value-format="yyyy-MM-dd HH:mm:ss"
+                      />
+                    </el-form-item>
+                  </el-col>
+                  <el-col :xs="24" :sm="12" :lg="18">
+                    <el-form-item label="补充说明" prop="amendRemark">
+                      <el-input
+                        v-model="details.amendRemark"
+                        type="textarea"
+                        placeholder="请输入"
+                        class="textareaStyle"
+                      />
+                    </el-form-item>
+                  </el-col>
+                  <el-col :xs="24" :sm="24" :lg="24">
+                    <el-form-item label="">
+                      <el-button type="primary" size="small" @click="replenishClick">保存</el-button>
+                      <el-button type="primary" size="small" @clikc="resetClick">重置</el-button>
+                    </el-form-item>
+                  </el-col>
+                </el-row>
+              </el-form>
             </div>
+          </div>
         </div>
-        <div v-show="engineering == '历史记录'">
-            <h3>历史记录</h3>
-            <el-divider />
-            <!-- 列表 -->
-            <div class="mymain-container">
-                <div class="table">
-                    <el-table v-loading="listLoading" :data="details.checkRecordItems" element-loading-text="Loading"
-                        border fit highlight-current-row stripe>
-                        <el-table-column align="left" label="受理日期" prop="checkDate" min-width="160"
-                            show-overflow-tooltip>
-                        </el-table-column>
-                        <el-table-column align="left" label="验收人" prop="checkName" min-width="160"
-                            show-overflow-tooltip>
-                        </el-table-column>
-                        <el-table-column align="left" label="申请退押金备注
-  " prop="applyNote" min-width="160" show-overflow-tooltip>
-                        </el-table-column>
-                        <el-table-column align="left" label="验收说明
-  " prop="checkNote" min-width="160" show-overflow-tooltip>
-                        </el-table-column>
-                        <el-table-column align="left" label="是否退押
-  " prop="checkNote" min-width="160" show-overflow-tooltip>
-                            <template slot-scope="scope">
-                                {{ scope.row.isRefundDeposit ? '是' : '否' }}
-                            </template>
-                        </el-table-column>
-                        <el-table-column align="left" label="提交人
-  " prop="submitName" min-width="160" show-overflow-tooltip>
-                        </el-table-column>
-                        <el-table-column align="left" label="提交时间" prop="submitTime" min-width="160"
-                            show-overflow-tooltip>
-                        </el-table-column>
-                    </el-table>
-                </div>
-            </div>
+      </div>
+    </div>
+    <div v-show="engineering == '工程订单信息'">
+      <h3>工程订单信息</h3>
+      <el-divider />
+      <!-- 列表 -->
+      <div class="mymain-container">
+        <div class="table">
+          <el-table
+            v-loading="listLoading"
+            :data="dataList"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
+            <el-table-column align="left" label="工程订单号" prop="enginOrderNo" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.enginOrderNo" />
+                <span>{{ scope.row.enginOrderNo }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="left" label="订单日期" prop="orderDate" min-width="160" show-overflow-tooltip />
+            <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.materialName" />
+                <span>{{ scope.row.materialName }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="left" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.specification" />
+                <span>{{ scope.row.specification }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.price | numToFixed }}
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="数量" prop="qty" min-width="160" show-overflow-tooltip />
+            <el-table-column
+              align="right"
+              label="押金金额"
+              prop="totalDepositAmount"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                {{ scope.row.totalDepositAmount | numToFixed }}
+              </template>
+            </el-table-column>
+          </el-table>
+        </div>
+      </div>
+    </div>
+    <div v-show="engineering == '工程发货信息'">
+      <h3>工程发货信息</h3>
+      <el-divider />
+      <!-- 列表 -->
+      <div class="mymain-container">
+        <div class="table">
+          <el-table
+            v-loading="listLoading"
+            :data="projectList"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
+            <el-table-column align="left" label="发货单" prop="id" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.id" />
+                <span>{{ scope.row.id }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="left" label="发货申请日期" prop="theTime" min-width="160" show-overflow-tooltip />
+            <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.materialName" />
+                <span>{{ scope.row.materialName }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="left" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <CopyButton :copyText="scope.row.specification" />
+                <span>{{ scope.row.specification }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.price | numToFixed }}
+              </template>
+            </el-table-column>
+            <el-table-column align="right" label="数量" prop="refundableQty" min-width="160" show-overflow-tooltip />
+            <el-table-column
+              align="right"
+              label="押金金额"
+              prop="totalDepositAmount"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                {{ ((scope.row.refundableQty || 0) * (scope.row.singleDepositAmount || 0)) | numToFixed }}
+              </template>
+            </el-table-column>
+          </el-table>
         </div>
+      </div>
     </div>
+    <div v-show="engineering == '直调发货'" class="zd">
+      <div class="table" style="margin-top: 20px">
+        <el-table :data="goodsList" element-loading-text="Loading" border fit highlight-current-row stripe>
+          <el-table-column align="left" label="发货单" prop="id" min-width="160" show-overflow-tooltip>
+            <template slot-scope="scope">
+              <CopyButton :copyText="scope.row.id" />
+              <span>{{ scope.row.id }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column align="left" label="发货申请日期" prop="orderTime" min-width="160" show-overflow-tooltip />
+          <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
+            <template slot-scope="scope">
+              <CopyButton :copyText="scope.row.materialName" />
+              <span>{{ scope.row.materialName }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column align="left" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip>
+            <template slot-scope="scope">
+              <CopyButton :copyText="scope.row.specification" />
+              <span>{{ scope.row.specification }}</span>
+            </template>
+          </el-table-column>
+
+          <el-table-column align="rihgt" label="单价" prop="price" min-width="160" show-overflow-tooltip>
+            <template slot-scope="scope">
+              {{ scope.row.price | numToFixed }}
+            </template>
+          </el-table-column>
+          <el-table-column align="right" label="数量" prop="refundableQty" min-width="160" show-overflow-tooltip />
+          <el-table-column
+            align="right"
+            label="押金金额"
+            prop="totalDepositAmount"
+            min-width="160"
+            show-overflow-tooltip
+          >
+            <template slot-scope="scope">
+              {{ ((scope.row.qty || 0) * (scope.row.singleDepositAmount || 0)) | numToFixed }}
+            </template>
+          </el-table-column>
+        </el-table>
+      </div>
+    </div>
+    <div v-show="engineering == '历史记录'">
+      <h3>历史记录</h3>
+      <el-divider />
+      <!-- 列表 -->
+      <div class="mymain-container">
+        <div class="table">
+          <el-table
+            v-loading="listLoading"
+            :data="details.checkRecordItems"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
+            <el-table-column align="left" label="受理日期" prop="checkDate" min-width="160" show-overflow-tooltip>
+            </el-table-column>
+            <el-table-column align="left" label="验收人" prop="checkName" min-width="160" show-overflow-tooltip>
+            </el-table-column>
+            <el-table-column
+              align="left"
+              label="申请退押金备注
+  "
+              prop="applyNote"
+              min-width="160"
+              show-overflow-tooltip
+            >
+            </el-table-column>
+            <el-table-column
+              align="left"
+              label="验收说明
+  "
+              prop="checkNote"
+              min-width="160"
+              show-overflow-tooltip
+            >
+            </el-table-column>
+            <el-table-column
+              align="left"
+              label="是否退押
+  "
+              prop="checkNote"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                {{ scope.row.isRefundDeposit ? '是' : '否' }}
+              </template>
+            </el-table-column>
+            <el-table-column
+              align="left"
+              label="提交人
+  "
+              prop="submitName"
+              min-width="160"
+              show-overflow-tooltip
+            >
+            </el-table-column>
+            <el-table-column align="left" label="提交时间" prop="submitTime" min-width="160" show-overflow-tooltip>
+            </el-table-column>
+          </el-table>
+        </div>
+      </div>
+    </div>
+  </div>
 </template>
-  
+
 <script>
 import { editInfo, geDetail, geOrderInfo, getListProject } from '@/api/engin_deposit.js'
-import {
-    addAmendData
-} from '@/api/engin_deposit/refund_list'
+import { addAmendData } from '@/api/engin_deposit/refund_list'
 import { getList } from '@/api/supply/adjust'
 import { downloadFiles, downloadPdf } from '@/utils/util'
 import { getFileUrl } from '@/api/common'
 import imageUpload from '@/components/Common/image-upload.vue'
 
 export default {
-    components: {
-        imageUpload,
+  components: {
+    imageUpload
+  },
+  data() {
+    return {
+      isDis: true,
+      listLoading: false,
+      engineering: '工程押金信息',
+      dataList: [],
+      projectList: [],
+      details: {},
+      goodsList: [],
+      warehouseList: [],
+      positionList: [],
+      imageURL: this.$imageUrl,
+      deliverForm: {
+        date: '',
+        warehouse: '',
+        position: ''
+      },
+      deliverFormRules: {
+        date: [{ required: true, message: '请选择发货日期', trigger: 'change' }],
+        warehouse: [{ required: true, message: '请选择发货仓库', trigger: 'change' }],
+        position: [{ required: true, message: '请选择仓位', trigger: 'change' }]
+      },
+      orderType: {
+        TRADE: '商用',
+        HOME: '家用',
+        RETAIL: '零售单',
+        RETAIL_POLICY: '销售政策单'
+      },
+      amendData: [],
+      original: [],
+      fileList: [],
+      restrictFilename: ['结算单', '合同', '明细表', '审核表', '收据', '发票', '照片', '相片']
+    }
+  },
+  created() {
+    this.getDetail()
+  },
+  computed: {
+    isCustomer() {
+      return this.$store.getters.customerId && this.$store.getters.customerNumber
+    }
+  },
+  methods: {
+    getDetail() {
+      if (this.engineering == '工程押金信息') {
+        geDetail({ id: this.$parent.depositManageId }).then(res => {
+          if (res.data.dataList.length == 0) {
+            this.isDis = true
+          } else {
+            this.isDis = false
+          }
+          let arr = []
+          res.data.items.forEach(item => {
+            if (Number(item.qty) > 0) {
+              arr.push(item)
+            }
+            // item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
+            item.sums1 = ['orderHasSendQty', 'dataQty', 'qty', 'hasSendQty', 'contractQty']
+            item.sums2 = ['totalAmount', 'diffAmount', 'price', 'depositAmount', 'contractPrice', 'contractAmount']
+          })
+          res.data.items = arr
+          this.amendData = res.data.dataList.filter(k => k.dataPosition == 'AMEND')
+          this.original = res.data.dataList.filter(k => k.dataPosition != 'AMEND')
+          this.details = res.data
+        })
+      } else if (this.engineering == '工程订单信息') {
+        geOrderInfo({
+          refEnginRecordNo: this.$parent.refEnginRecordNo,
+          examineStatus: 'OK'
+        }).then(res => {
+          this.dataList = res.data
+        })
+      } else if (this.engineering == '直调发货') {
+        getListProject({
+          pageSize: -1,
+          pageNum: 1,
+          type: 3,
+          refEnginRecordNo: this.$parent.refEnginRecordNo
+        }).then(res => {
+          this.goodsList = res.data.records
+        })
+      } else {
+        getListProject({
+          pageSize: -1,
+          pageNum: 1,
+          refEnginRecordNo: this.$parent.refEnginRecordNo
+        }).then(res => {
+          this.projectList = res.data.records
+        })
+      }
     },
-    data() {
-        return {
-            isDis: true,
-            listLoading: false,
-            engineering: '工程押金信息',
-            dataList: [],
-            projectList: [],
-            details: {},
-            goodsList: [],
-            warehouseList: [],
-            positionList: [],
-            imageURL: this.$imageUrl,
-            deliverForm: {
-                date: '',
-                warehouse: '',
-                position: ''
-            },
-            deliverFormRules: {
-                date: [{ required: true, message: '请选择发货日期', trigger: 'change' }],
-                warehouse: [{ required: true, message: '请选择发货仓库', trigger: 'change' }],
-                position: [{ required: true, message: '请选择仓位', trigger: 'change' }]
-            },
-            orderType: {
-                TRADE: '商用',
-                HOME: '家用',
-                RETAIL: '零售单',
-                RETAIL_POLICY: '销售政策单'
-            },
-            amendData: [],
-            original: [],
-            fileList: [],
-            restrictFilename: ['结算单', '合同', '明细表', '审核表', '收据', '发票', '照片', '相片'],
-        }
+    // 批量下载
+    async batchDownloadFn() {
+      downloadFiles('deposit-manage/downZip', { parentId: this.$parent.depositManageId })
     },
-    created() {
-        this.getDetail()
+    // 下载
+    downLoadFn(v, fileName) {
+      if (this.checkFileType(v) === 'pdf') {
+        downloadPdf(this.$imageUrl + v, fileName)
+        return
+      }
+      downloadFiles('common/file/getStream', { key: v, fileName: fileName })
+      // getFileUrl({ key: v }).then((res) => {
+      //   window.open(res.data)
+      // })
     },
-    computed: {
-        isCustomer() {
-            return this.$store.getters.customerId && this.$store.getters.customerNumber
+    openPdf(pdfUrl) {
+      window.open(this.$imageUrl + pdfUrl)
+    },
+    delFile(index, id) {
+      this.amendData.splice(index, 1)
+      this.details.dataList.filter((k, i) => {
+        if (k.id === id) {
+          this.details.dataList.splice(i, 1)
         }
+      })
+      this.$successMsg('删除成功')
     },
-    methods: {
-        getDetail() {
-            if (this.engineering == '工程押金信息') {
-                geDetail({ id: this.$parent.depositManageId }).then(res => {
-                    if (res.data.dataList.length == 0) {
-                        this.isDis = true
-                    } else {
-                        this.isDis = false
-                    }
-                    let arr = []
-                    res.data.items.forEach(item => {
-                        if (Number(item.qty) > 0) {
-                            arr.push(item)
-                        }
-                        // item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
-                        item.sums1 = ['orderHasSendQty', 'dataQty', 'qty', 'hasSendQty', 'contractQty']
-                        item.sums2 = ['totalAmount', 'diffAmount', 'price', 'depositAmount', 'contractPrice', 'contractAmount']
-                    })
-                    res.data.items = arr
-                    this.amendData = res.data.dataList.filter(k => k.dataPosition == 'AMEND')
-                    this.original = res.data.dataList.filter(k => k.dataPosition != 'AMEND')
-                    this.details = res.data
-                })
-            } else if (this.engineering == '工程订单信息') {
-                geOrderInfo({
-                    refEnginRecordNo: this.$parent.refEnginRecordNo,
-                    examineStatus: 'OK'
-                }).then(res => {
-                    this.dataList = res.data
-                })
-            } else if (this.engineering == '直调发货') {
-                getListProject({
-                    pageSize: -1,
-                    pageNum: 1,
-                    type: 3,
-                    refEnginRecordNo: this.$parent.refEnginRecordNo
-                }).then(res => {
-                    this.goodsList = res.data.records
-                })
-            } else {
-                getListProject({
-                    pageSize: -1,
-                    pageNum: 1,
-                    refEnginRecordNo: this.$parent.refEnginRecordNo
-                }).then(res => {
-                    this.projectList = res.data.records
-                })
-            }
-        },
-        // 批量下载
-        async batchDownloadFn() {
-            downloadFiles('deposit-manage/downZip', { parentId: this.$parent.depositManageId })
-        },
-        // 下载
-        downLoadFn(v, fileName) {
-            if (this.checkFileType(v) === 'pdf') {
-                downloadPdf(this.$imageUrl + v, fileName)
-                return
-            }
-            downloadFiles('common/file/getStream', { key: v, fileName: fileName })
-            // getFileUrl({ key: v }).then((res) => {
-            //   window.open(res.data)
-            // })
-        },
-        openPdf(pdfUrl) {
-            window.open(this.$imageUrl + pdfUrl)
-        },
-        delFile(index,id) {
-            this.amendData.splice(index, 1)
-            this.details.dataList.filter((k, i)=>{
-                if (k.id === id) {
-                    this.details.dataList.splice(i,1)
-                }
-            })
-            this.$successMsg('删除成功')
-        },
-        // 检查文件类型
-        checkFileType(url) {
-            if (!url) return ''
-            const fileSuffix = url.substring(url.lastIndexOf('.') + 1)
-
-            if (['jpg', 'jpeg', 'png'].includes(fileSuffix)) {
-                return 'image'
-            } else if (['doc', 'docx', 'dot', 'wps', 'wpt'].includes(fileSuffix)) {
-                return 'word'
-            } else if (['xls', 'xlsx', 'xlt', 'et', 'ett'].includes(fileSuffix)) {
-                return 'excel'
-            } else if (['ppt', 'pptx', 'dps', 'dpt', 'pot', 'pps'].includes(fileSuffix)) {
-                return 'ppt'
-            } else if (['pdf'].includes(fileSuffix)) {
-                return 'pdf'
-            } else if (['zip', 'rar', 'gz', 'apk'].includes(fileSuffix)) {
-                return 'file'
-            } else {
-                return ''
-            }
-        },
-        goBack() {
-            this.$parent.showPage = 1
-        },
-        handleRadio(e) {
-            this.getDetail()
-        },
-        handleSvse() {
-            this.details.isRefundDeposit = this.details.isRefundDeposit == true
-            editInfo(this.details).then(res => {
-                this.$successMsg('编辑成功')
-                this.$parent.showPage = 1
-            })
-        },
-        handleReset() {
-            this.$refs.form.resetFields()
-        },
-        resetClick() {
-            this.details.amendName = ''
-            this.details.amendTime = ''
-            this.fileList = []
-        },
-        replenishClick() {
-            var arr = []
-            if (this.details.dataList.length) {
-               arr =  this.details.dataList.filter(k=>{
-                    if (k.dataPosition=='AMEND') {
-                        return k
-                    }
-                })
-            }
+    // 检查文件类型
+    checkFileType(url) {
+      if (!url) return ''
+      const fileSuffix = url.substring(url.lastIndexOf('.') + 1)
 
-            if (this.fileList.length) {
-                this.fileList.forEach(el => {
-                    arr.push({
-                        dataDescribe: el.name,
-                        enginOrderNo: this.details.refEnginRecordNo,
-                        fileName: el.name,
-                        fileUrl: el.url,
-                        dataPosition: 'AMEND'
-                    })
-                })
-            } else {
-                this.$errorMsg('请补充资料')
-                return
-            }
+      if (['jpg', 'jpeg', 'png'].includes(fileSuffix)) {
+        return 'image'
+      } else if (['doc', 'docx', 'dot', 'wps', 'wpt'].includes(fileSuffix)) {
+        return 'word'
+      } else if (['xls', 'xlsx', 'xlt', 'et', 'ett'].includes(fileSuffix)) {
+        return 'excel'
+      } else if (['ppt', 'pptx', 'dps', 'dpt', 'pot', 'pps'].includes(fileSuffix)) {
+        return 'ppt'
+      } else if (['pdf'].includes(fileSuffix)) {
+        return 'pdf'
+      } else if (['zip', 'rar', 'gz', 'apk'].includes(fileSuffix)) {
+        return 'file'
+      } else {
+        return ''
+      }
+    },
+    goBack() {
+      this.$parent.showPage = 1
+    },
+    handleRadio(e) {
+      this.getDetail()
+    },
+    handleSvse() {
+      this.details.isRefundDeposit = this.details.isRefundDeposit == true
+      editInfo(this.details).then(res => {
+        this.$successMsg('编辑成功')
+        this.$parent.showPage = 1
+      })
+    },
+    handleReset() {
+      this.$refs.form.resetFields()
+    },
+    resetClick() {
+      this.details.amendName = ''
+      this.details.amendTime = ''
+      this.fileList = []
+    },
+    replenishClick() {
+      var arr = []
+      if (this.details.dataList.length) {
+        arr = this.details.dataList.filter(k => {
+          if (k.dataPosition == 'AMEND') {
+            return k
+          }
+        })
+      }
 
-            addAmendData({
-                ...this.details,
-                dataList: arr
-            }).then(res => {
-                this.$successMsg('已提交')
-                this.$parent.showPage = 1
-                this.$parent.getList()
+      if (this.fileList.length) {
+        this.fileList.forEach(el => {
+          arr.push({
+            dataDescribe: el.name,
+            enginOrderNo: this.details.refEnginRecordNo,
+            fileName: el.name,
+            fileUrl: el.url,
+            dataPosition: 'AMEND'
+          })
+        })
+      } else {
+        this.$errorMsg('请补充资料')
+        return
+      }
 
-            })
-        }
+      addAmendData({
+        ...this.details,
+        dataList: arr
+      }).then(res => {
+        this.$emit('updateList')
+        this.$successMsg('已提交')
+        this.$parent.showPage = 1
+        this.$parent?.getList()
+      })
     }
+  }
 }
 </script>
-  
+
 <style scoped lang="scss">
 .aaa {
-    height: 64px;
-    width: 64px;
+  height: 64px;
+  width: 64px;
 }
 
 .gdzl {
-    display: inline-block;
+  display: inline-block;
 }
 
 .batchDownload {
-    float: right;
-    margin-top: 9px;
+  float: right;
+  margin-top: 9px;
 }
 
 ::v-deep .el-input__prefix {
-    display: none;
-    left: 65px !important;
-    -webkit-transition: all 0.3s;
-    transition: all 0.3s;
+  display: none;
+  left: 65px !important;
+  -webkit-transition: all 0.3s;
+  transition: all 0.3s;
 }
 
 ::v-deep .el-date-editor.el-input {
-    width: 100%;
-    box-sizing: border-box;
-    padding-left: 10px;
+  width: 100%;
+  box-sizing: border-box;
+  padding-left: 10px;
 }
 
 .diy-table-1 {
-    ::v-deep .el-form-item {
-        margin: 0;
-    }
+  ::v-deep .el-form-item {
+    margin: 0;
+  }
 }
 
 .zd {
-    ::v-deep .el-input__suffix {
-        right: 0;
-        -webkit-transition: all 0.3s;
-        transition: all 0.3s;
-    }
+  ::v-deep .el-input__suffix {
+    right: 0;
+    -webkit-transition: all 0.3s;
+    transition: all 0.3s;
+  }
 }
 
 ::v-deep .el-input__suffix {
-    right: -15px;
-    -webkit-transition: all 0.3s;
-    transition: all 0.3s;
+  right: -15px;
+  -webkit-transition: all 0.3s;
+  transition: all 0.3s;
 }
 </style>
-  

+ 223 - 92
src/views/deposit_home/components/refund_reexamine.vue

@@ -79,15 +79,15 @@
           <div class="label">单据状态</div>
           <div class="value">
             {{
-                detailList.examineStatus == 'SAVE'
-                  ? '保存'
-                  : detailList.examineStatus == 'WAIT'
-                    ? '待审核'
-                    : detailList.examineStatus == 'OK'
-                      ? '通过'
-                      : detailList.examineStatus == 'FAIL'
-                        ? '不通过'
-                        : '关闭'
+              detailList.examineStatus == 'SAVE'
+                ? '保存'
+                : detailList.examineStatus == 'WAIT'
+                ? '待审核'
+                : detailList.examineStatus == 'OK'
+                ? '通过'
+                : detailList.examineStatus == 'FAIL'
+                ? '不通过'
+                : '关闭'
             }}
           </div>
         </el-col>
@@ -118,9 +118,16 @@
         <el-col :xs="24" :sm="24" :lg="8" class="item">
           <div class="label">安装时间</div>
           <div class="value">
-            <el-date-picker v-model="detailList.installDate" prefix-icon="''" placeholder="请选择安装时间"
-              :readonly="title == '详情'" class="selectStyle" type="datetime" default-time="00:00:00"
-              value-format="yyyy-MM-dd HH:mm:ss" />
+            <el-date-picker
+              v-model="detailList.installDate"
+              prefix-icon="''"
+              placeholder="请选择安装时间"
+              :readonly="title == '详情'"
+              class="selectStyle"
+              type="datetime"
+              default-time="00:00:00"
+              value-format="yyyy-MM-dd HH:mm:ss"
+            />
           </div>
         </el-col>
         <el-col :xs="24" :sm="24" :lg="16" class="item">
@@ -158,15 +165,22 @@
           <div class="label">备注</div>
           <!-- <div class="value">{{ detailList.remark }}</div> -->
           <div class="value">
-            <el-input v-model="detailList.remark" :readonly="detailList.examineStatus !== 'WAIT'" placeholder="请输入内容" />
+            <el-input
+              v-model="detailList.remark"
+              :readonly="detailList.examineStatus !== 'WAIT'"
+              placeholder="请输入内容"
+            />
           </div>
         </el-col>
         <el-col v-if="!isCustomer" :xs="24" :sm="24" :lg="16" class="item">
           <div class="label">格力内部备注</div>
           <!-- <div class="value">{{  detailList.geLiInerNote}}</div> -->
           <div class="value">
-            <el-input v-model="detailList.geLiInerNote" :readonly="detailList.examineStatus !== 'WAIT'"
-              placeholder="请输入内容" />
+            <el-input
+              v-model="detailList.geLiInerNote"
+              :readonly="detailList.examineStatus !== 'WAIT'"
+              placeholder="请输入内容"
+            />
           </div>
         </el-col>
         <el-col :xs="24" :sm="24" :lg="8" class="item">
@@ -350,8 +364,17 @@
     <div class="mymain-container">
       <div class="table">
         <div class="table">
-          <el-table v-loading="listLoading" :data="detailList.items" element-loading-text="Loading" border fit
-            highlight-current-row stripe show-summary :summary-method="$getSummaries">
+          <el-table
+            v-loading="listLoading"
+            :data="detailList.items"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+            show-summary
+            :summary-method="$getSummaries"
+          >
             <template v-if="!isCustomer">
               <el-table-column align="left" label="厂编号" prop="factoryNo" min-width="160" show-overflow-tooltip>
                 <template slot-scope="scope">
@@ -359,7 +382,13 @@
                   <span>{{ scope.row.factoryNo }}</span>
                 </template>
               </el-table-column>
-              <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="130" show-overflow-tooltip>
+              <el-table-column
+                align="left"
+                label="物料编码"
+                prop="materialNumber"
+                min-width="130"
+                show-overflow-tooltip
+              >
                 <template slot-scope="scope">
                   <CopyButton :copy-text="scope.row.materialNumber" />
                   <span>{{ scope.row.materialNumber }}</span>
@@ -367,7 +396,13 @@
               </el-table-column>
             </template>
 
-            <el-table-column align="left" label="产品编码" prop="materialOldNumber" min-width="130" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="产品编码"
+              prop="materialOldNumber"
+              min-width="130"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <CopyButton :copy-text="scope.row.materialOldNumber" />
                 <span>{{ scope.row.materialOldNumber }}</span>
@@ -386,23 +421,39 @@
               </template>
             </el-table-column>
 
-            <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装规格型号"
+              prop="realSpecification"
+              min-width="300"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realSpecification != scope.row.specification ? { color: 'blue' } : ''">
                   {{ scope.row.realSpecification }}
                 </div>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="实装物料编号" prop="realMaterialNumber" min-width="150"
-              show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装物料编号"
+              prop="realMaterialNumber"
+              min-width="150"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realMaterialNumber != scope.row.materialNumber ? { color: 'blue' } : ''">
                   {{ scope.row.realMaterialNumber }}
                 </div>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="实装厂产品编码" prop="realMaterialOldNumber" min-width="200"
-              show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装厂产品编码"
+              prop="realMaterialOldNumber"
+              min-width="200"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realMaterialOldNumber != scope.row.materialOldNumber ? { color: 'blue' } : ''">
                   {{ scope.row.realMaterialOldNumber }}
@@ -421,7 +472,13 @@
               </template>
             </el-table-column>
             <el-table-column align="right" label="押金数量" prop="hasSendQty" min-width="160" show-overflow-tooltip />
-            <el-table-column align="right" label="发货数量" prop="orderHasSendQty" min-width="160" show-overflow-tooltip />
+            <el-table-column
+              align="right"
+              label="发货数量"
+              prop="orderHasSendQty"
+              min-width="160"
+              show-overflow-tooltip
+            />
             <el-table-column align="right" label="押金金额" prop="depositAmount" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
                 {{ scope.row.depositAmount | numToFixed }}
@@ -429,8 +486,13 @@
             </el-table-column>
             <el-table-column align="right" label="合同数量" prop="contractQty" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-input v-if="title !== '详情'" v-model.number="scope.row.contractQty" class="inpt" size="mini"
-                  clearable />
+                <el-input
+                  v-if="title !== '详情'"
+                  v-model.number="scope.row.contractQty"
+                  class="inpt"
+                  size="mini"
+                  clearable
+                />
                 <div v-else>
                   {{ scope.row.contractQty }}
                 </div>
@@ -438,8 +500,13 @@
             </el-table-column>
             <el-table-column align="right" label="合同单价" prop="contractPrice" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-input v-if="title !== '详情'" v-model.number="scope.row.contractPrice" class="inpt" size="mini"
-                  clearable />
+                <el-input
+                  v-if="title !== '详情'"
+                  v-model.number="scope.row.contractPrice"
+                  class="inpt"
+                  size="mini"
+                  clearable
+                />
                 <div v-else>
                   {{ scope.row.contractPrice }}
                 </div>
@@ -454,8 +521,13 @@
             </el-table-column>
             <el-table-column align="right" label="上交资料" prop="dataQty" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-input v-if="title !== '详情'" v-model.number.trim="scope.row.dataQty" class="inpt" size="mini"
-                  @blur="setDataQty($event, scope.row)" />
+                <el-input
+                  v-if="title !== '详情'"
+                  v-model.number.trim="scope.row.dataQty"
+                  class="inpt"
+                  size="mini"
+                  @blur="setDataQty($event, scope.row)"
+                />
                 <div v-else>
                   {{ scope.row.dataQty }}
                 </div>
@@ -466,7 +538,13 @@
                 {{ scope.row.diffAmount | numToFixed }}
               </template>
             </el-table-column>
-            <el-table-column align="right" label="收差政策价格" prop="diffPolicyPrice" min-width="200" show-overflow-tooltip>
+            <el-table-column
+              align="right"
+              label="收差政策价格"
+              prop="diffPolicyPrice"
+              min-width="200"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 {{ scope.row.diffPolicyPrice | numToFixed }}
               </template>
@@ -486,14 +564,27 @@
     <!-- 列表 -->
     <div class="mymain-container">
       <div class="table">
-        <el-table v-loading="listLoading" :data="original" element-loading-text="Loading" border fit
-          highlight-current-row stripe>
+        <el-table
+          v-loading="listLoading"
+          :data="original"
+          element-loading-text="Loading"
+          border
+          fit
+          highlight-current-row
+          stripe
+        >
           <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
           <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
           <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
             <template slot-scope="scope">
-              <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img" :src="imageURL + scope.row.fileUrl"
-                style="width: 120px; height: 120px" fit="cover" :preview-src-list="[imageURL + scope.row.fileUrl]" />
+              <el-image
+                v-if="checkFileType(scope.row.fileUrl) == 'image'"
+                ref="img"
+                :src="imageURL + scope.row.fileUrl"
+                style="width: 120px; height: 120px"
+                fit="cover"
+                :preview-src-list="[imageURL + scope.row.fileUrl]"
+              />
               <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
               <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file" src="@/assets/common/excel.png" />
               <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
@@ -508,8 +599,9 @@
           </el-table-column>
           <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
             <template slot-scope="scope">
-              <el-button type="text" class="textColor"
-                @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
+              <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
+                >下载</el-button
+              >
             </template>
           </el-table-column>
         </el-table>
@@ -545,8 +637,15 @@
     <!-- 列表 -->
     <div class="mymain-container">
       <div class="table">
-        <el-table v-loading="listLoading" :data="detailList.checkRecordItems" element-loading-text="Loading" border fit
-          highlight-current-row stripe>
+        <el-table
+          v-loading="listLoading"
+          :data="detailList.checkRecordItems"
+          element-loading-text="Loading"
+          border
+          fit
+          highlight-current-row
+          stripe
+        >
           <el-table-column align="left" label="申请人" prop="submitName" min-width="160" show-overflow-tooltip />
           <el-table-column align="left" label="申请日期" prop="submitTime" min-width="160" show-overflow-tooltip />
           <el-table-column align="left" label="申请说明" prop="applyNote" min-width="160" show-overflow-tooltip />
@@ -562,14 +661,18 @@
       </div>
     </div>
 
-    <h3 v-if="
-      detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
-    ">
+    <h3
+      v-if="
+        detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
+      "
+    >
       审批
     </h3>
-    <el-divider v-if="
-      detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
-    " />
+    <el-divider
+      v-if="
+        detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
+      "
+    />
     <div v-if="detailList.examineStatus == 'WAIT'" class="diy-table-1">
       <el-row :gutter="0">
         <el-col :xs="12" :sm="12" :lg="12" class="item">
@@ -579,8 +682,15 @@
         <el-col :xs="12" :sm="12" :lg="12" class="item dateS">
           <div class="label">受理日期</div>
           <div class="value">
-            <el-date-picker readonly prefix-icon="''" class="selectStyle" type="datetime" placeholder="系统自动生成"
-              default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+            <el-date-picker
+              readonly
+              prefix-icon="''"
+              class="selectStyle"
+              type="datetime"
+              placeholder="系统自动生成"
+              default-time="00:00:00"
+              value-format="yyyy-MM-dd HH:mm:ss"
+            />
           </div>
         </el-col>
         <el-col :xs="12" :sm="24" :lg="24" class="item">
@@ -610,8 +720,16 @@
         <el-col :xs="12" :sm="12" :lg="12" class="item dateS">
           <div class="label">受理日期</div>
           <div class="value">
-            <el-date-picker v-model="detailList.checkDate" readonly prefix-icon="''" class="selectStyle" type="datetime"
-              placeholder="" default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+            <el-date-picker
+              v-model="detailList.checkDate"
+              readonly
+              prefix-icon="''"
+              class="selectStyle"
+              type="datetime"
+              placeholder=""
+              default-time="00:00:00"
+              value-format="yyyy-MM-dd HH:mm:ss"
+            />
           </div>
         </el-col>
         <el-col :xs="12" :sm="24" :lg="24" class="item">
@@ -644,22 +762,46 @@
         <!-- 列表 -->
         <div class="mymain-container">
           <div class="table">
-            <el-table v-loading="listLoading" :data="amendData" element-loading-text="Loading" border fit
-              highlight-current-row stripe>
-              <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
+            <el-table
+              v-loading="listLoading"
+              :data="amendData"
+              element-loading-text="Loading"
+              border
+              fit
+              highlight-current-row
+              stripe
+            >
+              <el-table-column
+                align="left"
+                label="资料描述"
+                prop="dataDescribe"
+                min-width="160"
+                show-overflow-tooltip
+              />
               <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
               <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
                 <template slot-scope="scope">
-                  <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
-                    :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px" fit="cover"
-                    :preview-src-list="[imageURL + scope.row.fileUrl]" />
+                  <el-image
+                    v-if="checkFileType(scope.row.fileUrl) == 'image'"
+                    ref="img"
+                    :src="imageURL + scope.row.fileUrl"
+                    style="width: 120px; height: 120px"
+                    fit="cover"
+                    :preview-src-list="[imageURL + scope.row.fileUrl]"
+                  />
                   <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
-                  <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file"
-                    src="@/assets/common/excel.png" />
+                  <img
+                    v-if="checkFileType(scope.row.fileUrl) == 'excel'"
+                    class="file"
+                    src="@/assets/common/excel.png"
+                  />
                   <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
                   <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png" />
-                  <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
-                    src="@/assets/common/zip.jpeg" />
+                  <img
+                    v-if="checkFileType(scope.row.fileUrl) == 'file'"
+                    class="file aaa"
+                    src="@/assets/common/zip.jpeg"
+                  />
                 </template>
               </el-table-column>
               <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
@@ -669,8 +811,9 @@
               </el-table-column>
               <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
                 <template slot-scope="scope">
-                  <el-button type="text" class="textColor"
-                    @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
+                  <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
+                    >下载</el-button
+                  >
                 </template>
               </el-table-column>
             </el-table>
@@ -678,30 +821,23 @@
           <div class="diy-table-1">
             <el-row :gutter="0">
               <el-col :xs="12" :sm="12" :lg="12" class="item">
-                <div class="label">
-                  上传人
-                </div>
+                <div class="label">上传人</div>
                 <div class="value">
                   {{ detailList.amendBy }}
                 </div>
               </el-col>
               <el-col :xs="12" :sm="12" :lg="12" class="item">
-                <div class="label">
-                  上传时间
-                </div>
+                <div class="label">上传时间</div>
                 <div class="value">
                   {{ detailList.amendTime }}
                 </div>
               </el-col>
               <el-col :xs="12" :sm="24" :lg="24" class="item">
-                <div class="label">
-                  补充说明
-                </div>
+                <div class="label">补充说明</div>
                 <div class="value">
                   {{ detailList.amendRemark }}
                 </div>
               </el-col>
-
             </el-row>
           </div>
           <h3 class="gdzl">复核</h3>
@@ -709,31 +845,30 @@
           <div class="diy-table-1">
             <el-row :gutter="0">
               <el-col :xs="12" :sm="12" :lg="12" class="item">
-                <div class="label">
-                  复核人
-                </div>
+                <div class="label">复核人</div>
                 <div class="value">
                   <el-input v-model="detailList.reviewBy" placeholder="请输入" />
                 </div>
               </el-col>
               <el-col :xs="12" :sm="12" :lg="12" class="item">
-                <div class="label">
-                  复核时间
-                </div>
+                <div class="label">复核时间</div>
                 <div class="value">
-                  <el-date-picker v-model="detailList.reviewTime" class="dateStyle" type="datetime" placeholder="选择日期"
-                    default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+                  <el-date-picker
+                    v-model="detailList.reviewTime"
+                    class="dateStyle"
+                    type="datetime"
+                    placeholder="选择日期"
+                    default-time="00:00:00"
+                    value-format="yyyy-MM-dd HH:mm:ss"
+                  />
                 </div>
               </el-col>
               <el-col :xs="12" :sm="24" :lg="24" class="item">
-                <div class="label">
-                  复核说明
-                </div>
+                <div class="label">复核说明</div>
                 <div class="value">
                   <el-input v-model="detailList.reviewRemark" type="text"></el-input>
                 </div>
               </el-col>
-
             </el-row>
           </div>
         </div>
@@ -751,7 +886,7 @@
     </div>
   </div>
 </template>
-  
+
 <script>
 import imageUpload from '@/components/Common/image-upload.vue'
 import { downloadFiles, downloadPdf } from '@/utils/util'
@@ -769,7 +904,7 @@ import { applyDeposit, computeDiff } from '@/api/engin_deposit.js'
 
 import ret from 'bluebird/js/release/util'
 export default {
-  components: { imageUpload, },
+  components: { imageUpload },
   props: {
     detailId: {
       type: String,
@@ -889,7 +1024,6 @@ export default {
         this.$successMsg('审核驳回')
         this.goBack()
         this.$emit('updateList')
-
       })
     },
     // 审批通过
@@ -897,13 +1031,11 @@ export default {
       const params = {
         ...this.detailList,
         examineResult: 1
-
       }
       reviewData(params).then(res => {
         this.$successMsg('审核通过')
         this.goBack()
         this.$emit('updateList')
-
       })
     },
     async getData(data) {
@@ -947,7 +1079,7 @@ export default {
   }
 }
 </script>
-  
+
 <style lang="scss" scoped>
 .inpt {
   ::v-deep .el-input__inner {
@@ -964,7 +1096,7 @@ export default {
     padding: 0;
   }
 }
-::v-deep .el-input__prefix{
+::v-deep .el-input__prefix {
   display: none;
 }
 .batchDownload {
@@ -995,4 +1127,3 @@ export default {
   align-items: center;
 }
 </style>
-  

+ 238 - 103
src/views/deposit_home/components/refund_replenish.vue

@@ -79,15 +79,15 @@
           <div class="label">单据状态</div>
           <div class="value">
             {{
-                detailList.examineStatus == 'SAVE'
-                  ? '保存'
-                  : detailList.examineStatus == 'WAIT'
-                    ? '待审核'
-                    : detailList.examineStatus == 'OK'
-                      ? '通过'
-                      : detailList.examineStatus == 'FAIL'
-                        ? '不通过'
-                        : '关闭'
+              detailList.examineStatus == 'SAVE'
+                ? '保存'
+                : detailList.examineStatus == 'WAIT'
+                ? '待审核'
+                : detailList.examineStatus == 'OK'
+                ? '通过'
+                : detailList.examineStatus == 'FAIL'
+                ? '不通过'
+                : '关闭'
             }}
           </div>
         </el-col>
@@ -118,9 +118,16 @@
         <el-col :xs="24" :sm="24" :lg="8" class="item">
           <div class="label">安装时间</div>
           <div class="value">
-            <el-date-picker v-model="detailList.installDate" prefix-icon="''" placeholder="请选择安装时间"
-              :readonly="title == '详情'" class="selectStyle" type="datetime" default-time="00:00:00"
-              value-format="yyyy-MM-dd HH:mm:ss" />
+            <el-date-picker
+              v-model="detailList.installDate"
+              prefix-icon="''"
+              placeholder="请选择安装时间"
+              :readonly="title == '详情'"
+              class="selectStyle"
+              type="datetime"
+              default-time="00:00:00"
+              value-format="yyyy-MM-dd HH:mm:ss"
+            />
           </div>
         </el-col>
         <el-col :xs="24" :sm="24" :lg="16" class="item">
@@ -158,15 +165,22 @@
           <div class="label">备注</div>
           <!-- <div class="value">{{ detailList.remark }}</div> -->
           <div class="value">
-            <el-input v-model="detailList.remark" :readonly="detailList.examineStatus !== 'WAIT'" placeholder="请输入内容" />
+            <el-input
+              v-model="detailList.remark"
+              :readonly="detailList.examineStatus !== 'WAIT'"
+              placeholder="请输入内容"
+            />
           </div>
         </el-col>
         <el-col v-if="!isCustomer" :xs="24" :sm="24" :lg="16" class="item">
           <div class="label">格力内部备注</div>
           <!-- <div class="value">{{  detailList.geLiInerNote}}</div> -->
           <div class="value">
-            <el-input v-model="detailList.geLiInerNote" :readonly="detailList.examineStatus !== 'WAIT'"
-              placeholder="请输入内容" />
+            <el-input
+              v-model="detailList.geLiInerNote"
+              :readonly="detailList.examineStatus !== 'WAIT'"
+              placeholder="请输入内容"
+            />
           </div>
         </el-col>
         <el-col :xs="24" :sm="24" :lg="8" class="item">
@@ -350,8 +364,17 @@
     <div class="mymain-container">
       <div class="table">
         <div class="table">
-          <el-table v-loading="listLoading" :data="detailList.items" element-loading-text="Loading" border fit
-            highlight-current-row stripe show-summary :summary-method="$getSummaries">
+          <el-table
+            v-loading="listLoading"
+            :data="detailList.items"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+            show-summary
+            :summary-method="$getSummaries"
+          >
             <template v-if="!isCustomer">
               <el-table-column align="left" label="厂编号" prop="factoryNo" min-width="160" show-overflow-tooltip>
                 <template slot-scope="scope">
@@ -359,7 +382,13 @@
                   <span>{{ scope.row.factoryNo }}</span>
                 </template>
               </el-table-column>
-              <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="130" show-overflow-tooltip>
+              <el-table-column
+                align="left"
+                label="物料编码"
+                prop="materialNumber"
+                min-width="130"
+                show-overflow-tooltip
+              >
                 <template slot-scope="scope">
                   <CopyButton :copy-text="scope.row.materialNumber" />
                   <span>{{ scope.row.materialNumber }}</span>
@@ -367,7 +396,13 @@
               </el-table-column>
             </template>
 
-            <el-table-column align="left" label="产品编码" prop="materialOldNumber" min-width="130" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="产品编码"
+              prop="materialOldNumber"
+              min-width="130"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <CopyButton :copy-text="scope.row.materialOldNumber" />
                 <span>{{ scope.row.materialOldNumber }}</span>
@@ -386,23 +421,39 @@
               </template>
             </el-table-column>
 
-            <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装规格型号"
+              prop="realSpecification"
+              min-width="300"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realSpecification != scope.row.specification ? { color: 'blue' } : ''">
                   {{ scope.row.realSpecification }}
                 </div>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="实装物料编号" prop="realMaterialNumber" min-width="150"
-              show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装物料编号"
+              prop="realMaterialNumber"
+              min-width="150"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realMaterialNumber != scope.row.materialNumber ? { color: 'blue' } : ''">
                   {{ scope.row.realMaterialNumber }}
                 </div>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="实装厂产品编码" prop="realMaterialOldNumber" min-width="200"
-              show-overflow-tooltip>
+            <el-table-column
+              align="left"
+              label="实装厂产品编码"
+              prop="realMaterialOldNumber"
+              min-width="200"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 <div :style="scope.row.realMaterialOldNumber != scope.row.materialOldNumber ? { color: 'blue' } : ''">
                   {{ scope.row.realMaterialOldNumber }}
@@ -421,7 +472,13 @@
               </template>
             </el-table-column>
             <el-table-column align="right" label="押金数量" prop="hasSendQty" min-width="160" show-overflow-tooltip />
-            <el-table-column align="right" label="发货数量" prop="orderHasSendQty" min-width="160" show-overflow-tooltip />
+            <el-table-column
+              align="right"
+              label="发货数量"
+              prop="orderHasSendQty"
+              min-width="160"
+              show-overflow-tooltip
+            />
             <el-table-column align="right" label="押金金额" prop="depositAmount" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
                 {{ scope.row.depositAmount | numToFixed }}
@@ -429,8 +486,13 @@
             </el-table-column>
             <el-table-column align="right" label="合同数量" prop="contractQty" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-input v-if="title !== '详情'" v-model.number="scope.row.contractQty" class="inpt" size="mini"
-                  clearable />
+                <el-input
+                  v-if="title !== '详情'"
+                  v-model.number="scope.row.contractQty"
+                  class="inpt"
+                  size="mini"
+                  clearable
+                />
                 <div v-else>
                   {{ scope.row.contractQty }}
                 </div>
@@ -438,8 +500,13 @@
             </el-table-column>
             <el-table-column align="right" label="合同单价" prop="contractPrice" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-input v-if="title !== '详情'" v-model.number="scope.row.contractPrice" class="inpt" size="mini"
-                  clearable />
+                <el-input
+                  v-if="title !== '详情'"
+                  v-model.number="scope.row.contractPrice"
+                  class="inpt"
+                  size="mini"
+                  clearable
+                />
                 <div v-else>
                   {{ scope.row.contractPrice }}
                 </div>
@@ -454,8 +521,13 @@
             </el-table-column>
             <el-table-column align="right" label="上交资料" prop="dataQty" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-input v-if="title !== '详情'" v-model.number.trim="scope.row.dataQty" class="inpt" size="mini"
-                  @blur="setDataQty($event, scope.row)" />
+                <el-input
+                  v-if="title !== '详情'"
+                  v-model.number.trim="scope.row.dataQty"
+                  class="inpt"
+                  size="mini"
+                  @blur="setDataQty($event, scope.row)"
+                />
                 <div v-else>
                   {{ scope.row.dataQty }}
                 </div>
@@ -466,7 +538,13 @@
                 {{ scope.row.diffAmount | numToFixed }}
               </template>
             </el-table-column>
-            <el-table-column align="right" label="收差政策价格" prop="diffPolicyPrice" min-width="200" show-overflow-tooltip>
+            <el-table-column
+              align="right"
+              label="收差政策价格"
+              prop="diffPolicyPrice"
+              min-width="200"
+              show-overflow-tooltip
+            >
               <template slot-scope="scope">
                 {{ scope.row.diffPolicyPrice | numToFixed }}
               </template>
@@ -486,14 +564,27 @@
     <!-- 列表 -->
     <div class="mymain-container">
       <div class="table">
-        <el-table v-loading="listLoading" :data="original" element-loading-text="Loading" border fit
-          highlight-current-row stripe>
+        <el-table
+          v-loading="listLoading"
+          :data="original"
+          element-loading-text="Loading"
+          border
+          fit
+          highlight-current-row
+          stripe
+        >
           <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
           <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
           <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
             <template slot-scope="scope">
-              <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img" :src="imageURL + scope.row.fileUrl"
-                style="width: 120px; height: 120px" fit="cover" :preview-src-list="[imageURL + scope.row.fileUrl]" />
+              <el-image
+                v-if="checkFileType(scope.row.fileUrl) == 'image'"
+                ref="img"
+                :src="imageURL + scope.row.fileUrl"
+                style="width: 120px; height: 120px"
+                fit="cover"
+                :preview-src-list="[imageURL + scope.row.fileUrl]"
+              />
               <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
               <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file" src="@/assets/common/excel.png" />
               <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
@@ -508,8 +599,9 @@
           </el-table-column>
           <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
             <template slot-scope="scope">
-              <el-button type="text" class="textColor"
-                @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
+              <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
+                >下载</el-button
+              >
             </template>
           </el-table-column>
         </el-table>
@@ -545,8 +637,15 @@
     <!-- 列表 -->
     <div class="mymain-container">
       <div class="table">
-        <el-table v-loading="listLoading" :data="detailList.checkRecordItems" element-loading-text="Loading" border fit
-          highlight-current-row stripe>
+        <el-table
+          v-loading="listLoading"
+          :data="detailList.checkRecordItems"
+          element-loading-text="Loading"
+          border
+          fit
+          highlight-current-row
+          stripe
+        >
           <el-table-column align="left" label="申请人" prop="submitName" min-width="160" show-overflow-tooltip />
           <el-table-column align="left" label="申请日期" prop="submitTime" min-width="160" show-overflow-tooltip />
           <el-table-column align="left" label="申请说明" prop="applyNote" min-width="160" show-overflow-tooltip />
@@ -562,14 +661,18 @@
       </div>
     </div>
 
-    <h3 v-if="
-      detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
-    ">
+    <h3
+      v-if="
+        detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
+      "
+    >
       审批
     </h3>
-    <el-divider v-if="
-      detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
-    " />
+    <el-divider
+      v-if="
+        detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
+      "
+    />
     <div v-if="detailList.examineStatus == 'WAIT'" class="diy-table-1">
       <el-row :gutter="0">
         <el-col :xs="12" :sm="12" :lg="12" class="item">
@@ -579,8 +682,15 @@
         <el-col :xs="12" :sm="12" :lg="12" class="item dateS">
           <div class="label">受理日期</div>
           <div class="value">
-            <el-date-picker readonly prefix-icon="''" class="selectStyle" type="datetime" placeholder="系统自动生成"
-              default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+            <el-date-picker
+              readonly
+              prefix-icon="''"
+              class="selectStyle"
+              type="datetime"
+              placeholder="系统自动生成"
+              default-time="00:00:00"
+              value-format="yyyy-MM-dd HH:mm:ss"
+            />
           </div>
         </el-col>
         <el-col :xs="12" :sm="24" :lg="24" class="item">
@@ -610,8 +720,16 @@
         <el-col :xs="12" :sm="12" :lg="12" class="item dateS">
           <div class="label">受理日期</div>
           <div class="value">
-            <el-date-picker v-model="detailList.checkDate" readonly prefix-icon="''" class="selectStyle" type="datetime"
-              placeholder="" default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+            <el-date-picker
+              v-model="detailList.checkDate"
+              readonly
+              prefix-icon="''"
+              class="selectStyle"
+              type="datetime"
+              placeholder=""
+              default-time="00:00:00"
+              value-format="yyyy-MM-dd HH:mm:ss"
+            />
           </div>
         </el-col>
         <el-col :xs="12" :sm="24" :lg="24" class="item">
@@ -643,21 +761,36 @@
       <!-- 列表 -->
       <div class="mymain-container">
         <div class="table">
-          <el-table v-loading="listLoading" :data="amendData" element-loading-text="Loading" border fit
-            highlight-current-row stripe>
+          <el-table
+            v-loading="listLoading"
+            :data="amendData"
+            element-loading-text="Loading"
+            border
+            fit
+            highlight-current-row
+            stripe
+          >
             <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
             <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
             <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
-                  :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px" fit="cover"
-                  :preview-src-list="[imageURL + scope.row.fileUrl]" />
+                <el-image
+                  v-if="checkFileType(scope.row.fileUrl) == 'image'"
+                  ref="img"
+                  :src="imageURL + scope.row.fileUrl"
+                  style="width: 120px; height: 120px"
+                  fit="cover"
+                  :preview-src-list="[imageURL + scope.row.fileUrl]"
+                />
                 <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
                 <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file" src="@/assets/common/excel.png" />
                 <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
                 <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png" />
-                <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
-                  src="@/assets/common/zip.jpeg" />
+                <img
+                  v-if="checkFileType(scope.row.fileUrl) == 'file'"
+                  class="file aaa"
+                  src="@/assets/common/zip.jpeg"
+                />
               </template>
             </el-table-column>
             <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
@@ -667,8 +800,9 @@
             </el-table-column>
             <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-button type="text" class="textColor"
-                  @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
+                <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
+                  >下载</el-button
+                >
               </template>
             </el-table-column>
           </el-table>
@@ -676,30 +810,23 @@
         <div class="diy-table-1">
           <el-row :gutter="0">
             <el-col :xs="12" :sm="12" :lg="12" class="item">
-              <div class="label">
-                上传人
-              </div>
+              <div class="label">上传人</div>
               <div class="value">
                 {{ detailList.amendBy }}
               </div>
             </el-col>
             <el-col :xs="12" :sm="12" :lg="12" class="item">
-              <div class="label">
-                上传时间
-              </div>
+              <div class="label">上传时间</div>
               <div class="value">
                 {{ detailList.amendTime }}
               </div>
             </el-col>
             <el-col :xs="12" :sm="24" :lg="24" class="item">
-              <div class="label">
-                补充说明
-              </div>
+              <div class="label">补充说明</div>
               <div class="value">
                 {{ detailList.amendRemark }}
               </div>
             </el-col>
-
           </el-row>
         </div>
         <div v-if="detailList.examineStatus == 'AMEND'">
@@ -708,31 +835,30 @@
           <div class="diy-table-1">
             <el-row :gutter="0">
               <el-col :xs="12" :sm="12" :lg="12" class="item">
-                <div class="label">
-                  复核人
-                </div>
+                <div class="label">复核人</div>
                 <div class="value">
                   <el-input v-model="detailList.reviewBy" placeholder="请输入" />
                 </div>
               </el-col>
               <el-col :xs="12" :sm="12" :lg="12" class="item">
-                <div class="label">
-                  复核时间
-                </div>
+                <div class="label">复核时间</div>
                 <div class="value">
-                  <el-date-picker v-model="detailList.reviewTime" class="dateStyle" type="datetime" placeholder="选择日期"
-                    default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+                  <el-date-picker
+                    v-model="detailList.reviewTime"
+                    class="dateStyle"
+                    type="datetime"
+                    placeholder="选择日期"
+                    default-time="00:00:00"
+                    value-format="yyyy-MM-dd HH:mm:ss"
+                  />
                 </div>
               </el-col>
               <el-col :xs="12" :sm="24" :lg="24" class="item">
-                <div class="label">
-                  复核说明
-                </div>
+                <div class="label">复核说明</div>
                 <div class="value">
                   <input v-model="detailList.reviewRemark" type="text" />
                 </div>
               </el-col>
-
             </el-row>
           </div>
         </div>
@@ -748,8 +874,12 @@
             <el-row :gutter="20">
               <el-col :xs="24" :sm="12" :lg="24">
                 <el-form-item label="工程验收资料" prop="">
-                  <imageUpload :file-list="fileList" :multiple="true" :start-restricting="true"
-                    :restrict-filename="restrictFilename" />
+                  <imageUpload
+                    :file-list="fileList"
+                    :multiple="true"
+                    :start-restricting="true"
+                    :restrict-filename="restrictFilename"
+                  />
                 </el-form-item>
               </el-col>
 
@@ -760,13 +890,24 @@
               </el-col>
               <el-col :xs="24" :sm="12" :lg="6">
                 <el-form-item label="上传时间" prop="amendTime">
-                  <el-date-picker v-model="detailList.amendTime" class="dateStyle" type="datetime" placeholder="选择日期"
-                    default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
+                  <el-date-picker
+                    v-model="detailList.amendTime"
+                    class="dateStyle"
+                    type="datetime"
+                    placeholder="选择日期"
+                    default-time="00:00:00"
+                    value-format="yyyy-MM-dd HH:mm:ss"
+                  />
                 </el-form-item>
               </el-col>
               <el-col :xs="24" :sm="12" :lg="18">
                 <el-form-item label="补充说明" prop="amendRemark">
-                  <el-input v-model="detailList.amendRemark" type="textarea" placeholder="请输入" class="textareaStyle" />
+                  <el-input
+                    v-model="detailList.amendRemark"
+                    type="textarea"
+                    placeholder="请输入"
+                    class="textareaStyle"
+                  />
                 </el-form-item>
               </el-col>
               <el-col :xs="24" :sm="24" :lg="24">
@@ -779,7 +920,6 @@
           </el-form>
         </div>
       </div>
-
     </div>
     <br />
 
@@ -796,7 +936,7 @@
     </div>
   </div>
 </template>
-  
+
 <script>
 import imageUpload from '@/components/Common/image-upload.vue'
 import { downloadFiles, downloadPdf } from '@/utils/util'
@@ -814,7 +954,7 @@ import { applyDeposit, computeDiff } from '@/api/engin_deposit.js'
 
 import ret from 'bluebird/js/release/util'
 export default {
-  components: { imageUpload, },
+  components: { imageUpload },
   props: {
     detailId: {
       type: String,
@@ -867,7 +1007,6 @@ export default {
     }
   },
   created() {
-    console.log(this.$imageUrl, 8888)
     this.checkBy = this.name
     this.getData({ id: this.detailId })
   },
@@ -933,8 +1072,6 @@ export default {
         type: 'warning'
       })
         .then(() => {
-
-
           if (this.isCustomer) {
             for (let i = 0; i < this.detailList.items.length; i++) {
               this.detailList.items[i].contractAmount =
@@ -989,9 +1126,9 @@ export default {
                         })
                     }
                   })
-                  .finally(res => { })
+                  .finally(res => {})
               })
-              .catch(() => { })
+              .catch(() => {})
           } else {
             getDepositManageExamine(data)
               .then(res => {
@@ -1014,10 +1151,10 @@ export default {
                     })
                 }
               })
-              .finally(res => { })
+              .finally(res => {})
           }
         })
-        .catch(() => { })
+        .catch(() => {})
       // if (!this.detailList.installDate) {
       //   this.$message.error("请选择安装时间");
       //   return;
@@ -1095,9 +1232,9 @@ export default {
                         })
                     }
                   })
-                  .finally(res => { })
+                  .finally(res => {})
               })
-              .catch(() => { })
+              .catch(() => {})
           } else {
             getDepositManageExamine(data)
               .then(res => {
@@ -1120,10 +1257,10 @@ export default {
                     })
                 }
               })
-              .finally(res => { })
+              .finally(res => {})
           }
         })
-        .catch(() => { })
+        .catch(() => {})
 
       // if (!this.detailList.installDate) {
       //   this.$message.error("请选择安装时间");
@@ -1206,13 +1343,12 @@ export default {
       }).then(res => {
         this.$successMsg('已提交')
         this.goBack()
-
       })
     }
   }
 }
 </script>
-  
+
 <style lang="scss" scoped>
 .inpt {
   ::v-deep .el-input__inner {
@@ -1259,4 +1395,3 @@ export default {
   align-items: center;
 }
 </style>
-  

+ 11 - 9
src/views/deposit_home/deposit_list.vue

@@ -1,11 +1,11 @@
 <template>
   <div style="width: 100%; height: 100%">
     <template-page
-      v-if="showPage == 1"
+      v-show="showPage == 1"
       ref="pageRef"
       :operation="operation()"
       :optionsEvensGroup="optionsEvensGroup"
-      :getList="getList"
+      :getList="getList2"
       :exportList="exportList"
       :tableAttributes="tableAttributes"
       :tableEvents="tableEvents"
@@ -13,17 +13,17 @@
       :fieldBeansHook="fieldBeansHook"
     >
     </template-page>
-    <div class="app-container" v-else-if="showPage == 2">
-      <DepositListDetail />
+    <div class="app-container" v-if="showPage == 2">
+      <DepositListDetail @updateList="updateList" />
     </div>
     <div class="app-container" v-else-if="showPage == 3">
-      <DepositApplyDeduction />
+      <DepositApplyDeduction @updateList="updateList" />
     </div>
     <div class="app-container" v-else-if="showPage == 4">
-      <DepositApplySurrender />
+      <DepositApplySurrender @updateList="updateList" />
     </div>
     <div class="app-container" v-else-if="showPage == 5">
-      <deposit_replenish />
+      <deposit_replenish @updateList="updateList" />
     </div>
   </div>
 </template>
@@ -47,7 +47,6 @@ export default {
     deposit_replenish,
     TemplatePage
   },
-  mixins: [Mixin],
   data() {
     return {
       currentPage: 1, // 当前页码
@@ -185,6 +184,9 @@ export default {
     }
   },
   methods: {
+    updateList() {
+      this.$refs.pageRef.refreshList()
+    },
     fieldBeansHook(list) {
       if (this.isCustomer) {
         var newlist = [...list]
@@ -199,7 +201,7 @@ export default {
       return list
     },
     // 列表请求函数
-    getList: depositManageHomeList,
+    getList2: depositManageHomeList,
     // 列表导出函数
     exportList: depositManageHomeListExport,
     // 表格列解析渲染数据更改

+ 2 - 2
src/views/deposit_home/refund_list.vue

@@ -1,7 +1,7 @@
 <template>
   <div style="width: 100%; height: 100%">
     <template-page
-      v-if="showSurrender == 0"
+      v-show="showSurrender == 0"
       ref="pageRef"
       :operation="operation()"
       :optionsEvensGroup="optionsEvensGroup"
@@ -12,7 +12,7 @@
       :columnParsing="columnParsing"
     >
     </template-page>
-    <div class="app-container" v-else-if="showSurrender == 1">
+    <div class="app-container" v-if="showSurrender == 1">
       <refund-list-detail :detail-id="detailId" @updateList="updateList" />
     </div>
     <div class="app-container" v-else-if="showSurrender == 2">