huangbin пре 4 година
родитељ
комит
9018d62965
64 измењених фајлова са 246 додато и 239 уклоњено
  1. BIN
      src/assets/images/wrLogo.jpg
  2. 22 23
      src/common/components/drawer/index.vue
  3. 3 1
      src/common/setup/modal/modal.ts
  4. 3 3
      src/views/business/plan/components/add/index.vue
  5. 1 1
      src/views/business/plan/components/audit/index.vue
  6. 1 1
      src/views/business/plan/components/cancel/index.vue
  7. 1 1
      src/views/business/plan/components/delete/index.vue
  8. 1 1
      src/views/business/plan/components/detail/index.vue
  9. 1 1
      src/views/business/plan/components/modify/index.vue
  10. 1 1
      src/views/business/purchase/components/detail/index.vue
  11. 1 1
      src/views/business/purchase/components/funds/index.vue
  12. 1 1
      src/views/business/purchase/components/invoice/index.vue
  13. 1 1
      src/views/business/purchase/components/settlement/index.vue
  14. 1 1
      src/views/business/purchase/components/someprice/index.vue
  15. 1 1
      src/views/business/purchase/components/storage/index.vue
  16. 1 1
      src/views/business/sell/components/detail/index.vue
  17. 1 1
      src/views/business/sell/components/funds/index.vue
  18. 1 1
      src/views/business/sell/components/invoice/index.vue
  19. 1 1
      src/views/business/sell/components/settlement/index.vue
  20. 1 1
      src/views/business/sell/components/someprice/index.vue
  21. 1 1
      src/views/business/sell/components/storage/index.vue
  22. 1 1
      src/views/information/account_info/compoments/add-business/index.vue
  23. 1 1
      src/views/information/account_info/compoments/cancel-business/index.vue
  24. 1 1
      src/views/information/account_info/compoments/detail-business/index.vue
  25. 1 1
      src/views/information/account_info/compoments/locked-business/index.vue
  26. 1 1
      src/views/information/account_info/compoments/modify-business/index.vue
  27. 1 1
      src/views/information/account_info/compoments/reset-business/index.vue
  28. 1 1
      src/views/information/account_info/compoments/unlocked-business/index.vue
  29. 1 1
      src/views/information/spot-contract/components/add/index.vue
  30. 1 1
      src/views/information/spot-contract/components/cancel/index.vue
  31. 1 1
      src/views/information/spot-contract/components/check/index.vue
  32. 1 1
      src/views/information/spot-contract/components/delete/index.vue
  33. 8 8
      src/views/information/spot-contract/components/detail/index.vue
  34. 1 1
      src/views/information/spot-contract/components/finish/index.vue
  35. 1 1
      src/views/information/spot-contract/components/modify/index.vue
  36. 1 1
      src/views/market/spot_trade/components/buy-sell-market/components/delisting/index.vue
  37. 32 22
      src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/components/choose-finance/index.vue
  38. 9 11
      src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/index.vue
  39. 1 0
      src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/interface.ts
  40. 2 1
      src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/setup.ts
  41. 1 1
      src/views/market/spot_trade/components/buy-sell-market/index.vue
  42. 67 63
      src/views/market/spot_trade/components/detail/index.vue
  43. 1 1
      src/views/market/spot_trade/components/post_buying/index.vue
  44. 23 29
      src/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_floating_price/index.vue
  45. 22 24
      src/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_price/index.vue
  46. 1 1
      src/views/order/performance_information/components/performance_information_buy_performance/components/breach_contract/index.vue
  47. 1 1
      src/views/order/performance_information/components/performance_information_buy_performance/components/detail/index.vue
  48. 1 1
      src/views/order/performance_information/components/performance_information_buy_performance/components/extension/index.vue
  49. 1 1
      src/views/order/performance_information/components/performance_information_buy_performance/components/pay/index.vue
  50. 1 1
      src/views/order/performance_information/components/performance_information_sell_performance/components/breach_contract/index.vue
  51. 1 1
      src/views/order/performance_information/components/performance_information_sell_performance/components/detail/index.vue
  52. 1 1
      src/views/order/performance_information/components/performance_information_sell_performance/components/extension/index.vue
  53. 1 1
      src/views/order/performance_information/components/performance_information_sell_performance/components/pay/index.vue
  54. 1 1
      src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_order_summary/components/listed/index.vue
  55. 1 1
      src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_pending_order/components/cancle/index.vue
  56. 3 3
      src/views/order/spot_warran/components/spot_warrant_pending_order/components/cancle/index.vue
  57. 1 1
      src/views/order/spot_warran/components/spot_warrant_spot_details/components/listing/index.vue
  58. 1 1
      src/views/order/spot_warran/components/spot_warrant_spot_details/components/pick_up/index.vue
  59. 1 1
      src/views/platinum/platinum_agreement/compoments/add/index.vue
  60. 1 1
      src/views/platinum/platinum_agreement/compoments/delete/index.vue
  61. 1 1
      src/views/platinum/platinum_agreement/compoments/detail/index.vue
  62. 1 1
      src/views/platinum/platinum_agreement/compoments/modify/index.vue
  63. 1 1
      src/views/platinum/platinum_agreement/compoments/resume/index.vue
  64. 1 1
      src/views/platinum/platinum_agreement/compoments/stop/index.vue

BIN
src/assets/images/wrLogo.jpg


+ 22 - 23
src/common/components/drawer/index.vue

@@ -1,26 +1,25 @@
 <template>
-    <a-drawer
-        :placement="placement"
-        :closable="false"
-        :visible="visible"
-        :destroyOnClose="true"
-        class="bottomListed"
-        height="406px"
-    >
-        <!-- 摘牌是top  挂牌是bottom 期货交易是tradeDialog -->
-        <div class="collapse" @click="cancel">
-            <DoubleRightOutlined />
-        </div>
-        <div class="collapseCont">
-            <div class="title">{{ title }}</div>
-            <div class="content highContent">
-                <!-- <Listed></Listed> -->
-                <!-- <Delisting></Delisting> -->
-                <slot></slot>
-                <!-- <Trade></Trade> -->
-            </div>
-        </div>
-    </a-drawer>
+  <a-drawer :placement="placement"
+            :closable="false"
+            :visible="visible"
+            :destroyOnClose="true"
+            class="bottomListed"
+            height="406px">
+    <!-- 摘牌是top  挂牌是bottom 期货交易是tradeDialog -->
+    <div class="collapse"
+         @click="cancel">
+      <DoubleRightOutlined />
+    </div>
+    <div class="collapseCont">
+      <div class="title">{{ title }}</div>
+      <div class="content highContent">
+        <!-- <Listed></Listed> -->
+        <!-- <Delisting></Delisting> -->
+        <slot></slot>
+        <!-- <Trade></Trade> -->
+      </div>
+    </div>
+  </a-drawer>
 </template>
 
 <script lang="ts">
@@ -34,7 +33,7 @@ import { DoubleRightOutlined } from '@ant-design/icons-vue';
 
 export default defineComponent({
     name: 'drawer',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         modalName: {
             default: 'drawer',

+ 3 - 1
src/common/setup/modal/modal.ts

@@ -53,7 +53,9 @@ export function openModal(modelName: keyof ModalName, data?: any) {
 
 export type { ModalName };
 
-export function _closeModal(context: SetupContext<'cancel'[]>) {
+type emitFn = 'cancel' | 'update'
+
+export function _closeModal(context: SetupContext<emitFn[]>) {
     const visible = ref<boolean>(true);
     /**
      * 关闭弹窗

+ 3 - 3
src/views/business/plan/components/add/index.vue

@@ -162,7 +162,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'add-custom',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     setup(props, context) {
         const { visible, cancel } = _closeModal(context);
         const loading = ref<boolean>(false);
@@ -195,8 +195,8 @@ export default defineComponent({
                     AreaUserID: userid,
                     Remark: param.Remark,
                 };
-                if ( param.ConvertFactor) reqParam.ConvertFactor = param.ConvertFactor
-                if ( param.Tradeuserid) reqParam.Tradeuserid = param.Tradeuserid
+                if (param.ConvertFactor) reqParam.ConvertFactor = param.ConvertFactor;
+                if (param.Tradeuserid) reqParam.Tradeuserid = param.Tradeuserid;
                 requestResultLoadingAndInfo(hedgePlanReq, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['提交申请成功', '提交申请失败:']).then(() => {
                     cancel(true);
                 });

+ 1 - 1
src/views/business/plan/components/audit/index.vue

@@ -109,7 +109,7 @@ import { getLongTypeLoginID } from '@/services/bus/login';
 import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'plan_audit_audit',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3HedgePlan>,

+ 1 - 1
src/views/business/plan/components/cancel/index.vue

@@ -101,7 +101,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'plan_audit_cancel',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3HedgePlan>,

+ 1 - 1
src/views/business/plan/components/delete/index.vue

@@ -126,7 +126,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'plan_uncommitted_delete',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3HedgePlan>,

+ 1 - 1
src/views/business/plan/components/detail/index.vue

@@ -118,7 +118,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'plan-detail',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3HedgePlan>,

+ 1 - 1
src/views/business/plan/components/modify/index.vue

@@ -164,7 +164,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'plan_uncommitted_modify',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3HedgePlan>,

+ 1 - 1
src/views/business/purchase/components/detail/index.vue

@@ -104,7 +104,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'purchase_pending-detail',
     components: {},
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/purchase/components/funds/index.vue

@@ -176,7 +176,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'purchase_pending_funds',
     components: {},
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/purchase/components/invoice/index.vue

@@ -144,7 +144,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'purchase_pending_invoice',
     components: {},
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/purchase/components/settlement/index.vue

@@ -321,7 +321,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'purchase_pending_settlement',
     components: {},
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/purchase/components/someprice/index.vue

@@ -165,7 +165,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'purchase_pending_someprice',
     components: {},
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/purchase/components/storage/index.vue

@@ -149,7 +149,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'purchase_pending_storage',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     components: {},
     props: {
         selectedRow: {

+ 1 - 1
src/views/business/sell/components/detail/index.vue

@@ -102,7 +102,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'sell-detail',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     components: {},
     props: {
         selectedRow: {

+ 1 - 1
src/views/business/sell/components/funds/index.vue

@@ -176,7 +176,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'sell_pending_funds',
     components: {},
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/sell/components/invoice/index.vue

@@ -143,7 +143,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'sell_pending_invoice',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/sell/components/settlement/index.vue

@@ -318,7 +318,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'sell_pending_settlement',
     components: {},
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/sell/components/someprice/index.vue

@@ -165,7 +165,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'sell_pending_someprice',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/business/sell/components/storage/index.vue

@@ -153,7 +153,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'sell_pending_storage',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3SellBuyContract>,

+ 1 - 1
src/views/information/account_info/compoments/add-business/index.vue

@@ -88,7 +88,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'add-business-info',
     components: {},
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         roleid: {
             default: 0,

+ 1 - 1
src/views/information/account_info/compoments/cancel-business/index.vue

@@ -36,7 +36,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'account_info_business_btn_cancel',
     components: { Detail },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             default: {},

+ 1 - 1
src/views/information/account_info/compoments/detail-business/index.vue

@@ -27,7 +27,7 @@ export default defineComponent({
     components: {
         Detail,
     },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<ErmcpLoginUser>,

+ 1 - 1
src/views/information/account_info/compoments/locked-business/index.vue

@@ -30,7 +30,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'account_info_business_btn_locked',
     components: { Detail },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             default: {},

+ 1 - 1
src/views/information/account_info/compoments/modify-business/index.vue

@@ -81,7 +81,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'account_info_business_btn_modify',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     components: {},
     props: {
         selectedRow: {

+ 1 - 1
src/views/information/account_info/compoments/reset-business/index.vue

@@ -65,7 +65,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'account_info_business_btn_reset',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             default: {},

+ 1 - 1
src/views/information/account_info/compoments/unlocked-business/index.vue

@@ -30,7 +30,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'account_info_business_btn_unlocked',
     components: { Detail },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             default: {},

+ 1 - 1
src/views/information/spot-contract/components/add/index.vue

@@ -440,7 +440,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'add-spot-contract',
     components: { UploadImg },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3ContractRsp>,

+ 1 - 1
src/views/information/spot-contract/components/cancel/index.vue

@@ -35,7 +35,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'spot-contract-detail',
     components: { InfoDetail },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3ContractRsp>,

+ 1 - 1
src/views/information/spot-contract/components/check/index.vue

@@ -132,7 +132,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'spot-contract-detail',
     components: { Detail },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3ContractRsp>,

+ 1 - 1
src/views/information/spot-contract/components/delete/index.vue

@@ -35,7 +35,7 @@ export default defineComponent({
     components: {
         InfoDetail,
     },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3ContractRsp>,

+ 8 - 8
src/views/information/spot-contract/components/detail/index.vue

@@ -53,14 +53,14 @@
           <a>{{ InOutTypeName(text) }}</a>
         </template>
 
-                <!-- 款项类型 -->
-                <template #kxtype="{ text }">
-                    <a>{{ kxtypeName(text) }}</a>
-                </template>
+        <!-- 款项类型 -->
+        <template #kxtype="{ text }">
+          <a>{{ kxtypeName(text) }}</a>
+        </template>
 
-            </a-table>
-        </div>
-    </a-modal>
+      </a-table>
+    </div>
+  </a-modal>
 </template>
 
 <script lang="ts">
@@ -83,7 +83,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: 'spot-contract-detail',
     components: { InfoDetail },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3ContractRsp>,

+ 1 - 1
src/views/information/spot-contract/components/finish/index.vue

@@ -33,7 +33,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'spot-contract-finish',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     components: { InfoDetail },
     props: {
         selectedRow: {

+ 1 - 1
src/views/information/spot-contract/components/modify/index.vue

@@ -431,7 +431,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
     name: 'spot_contract_btn_modify',
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<Ermcp3ContractRsp>,

+ 1 - 1
src/views/market/spot_trade/components/buy-sell-market/components/delisting/index.vue

@@ -148,7 +148,7 @@ import { EnumRouterName } from '@/common/constants/enumRouterName';
 export default defineComponent({
     name: ModalEnum.spot_trade_warehouse_financing_delisting,
     components: { Drawer, PlusOutlined, MinusOutlined },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         enumName: {
             default: '',

+ 32 - 22
src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/components/choose-finance/index.vue

@@ -14,29 +14,33 @@
         <a-col :span="10">天数/保证金/利息</a-col>
         <a-col :span="7">结息/起息天数</a-col>
       </a-row>
-      <div class="contBar">
+      <div class="contBar"
+           v-for="(item, index) in list"
+           :key="index + 11"
+           @click="choose(item)">
         <a-row class="firstRow">
-          <a-col :span="7">铜供应链金融</a-col>
-          <a-col :span="17">放款快</a-col>
+          <a-col :span="7">{{item.productname}}</a-col>
+          <a-col :span="17"
+                 v-if="item.isautoloan">放款快</a-col>
         </a-row>
         <a-row class="secondRow">
-          <a-col :span="7">铜杆帮你采</a-col>
+          <a-col :span="7">{{item.username}}</a-col>
           <a-col :span="10">
             <a-row class="middle">
-              <a-col :span="7">30天</a-col>
-              <a-col :span="10">30%</a-col>
-              <a-col :span="7">11%</a-col>
+              <a-col :span="7">{{item.financingdays}}天</a-col>
+              <a-col :span="10">{{item.marginratio * 100}}%</a-col>
+              <a-col :span="7">{{item.interestrate * 100}}%</a-col>
             </a-row>
           </a-col>
           <a-col :span="7">
             <div class="settle">
-              <div>日结</div>
-              <div>1天起息</div>
+              <div>{{item.interestsettlemode === 1 ? '' : '月'}}结</div>
+              <div>{{item.interestminlen}}天起息</div>
             </div>
           </a-col>
         </a-row>
       </div>
-      <div class="contBar">
+      <!-- <div class="contBar">
         <a-row class="firstRow">
           <a-col :span="7">铜供应链金融</a-col>
           <a-col :span="17">放款快</a-col>
@@ -79,7 +83,7 @@
             </div>
           </a-col>
         </a-row>
-      </div>
+      </div> -->
     </div>
   </Drawer>
 </template>
@@ -88,9 +92,9 @@
 import { PlusOutlined, MinusOutlined } from '@ant-design/icons-vue';
 import { defineComponent, PropType, ref } from 'vue';
 import Drawer from '@/common/components/drawer/index.vue';
-import { WrOrderQuote, WrOrderQuoteDetail } from '@/services/go/wrtrade/interface';
+import { WrFAProductDetail, WrOrderQuote, WrOrderQuoteDetail } from '@/services/go/wrtrade/interface';
 import { getAccountTypeList, getSelectedAccountId, getUserId } from '@/services/bus/account';
-import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
+import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
 import { HdWRDealOrder } from '@/services/proto/warehousetrade';
 import { v4 as uuidv4 } from 'uuid';
 import moment from 'moment';
@@ -99,34 +103,40 @@ import { HdWRDealOrderReq } from '@/services/proto/warehousetrade/interface';
 import { _closeModal } from '@/common/setup/modal/modal';
 import { validateAction } from '@/common/setup/form';
 import { EnumRouterName } from '@/common/constants/enumRouterName';
+import { queryFaProductDetail } from '@/services/go/wrtrade';
 export default defineComponent({
     name: ModalEnum.spot_trade_warehouse_delisting,
     components: { Drawer, PlusOutlined, MinusOutlined },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
-        enumName: {
-            default: '',
-            type: String as PropType<EnumRouterName>,
-        },
         selectedRow: {
             type: Object as PropType<WrOrderQuoteDetail>,
             default: {},
         },
-        parantSelectedRow: {
-            type: Object as PropType<WrOrderQuote>,
-            default: {},
-        },
     },
 
     setup(props, context) {
         const { visible, cancel } = _closeModal(context);
+        const list = ref<WrFAProductDetail[]>([]);
+        const loading = ref<boolean>(false);
+        queryResultLoadingAndInfo(queryFaProductDetail, loading, { wrfactortypeid: props.selectedRow.wrtradeorderid }).then((res) => {
+            list.value = res;
+        });
+        queryFaProductDetail;
         function update() {
             cancel();
             context.emit('cancel');
         }
+        function choose(item: WrFAProductDetail) {
+            cancel();
+            context.emit('update', item);
+        }
         return {
             visible,
             update,
+            choose,
+            loading,
+            list,
         };
     },
 });

+ 9 - 11
src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/index.vue

@@ -90,7 +90,7 @@
                            @click="openComponent({code: 'ChooseFinance'})"
                            name="case">
                 <div class="way">
-                  <div class="left">铜供应链金融-铜杆帮你采-30天-10%-11%-按日结息-1天起息</div>
+                  <div class="left">{{formState.case}}</div>
                   <div class="right">
                     <svg class="icon svg-icon"
                          aria-hidden="true">
@@ -131,33 +131,27 @@
   <component :is="componentId"
              v-if="componentId"
              :selectedRow="selectedRow"
+             @update="choose"
              @cancel="closeComponent">
   </component>
 </template>
 
 <script lang="ts">
-import { PlusOutlined, MinusOutlined } from '@ant-design/icons-vue';
 import { defineAsyncComponent, defineComponent, PropType, ref } from 'vue';
 import Drawer from '@/common/components/drawer/index.vue';
 import { WrOrderQuote, WrOrderQuoteDetail } from '@/services/go/wrtrade/interface';
-import { getAccountTypeList, getSelectedAccountId, getUserId } from '@/services/bus/account';
-import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
-import { HdWRDealOrder } from '@/services/proto/warehousetrade';
-import { v4 as uuidv4 } from 'uuid';
-import moment from 'moment';
+import { getAccountTypeList } from '@/services/bus/account';
 import { ModalEnum } from '@/common/constants/modalNameEnum';
-import { HdWRDealOrderReq } from '@/services/proto/warehousetrade/interface';
 import { _closeModal } from '@/common/setup/modal/modal';
 import { handleForm, handleIs, handleSpotWarrant } from './setup';
-import { validateAction } from '@/common/setup/form';
-import { ListingForm } from './interface';
 import { BuyOrSell } from '@/common/constants/enumCommon';
 import { EnumRouterName } from '@/common/constants/enumRouterName';
 import { handleModalComponent } from '@/common/setup/asyncComponent';
+import { WrFAProductDetail } from '@/services/go/wrtrade/interface';
 export default defineComponent({
     name: ModalEnum.spot_trade_warehouse_delisting,
     components: { Drawer, ChooseFinance: defineAsyncComponent(() => import('./components/choose-finance/index.vue')) },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         enumName: {
             default: '',
@@ -193,6 +187,9 @@ export default defineComponent({
         function showAction() {
             show.value = !show.value;
         }
+        function choose(item: WrFAProductDetail) {
+            formState.case = `${item.productname}-${item.username}-${item.financingdays}天-${item.marginratio * 100}%-${item.interestrate * 100}%-${item.interestsettlemode === 1 ? '按日结息' : '按月结息'}-${item.interestminlen}天起息`;
+        }
         function submit() {
             // validateAction<ListingForm>(formRef, formState).then((res) => {
             //     // 首先确定  这是仓单贸易的有仓单挂摘牌 HasWr = 1
@@ -233,6 +230,7 @@ export default defineComponent({
         return {
             visible,
             cancel,
+            choose,
             accountList,
             wrHoldList,
             submit,

+ 1 - 0
src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/interface.ts

@@ -3,6 +3,7 @@ export interface ListingForm {
     num: number,
     LadingBillId: string,
     case: string,
+    caseId: string,
 }
 
 export interface Wrhold {

+ 2 - 1
src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/setup.ts

@@ -12,7 +12,8 @@ export function handleForm(data: WrOrderQuoteDetail) {
         accountid: undefined,
         num: 0,
         LadingBillId: '',
-        case: ''
+        case: '',
+        caseId: ''
     })
     const rules = {
         accountid: [{ required: true, message: '请选择交易账户' }],

+ 1 - 1
src/views/market/spot_trade/components/buy-sell-market/index.vue

@@ -106,7 +106,7 @@ import { getQuoteDayInfoByCode } from '@/services/bus/goods';
 import TimerUtils from '@/utils/timer/timerUtil';
 
 export default defineComponent({
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     name: 'buy-sell-market',
     props: {
         selectedRow: {

+ 67 - 63
src/views/market/spot_trade/components/detail/index.vue

@@ -1,68 +1,72 @@
 <template>
-    <!-- 买卖大厅详情 -->
-    <Drawer :title="'详情'" :placement="'top'" :visible="visible" class="top" @cancel="cancel">
-        <div class="detailCont">
-            <div class="rows">
-                <div class="row">
-                    <div class="left">品种</div>
-                    <div class="right">螺纹钢</div>
-                </div>
-                <div class="row">
-                    <div class="left">品类</div>
-                    <div class="right">直径12mm</div>
-                </div>
-                <div class="row">
-                    <div class="left">品牌</div>
-                    <div class="right">江铜</div>
-                </div>
-                <div class="row">
-                    <div class="left">仓库</div>
-                    <div class="right">华南仓库</div>
-                </div>
-                <div class="row">
-                    <div class="left">产地</div>
-                    <div class="right">云南</div>
-                </div>
-                <div class="row">
-                    <div class="left">含铜量</div>
-                    <div class="right">99%</div>
-                </div>
+  <!-- 买卖大厅详情 -->
+  <Drawer :title="'详情'"
+          :placement="'top'"
+          :visible="visible"
+          class="top"
+          @cancel="cancel">
+    <div class="detailCont">
+      <div class="rows">
+        <div class="row">
+          <div class="left">品种</div>
+          <div class="right">螺纹钢</div>
+        </div>
+        <div class="row">
+          <div class="left">品类</div>
+          <div class="right">直径12mm</div>
+        </div>
+        <div class="row">
+          <div class="left">品牌</div>
+          <div class="right">江铜</div>
+        </div>
+        <div class="row">
+          <div class="left">仓库</div>
+          <div class="right">华南仓库</div>
+        </div>
+        <div class="row">
+          <div class="left">产地</div>
+          <div class="right">云南</div>
+        </div>
+        <div class="row">
+          <div class="left">含铜量</div>
+          <div class="right">99%</div>
+        </div>
+      </div>
+      <div class="ruleTitle">履约规则:</div>
+      <div class="rulesCont">
+        <a-row>
+          <a-col :span="12">
+            <div class="line">
+              <div class="no">1</div>
+              <div class="name">买方30%货款</div>
+              <div class="time">T+30</div>
             </div>
-            <div class="ruleTitle">履约规则:</div>
-            <div class="rulesCont">
-                <a-row>
-                    <a-col :span="12">
-                        <div class="line">
-                            <div class="no">1</div>
-                            <div class="name">买方30%货款</div>
-                            <div class="time">T+30</div>
-                        </div>
-                    </a-col>
-                    <a-col :span="12">
-                        <div class="line">
-                            <div class="no">2</div>
-                            <div class="name">卖方发货</div>
-                            <div class="time">T+3</div>
-                        </div>
-                    </a-col>
-                    <a-col :span="12">
-                        <div class="line">
-                            <div class="no">3</div>
-                            <div class="name">买方70%货款</div>
-                            <div class="time">T+10</div>
-                        </div>
-                    </a-col>
-                    <a-col :span="12">
-                        <div class="line">
-                            <div class="no">4</div>
-                            <div class="name">卖方开票</div>
-                            <div class="time">T+1</div>
-                        </div>
-                    </a-col>
-                </a-row>
+          </a-col>
+          <a-col :span="12">
+            <div class="line">
+              <div class="no">2</div>
+              <div class="name">卖方发货</div>
+              <div class="time">T+3</div>
             </div>
-        </div>
-    </Drawer>
+          </a-col>
+          <a-col :span="12">
+            <div class="line">
+              <div class="no">3</div>
+              <div class="name">买方70%货款</div>
+              <div class="time">T+10</div>
+            </div>
+          </a-col>
+          <a-col :span="12">
+            <div class="line">
+              <div class="no">4</div>
+              <div class="name">卖方开票</div>
+              <div class="time">T+1</div>
+            </div>
+          </a-col>
+        </a-row>
+      </div>
+    </div>
+  </Drawer>
 </template>
 
 <script lang="ts">
@@ -81,7 +85,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 export default defineComponent({
     name: ModalEnum.spot_trade_warehouse_delisting,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/market/spot_trade/components/post_buying/index.vue

@@ -116,7 +116,7 @@ import { FormParam } from './interface';
 import { EnumRouterName } from '@/common/constants/enumRouterName';
 
 export default defineComponent({
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     name: ModalEnum.spot_trade_warehouse_post_buying,
     components: { Des, Drawer, PlusOutlined, MinusOutlined },
     props: {

+ 23 - 29
src/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_floating_price/index.vue

@@ -1,39 +1,33 @@
 <template>
-    <!-- 仓单预售 浮动价预售-->
-    <div class="topTableHeight">
-        <a-table
-            :columns="columns"
-            class="srcollYTable"
-            :scroll="{ x: '100%', y: 'calc(100vh - 479px)' }"
-            :pagination="false"
-            :loading="loading"
-            :expandedRowKeys="expandedRowKeys"
-            :customRow="Rowclick"
-            rowKey="key"
-            :data-source="tableList"
-        ></a-table>
-        <!-- 右键 -->
-        <contextMenu :contextMenu="contextMenu" @cancel="closeContext" :list="firstBtn"></contextMenu>
-        <component
-            :is="componentId"
-            v-if="componentId"
-            :enumName="name"
-            :selectedRow="selectedRow"
-            @cancel="closeComponent"
-        ></component>
-    </div>
+  <!-- 仓单预售 浮动价预售-->
+  <div class="topTableHeight">
+    <a-table :columns="columns"
+             class="srcollYTable"
+             :scroll="{ x: '100%', y: 'calc(100vh - 479px)' }"
+             :pagination="false"
+             :loading="loading"
+             :expandedRowKeys="expandedRowKeys"
+             :customRow="Rowclick"
+             rowKey="key"
+             :data-source="tableList"></a-table>
+    <!-- 右键 -->
+    <contextMenu :contextMenu="contextMenu"
+                 @cancel="closeContext"
+                 :list="firstBtn"></contextMenu>
+    <component :is="componentId"
+               v-if="componentId"
+               :enumName="name"
+               :selectedRow="selectedRow"
+               @cancel="closeComponent"></component>
+  </div>
 </template>
 
 <script lang="ts">
 import { EnumRouterName } from '@/common/constants/enumRouterName';
-import { queryTableList, BtnList, contextMenu, defineAsyncComponent, defineComponent, ModalEnum, ComposeTableParam } from '@/common/export/commonTable';
+import { queryTableList, contextMenu, defineAsyncComponent, defineComponent, ModalEnum, ComposeTableParam } from '@/common/export/commonTable';
 import { QueryOrderQuoteReq, WrOrderQuote } from '@/services/go/wrtrade/interface';
 import { queryOrderQuote } from '@/services/go/wrtrade';
 import { handleComposeTable } from '@/views/market/spot_trade/setup';
-import { subscribeInfoType } from '@/services/socket/quota/interface';
-import { v4 as uuidv4 } from 'uuid';
-import { addSubscribeQuotation } from '@/services/socket/quota';
-import { onMounted } from 'vue';
 
 export default defineComponent({
     name: EnumRouterName.warehouse_pre_sale_floating_price,
@@ -46,13 +40,13 @@ export default defineComponent({
     setup() {
         // 表格列表数据
         const { loading, tableList, queryTable } = queryTableList<WrOrderQuote>();
-        let uuid = uuidv4();
         // 获取列表数据
         const queryTableAction = () => {
             const param: QueryOrderQuoteReq = {
                 wrpricetype: 2,
                 haswr: 0,
             };
+            queryTable(queryOrderQuote, param);
         };
 
         // 表格通用逻辑

+ 22 - 24
src/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_price/index.vue

@@ -1,32 +1,30 @@
 <template>
-    <!-- 仓单预售 一口价预售-->
-    <div class="topTableHeight">
-        <a-table
-            :columns="columns"
-            class="srcollYTable"
-            :scroll="{ x: '100%', y: 'calc(100vh - 479px)' }"
-            :pagination="false"
-            :loading="loading"
-            :expandedRowKeys="expandedRowKeys"
-            :customRow="Rowclick"
-            rowKey="key"
-            :data-source="tableList"
-        ></a-table>
-        <!-- 右键 -->
-        <contextMenu :contextMenu="contextMenu" @cancel="closeContext" :list="firstBtn"></contextMenu>
-        <component
-            :is="componentId"
-            v-if="componentId"
-            :enumName="name"
-            :selectedRow="selectedRow"
-            @cancel="closeComponent"
-        ></component>
-    </div>
+  <!-- 仓单预售 一口价预售-->
+  <div class="topTableHeight">
+    <a-table :columns="columns"
+             class="srcollYTable"
+             :scroll="{ x: '100%', y: 'calc(100vh - 479px)' }"
+             :pagination="false"
+             :loading="loading"
+             :expandedRowKeys="expandedRowKeys"
+             :customRow="Rowclick"
+             rowKey="key"
+             :data-source="tableList"></a-table>
+    <!-- 右键 -->
+    <contextMenu :contextMenu="contextMenu"
+                 @cancel="closeContext"
+                 :list="firstBtn"></contextMenu>
+    <component :is="componentId"
+               v-if="componentId"
+               :enumName="name"
+               :selectedRow="selectedRow"
+               @cancel="closeComponent"></component>
+  </div>
 </template>
 
 <script lang="ts">
 import { EnumRouterName } from '@/common/constants/enumRouterName';
-import { queryTableList, BtnList, contextMenu, defineAsyncComponent, defineComponent, ModalEnum, ComposeTableParam } from '@/common/export/commonTable';
+import { queryTableList, contextMenu, defineAsyncComponent, defineComponent, ModalEnum, ComposeTableParam } from '@/common/export/commonTable';
 import { QueryOrderQuoteReq, WrOrderQuote } from '@/services/go/wrtrade/interface';
 import { queryOrderQuote } from '@/services/go/wrtrade';
 import { handleComposeTable } from '@/views/market/spot_trade/setup';

+ 1 - 1
src/views/order/performance_information/components/performance_information_buy_performance/components/breach_contract/index.vue

@@ -30,7 +30,7 @@ import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 export default defineComponent({
     name: ModalEnum.performance_information_buy_performance_breach_contract,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/performance_information/components/performance_information_buy_performance/components/detail/index.vue

@@ -30,7 +30,7 @@ import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 export default defineComponent({
     name: ModalEnum.performance_information_buy_performance_detail,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/performance_information/components/performance_information_buy_performance/components/extension/index.vue

@@ -30,7 +30,7 @@ import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 export default defineComponent({
     name: ModalEnum.performance_information_buy_performance_extension,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/performance_information/components/performance_information_buy_performance/components/pay/index.vue

@@ -30,7 +30,7 @@ import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 export default defineComponent({
     name: ModalEnum.performance_information_buy_performance_pay,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/performance_information/components/performance_information_sell_performance/components/breach_contract/index.vue

@@ -30,7 +30,7 @@ import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 export default defineComponent({
     name: ModalEnum.performance_information_sell_performance_breach_contract,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/performance_information/components/performance_information_sell_performance/components/detail/index.vue

@@ -30,7 +30,7 @@ import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 export default defineComponent({
     name: ModalEnum.performance_information_sell_performance_detail,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/performance_information/components/performance_information_sell_performance/components/extension/index.vue

@@ -30,7 +30,7 @@ import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 export default defineComponent({
     name: ModalEnum.performance_information_sell_performance_extension,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/performance_information/components/performance_information_sell_performance/components/pay/index.vue

@@ -30,7 +30,7 @@ import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 export default defineComponent({
     name: ModalEnum.performance_information_sell_performance_pay,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_order_summary/components/listed/index.vue

@@ -175,7 +175,7 @@ import Bus from '@/utils/eventBus';
 export default defineComponent({
     name: ModalEnum.spot_warrant_spot_details_listed,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrPosition>,

+ 1 - 1
src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_pending_order/components/cancle/index.vue

@@ -22,7 +22,7 @@ import { Modal } from 'ant-design-vue';
 export default defineComponent({
     name: ModalEnum.pre_sale_warehouse_receipt_pending_order_cancel_order,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrOrderDetail>,

+ 3 - 3
src/views/order/spot_warran/components/spot_warrant_pending_order/components/cancle/index.vue

@@ -1,6 +1,6 @@
 <template>
-    <!-- 现货仓单 现货明细 撤单 -->
-    <div></div>
+  <!-- 现货仓单 现货明细 撤单 -->
+  <div></div>
 </template>
 
 <script lang="ts">
@@ -22,7 +22,7 @@ import { Modal } from 'ant-design-vue';
 export default defineComponent({
     name: ModalEnum.spot_warrant_pending_order_cancel_order,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrOrderDetail>,

+ 1 - 1
src/views/order/spot_warran/components/spot_warrant_spot_details/components/listing/index.vue

@@ -163,7 +163,7 @@ import Bus from '@/utils/eventBus/index';
 export default defineComponent({
     name: ModalEnum.spot_warrant_spot_details_listed,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrHoldLB>,

+ 1 - 1
src/views/order/spot_warran/components/spot_warrant_spot_details/components/pick_up/index.vue

@@ -121,7 +121,7 @@ import { FormParam } from './interface';
 export default defineComponent({
     name: ModalEnum.spot_warrant_spot_details_pick_up,
     components: { Drawer },
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     props: {
         selectedRow: {
             type: Object as PropType<WrHoldLB>,

+ 1 - 1
src/views/platinum/platinum_agreement/compoments/add/index.vue

@@ -90,7 +90,7 @@ import { handleArgreementType } from '@/views/platinum/platinum_agreement/setup'
 import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     name: 'add-custom',
     components: {},
     setup(props, context) {

+ 1 - 1
src/views/platinum/platinum_agreement/compoments/delete/index.vue

@@ -74,7 +74,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 import { handleAgreementLog } from '@/views/platinum/platinum_agreement/compoments/setup';
 
 export default defineComponent({
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     name: 'detail',
     components: { Des },
     props: {

+ 1 - 1
src/views/platinum/platinum_agreement/compoments/detail/index.vue

@@ -65,7 +65,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 import { handleAgreementLog } from '../setup';
 
 export default defineComponent({
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     name: 'custom-detail',
     components: { Des },
     props: {

+ 1 - 1
src/views/platinum/platinum_agreement/compoments/modify/index.vue

@@ -76,7 +76,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 import { ModalEnum } from '@/common/constants/modalNameEnum';
 
 export default defineComponent({
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     name: ModalEnum.platinum_agreement_modify,
     components: {},
     props: {

+ 1 - 1
src/views/platinum/platinum_agreement/compoments/resume/index.vue

@@ -73,7 +73,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 import { handleAgreementLog } from '../setup';
 
 export default defineComponent({
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     name: 'custom-detail',
     components: { Des },
     props: {

+ 1 - 1
src/views/platinum/platinum_agreement/compoments/stop/index.vue

@@ -73,7 +73,7 @@ import { _closeModal } from '@/common/setup/modal/modal';
 import { handleAgreementLog } from '../setup';
 
 export default defineComponent({
-    emits: ['cancel'],
+    emits: ['cancel', 'update'],
     name: 'custom-detail',
     components: { Des },
     props: {