Browse Source

fix:退款管理查看问题修改

lazy 7 months ago
parent
commit
e4fc572f78

+ 6 - 1
src/views/refundManage/components/refundApplyContent.vue

@@ -160,7 +160,12 @@ export default {
         {
           label: '入账标签',
           prop: 'label',
-          showTooltip: true
+          render: (h, row) => {
+            if (row.label === '' || row.label === null) {
+              return (h('div', ''))
+            }
+            return row.label === 1 ? (h('div', '上游回购')) : (h('div', '下游回款'))
+          }
         },
         {
           label: '金额类型',

+ 6 - 6
src/views/refundManage/components/refundViewContent.vue

@@ -3,9 +3,9 @@
     <div v-if="advanceViewList.length" class="view-steps-box">
       <cy-steps :steps-data="advanceViewList"></cy-steps>
     </div>
-    <div v-loading="loading" class="tempalte-content">
+    <div v-loading="loading">
       <el-collapse v-if="advanceViewList.length" v-model="activeNames" @change="handleChange">
-        <el-collapse-item v-for="(item, index) in advanceViewList" :key="index" :name="index">
+        <el-collapse-item v-for="(item, index) in advanceViewList" :id="index" :key="index" :name="index">
           <template slot="title">
             <cy-view-bar
               :view-bar-data="{ ...item.businessProcessingLogVo, formBusinessName: item.formBusinessName, index: index + 1 }"
@@ -17,18 +17,21 @@
           <!-- <supplier-enterprise v-if="item.formBusinessName === '供应商C端录入' && !item.obj.constructionIndustry" :deatails-info="item.obj" :disabled="true"></supplier-enterprise> -->
         </el-collapse-item>
       </el-collapse>
-      <!-- <el-empty v-else style="height: calc(100vh - 0.85rem - 90px)"></el-empty> -->
+      <el-empty v-else></el-empty>
     </div>
   </div>
 </template>
 
 <script>
 import { doBusinessHistoryView } from '@/api/dictionary'
+import collapseMix from '@/mixins/collapseSeeMix'
+
 export default {
   components: {
     refundApplyContent: () => import('./refundApplyContent'),
     refundApproveContent: () => import('./reFundApproveContent')
   },
+  mixins: [collapseMix],
   provide() {
     return {
       disabled: true
@@ -46,9 +49,6 @@ export default {
     this.featchData()
   },
   methods: {
-    handleChange(val) {
-      // console.log(val);
-    },
     featchData() {
       this.loading = true
       const { id } = this.$route.params

File diff suppressed because it is too large
+ 8493 - 5423
yarn.lock