|
|
@@ -97,7 +97,13 @@
|
|
|
</a-select> -->
|
|
|
<a-select class="inlineFormSelect ml5"
|
|
|
style="width: 135px"
|
|
|
- placeholder="请选择商品"></a-select>
|
|
|
+ placeholder="请选择商品">
|
|
|
+ <a-select-option v-for="item in goodsGroup"
|
|
|
+ :value="item.goodsgroupid"
|
|
|
+ :key="item.goodsgroupid">
|
|
|
+ {{item.goodsgroupname}}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
<a-select class="inlineFormSelect ml5"
|
|
|
style="width: 135px"
|
|
|
placeholder="请选择合约"></a-select>
|
|
|
@@ -139,6 +145,8 @@ import { validateAction } from '@/common/setup/form';
|
|
|
import { ListingForm } from './interface';
|
|
|
import { getMarketRunByTradeMode } from '@/services/bus/market';
|
|
|
import { message } from 'ant-design-vue';
|
|
|
+import { getGoodsGroupsByTradeMode } from '@/services/bus/goods';
|
|
|
+import { TradeMode } from '@/common/constants/enumCommon';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: ModalEnum.spot_warrant_spot_details_listed,
|
|
|
@@ -156,7 +164,7 @@ export default defineComponent({
|
|
|
const { rules, formState, formRef } = handlePasswordForm(props.selectedRow);
|
|
|
const data = props.selectedRow;
|
|
|
const loading = ref<boolean>(false);
|
|
|
-
|
|
|
+ const goodsGroup = getGoodsGroupsByTradeMode(TradeMode.quote99);
|
|
|
function submit() {
|
|
|
const marketInfo = getMarketRunByTradeMode(17);
|
|
|
if (marketInfo) {
|
|
|
@@ -218,6 +226,7 @@ export default defineComponent({
|
|
|
rules,
|
|
|
formState,
|
|
|
formRef,
|
|
|
+ goodsGroup,
|
|
|
};
|
|
|
},
|
|
|
});
|