huangbin 4 vuotta sitten
vanhempi
commit
52a4f99973
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 5 3
      src/views/platinum/platinum_agreement/list/tab/index.vue

+ 5 - 3
src/views/platinum/platinum_agreement/list/tab/index.vue

@@ -18,9 +18,9 @@
         <template #expandedRowRender="{  }">
           <BtnList :btnList="secondBtn" />
         </template>
-        <!-- 商品名称 - 商品代码-->
-        <template #goodsid="{ record }">
-          <a>{{ record.goodsname + "-" +  record.goodscode }}</a>
+        <!-- 协议类型-->
+        <template #agreementtype="{ record }">
+          <span>{{ getAgreementTypeName(record.agreementtype) }}</span>
         </template>
       </a-table>
     </contextMenu>
@@ -35,6 +35,7 @@ import { queryAgreementConfig } from '@/services/go/ermcp/qhj';
 import { QhjAgreementConfig } from '@/services/go/ermcp/qhj/interface';
 import Filter from '../../compoments/filter/index.vue';
 import ControlModal from '../../compoments/controlModal/index.vue';
+import { getAgreementTypeName } from '@/common/constants/enumsName';
 
 export default defineComponent({
     name: 'platinum_agreement_tab',
@@ -67,6 +68,7 @@ export default defineComponent({
             tableList,
             queryTable,
             btnClick,
+            getAgreementTypeName,
         };
     },
 });