|
|
@@ -1,7 +1,7 @@
|
|
|
import { TradeMode } from '@/common/constants/enumCommon';
|
|
|
import { validateCommon } from '@/common/setup/validate';
|
|
|
import { handleForm as useForm } from '@/common/setup/warehouse_receipt_trade/listing';
|
|
|
-import { getGoodsGroupsByTradeMode, getGoodsList, getQuoteDayInfoByCodeFindPrice } from '@/services/bus/goods';
|
|
|
+import { getGoodsGroupsByTradeMode, getIPOGoodsList, getQuoteDayInfoByCodeFindPrice } from '@/services/bus/goods';
|
|
|
import { getRules } from '@/services/bus/rules';
|
|
|
import { Goods } from "@/services/go/ermcp/goodsInfo/interface";
|
|
|
import { WrPosition } from "@/services/go/wrtrade/interface";
|
|
|
@@ -71,7 +71,7 @@ export function handleForm(data: WrPosition) {
|
|
|
const goodsList = ref<Goods[]>([])
|
|
|
export function handleGoods() {
|
|
|
const goodsGroup = getGoodsGroupsByTradeMode(TradeMode.quote99);
|
|
|
- const allGoods = getGoodsList()
|
|
|
+ const allGoods = getIPOGoodsList()
|
|
|
function groupsChange(id: number) {
|
|
|
goodsList.value = allGoods.filter(e => e.goodsgroupid === id)
|
|
|
}
|