|
@@ -117,6 +117,7 @@ import { handleForm } from './setup';
|
|
|
import { validateAction } from '@/common/setup/form';
|
|
import { validateAction } from '@/common/setup/form';
|
|
|
import { FormParam } from './interface';
|
|
import { FormParam } from './interface';
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
|
|
+import { getHasWR } from '../buy-sell-market/setup';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
emits: ['cancel', 'update'],
|
|
emits: ['cancel', 'update'],
|
|
@@ -187,13 +188,16 @@ export default defineComponent({
|
|
|
CanBargain: 0, // 挂牌是否可议价0:不可1:可-摘牌是否议价
|
|
CanBargain: 0, // 挂牌是否可议价0:不可1:可-摘牌是否议价
|
|
|
Attachment1: '', // 附件1
|
|
Attachment1: '', // 附件1
|
|
|
Attachment2: '', // 附件2
|
|
Attachment2: '', // 附件2
|
|
|
- Remark: '222', // 备注
|
|
|
|
|
|
|
+ Remark: '', // 备注
|
|
|
ApplyID: 0, // 申请ID
|
|
ApplyID: 0, // 申请ID
|
|
|
WRTradeGoods: isFixed() ? [] : [wrGoodsInfo],
|
|
WRTradeGoods: isFixed() ? [] : [wrGoodsInfo],
|
|
|
CanPart: 1, // 是否允许部份摘牌0:不允许;1:允许
|
|
CanPart: 1, // 是否允许部份摘牌0:不允许;1:允许
|
|
|
WRStandardID: props.selectedRow.wrstandardid,
|
|
WRStandardID: props.selectedRow.wrstandardid,
|
|
|
- HasWr: 1, // 无仓单挂牌 是否有无仓单
|
|
|
|
|
|
|
+ HasWr: getHasWR(props.enumName), // 无仓单挂牌 是否有无仓单
|
|
|
};
|
|
};
|
|
|
|
|
+ // if (!isFixed()) {
|
|
|
|
|
+ // Object.assign(param, { WRTradeGoods: [wrGoodsInfo] });
|
|
|
|
|
+ // }
|
|
|
requestResultLoadingAndInfo(hdWROrder, param, loading, ['求购成功', '求购失败:']).then(() => {
|
|
requestResultLoadingAndInfo(hdWROrder, param, loading, ['求购成功', '求购失败:']).then(() => {
|
|
|
cancel(true);
|
|
cancel(true);
|
|
|
});
|
|
});
|