Commit e6971da9 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

🐞 fix(采购报价): 修改bug

parent 8cfe7028
......@@ -200,8 +200,8 @@ const AddedMarketing = () => {
detail='新增营销活动'
tabLink={[
{ id: 'basicInfoLayout', title: '基本信息' },
{ id: 'rulesLayout', title: '活动规则' },
{ id: 'shopLayout', title: '适用商城' },
{ id: 'rulesLayout', title: '活动规则' },
{ id: 'activityProductLayout', title: '活动商品' },
{ id: 'partakeUserLayout', title: '参与用户' },
]}
......@@ -227,8 +227,8 @@ const AddedMarketing = () => {
}}
>
<BasicInfoLayout form={form} focus$={focus$} />
<RulesLayout form={form} focus$={focus$} />
<ShopLayout onGetShopList={handleGetShopList} onSetShopList={shopList} />
<RulesLayout form={form} focus$={focus$} />
<ProductListLayout activityId={activityId && { activityId: activityId }} form={form} focus$={focus$} shopIdList={shopIdList} fieldApi={PublicApi.getMarketingMerchantActivityDetailGoodsPage} />
<PartakeUserLayout onGetLevel={handleGetLevel} onSetLevel={memberLevelList} setMemberType={memberType} />
</Form>
......
......@@ -52,7 +52,6 @@ const OfferExplain: React.FC<IProps> = (props: any) => {
const handleHidden = () => {
let flag: boolean = false;
console.log(checkRound, round, 123)
if (checkRound !== round) {
flag = true
}
......
......@@ -334,12 +334,12 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
const handleRadioGroup = (e) => {
const params = { ...data };
const { value } = e.target;
const { value} = e.target;
const index = e.target['data-index'];
setIdx(index);
setCount(value);
if (!params[index]) {
const isTurn = value === 1 ? 1 : value - 1
const isTurn = value === 1 ? 1 : index === 0 ? value - 1 : value;
fetchTableData(isTurn, index)
/** 返回给兄弟 */
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment