From 36d29a8a921d253861c20ee98ef33ea2b5369dca Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Fri, 27 May 2022 13:55:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=90=A5=E9=94=80=E8=AE=A1=E5=88=92=E7=AB=8B=E5=95=86=E5=93=81?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/add/add.js | 2 +- src/pages/exchangecode/edit/edit.js | 2 +- src/pages/plan/add/step2.js | 9 ++++----- src/pages/plan/key/edit.js | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) 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'