Browse Source

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP2.0_WEB

huangbin 4 years ago
parent
commit
e0fa39d548
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/market/spot_trade/components/post_buying/index.vue

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

@@ -109,6 +109,8 @@ export default defineComponent({
         function submit() {
         function submit() {
             const marketInfo = getMarketRunByTradeMode(17);
             const marketInfo = getMarketRunByTradeMode(17);
             if (marketInfo) {
             if (marketInfo) {
+
+                // 只有有仓单的有求购  无仓单不能求购
                 const param = {
                 const param = {
                     AccountID: getInTaAccount(), // 默认内部资金账号第一个
                     AccountID: getInTaAccount(), // 默认内部资金账号第一个
                     ClientSerialNo: uuidv4(), // 客户端流水号
                     ClientSerialNo: uuidv4(), // 客户端流水号
@@ -149,8 +151,7 @@ export default defineComponent({
                     WRStandardID: props.selectedRow.wrstandardid,
                     WRStandardID: props.selectedRow.wrstandardid,
                     HasWr: 1, // 无仓单挂牌  是否有无仓单
                     HasWr: 1, // 无仓单挂牌  是否有无仓单
                 };
                 };
-                debugger;
-                requestResultLoadingAndInfo(hdWROrder, param, loading, ['挂牌成功', '挂牌失败:']).then(() => {
+                requestResultLoadingAndInfo(hdWROrder, param, loading, ['求购成功', '求购失败:']).then(() => {
                     cancel();
                     cancel();
                 });
                 });
             }
             }