diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index 53f2b63a..e836e64b 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -1121,7 +1121,7 @@ export default class acclist extends React.Component { }, { title: '有效时间段', - width: '450px', + width: '575px', prop: 'effectDate', name: 'effectDate', type: 'normal' diff --git a/src/pages/exchangecode/edit/edit.js b/src/pages/exchangecode/edit/edit.js index 61ceddaf..f2fa7081 100644 --- a/src/pages/exchangecode/edit/edit.js +++ b/src/pages/exchangecode/edit/edit.js @@ -955,7 +955,7 @@ export default class exchangedit extends React.Component { }, { title: '有效时间段', - width: '450px', + width: '575px', prop: 'effectDate', name: 'effectDate', type: 'normal' diff --git a/src/pages/plan/add/step2.js b/src/pages/plan/add/step2.js index a86b4682..ff7983bb 100644 --- a/src/pages/plan/add/step2.js +++ b/src/pages/plan/add/step2.js @@ -436,7 +436,7 @@ export default class acclist extends React.Component { obj.official_price = item.official_price obj.quantity = item.quantity obj.show_url = item.show_url - obj.describe_url = item.describe_url.toString() + obj.describe_url = item.describe_url?.toString() obj.detail_url = item.detail_url obj.account_type = item.account_type obj.map_product_name = item.map_product_name @@ -800,13 +800,12 @@ export default class acclist extends React.Component { } /* 商品范围列表编辑 */ productEditShow(rowData) { - console.log('direct_reseller_id ==>', this.state.direct_reseller_id) console.log('rowData 12==>', rowData) - if (this.state.direct_reseller_id > 0) { + if (this.props.direct_reseller_id > 0) { this.setState({ tableLoading: true }) - this.getProductInfoSelectData(this.state.direct_reseller_id).then( + this.getProductInfoSelectData(this.props.direct_reseller_id).then( (data) => { sessionStorage.setItem('productsList', JSON.stringify(data)) /* 区分立减金 */ @@ -940,7 +939,7 @@ export default class acclist extends React.Component { }, { title: '有效时间段', - width: '450px', + width: '575px', prop: 'effectDate', name: 'effectDate', type: 'normal' diff --git a/src/pages/plan/key/edit.js b/src/pages/plan/key/edit.js index 712c6714..0386ab88 100644 --- a/src/pages/plan/key/edit.js +++ b/src/pages/plan/key/edit.js @@ -1182,7 +1182,7 @@ export default class acclist extends React.Component { }, { title: '有效时间段', - width: '450px', + width: '575px', prop: 'effectDate', name: 'effectDate', type: 'normal'