huangbin 4 年之前
父节点
当前提交
5adc5818c5
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/market/spot_trade/components/post_buying/index.vue

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

@@ -104,7 +104,7 @@ import Drawer from '@/common/components/drawer/index.vue';
 import { PlusOutlined, MinusOutlined } from '@ant-design/icons-vue';
 import { hdWROrder, wRListingCancelOrder } from '@/services/proto/warehousetrade';
 import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
-import {HdWROrderReq, WRGoodsInfo} from '@/services/proto/warehousetrade/interface';
+import { HdWROrderReq, WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
 import { getAccountTypeList, getInTaAccount, getUserId } from '@/services/bus/account';
 import { v4 as uuidv4 } from 'uuid';
 import moment from 'moment';
@@ -186,13 +186,13 @@ export default defineComponent({
                         Attachment2: '', // 附件2
                         Remark: '222', // 备注
                         ApplyID: 0, // 申请ID
-                        WRTradeGoods: isFixed()?[] : [wrGoodsInfo],
+                        WRTradeGoods: isFixed() ? [] : [wrGoodsInfo],
                         CanPart: 1, // 是否允许部份摘牌0:不允许;1:允许
                         WRStandardID: props.selectedRow.wrstandardid,
                         HasWr: 1, // 无仓单挂牌  是否有无仓单
                     };
                     requestResultLoadingAndInfo(hdWROrder, param, loading, ['求购成功', '求购失败:']).then(() => {
-                        cancel();
+                        cancel(true);
                     });
                 });
             }