diff --git a/src/pages/exchangecode/exchangecodeAdd/index.jsx b/src/pages/exchangecode/exchangecodeAdd/index.jsx index a26d7666..12bb8f6b 100644 --- a/src/pages/exchangecode/exchangecodeAdd/index.jsx +++ b/src/pages/exchangecode/exchangecodeAdd/index.jsx @@ -224,7 +224,8 @@ export default class exchangeAdd extends React.Component { getProductInfoSelectData(reseller_id) { return new Promise((resolve, reject) => { let param = { - reseller_id: reseller_id + reseller_id: reseller_id, + type: 1 } getProductInfoSelect(param).then((res) => { if (res.code === 200) { @@ -671,7 +672,8 @@ export default class exchangeAdd extends React.Component { this.setState({ product_title: "新增立减金", newGoldLoading: true }) } let param = { - reseller_id: direct_reseller_ids + reseller_id: direct_reseller_ids, + type: 1 } try { getProductInfoSelect(param).then((res) => { diff --git a/src/pages/plan/product/add.js b/src/pages/plan/product/add.js index f889944b..df813cef 100644 --- a/src/pages/plan/product/add.js +++ b/src/pages/plan/product/add.js @@ -574,6 +574,17 @@ export default class adduserinfo extends React.Component { return (
+ + { + this.onTypeChange(e) + }} + disabled={true} + value={this.state.model.product_type}> + 直充 + 卡密 + +