修改 新增营销计划立商品无法修改

This commit is contained in:
wangsongsole 2022-05-27 13:55:33 +08:00
parent 7457bcacf9
commit 36d29a8a92
4 changed files with 7 additions and 8 deletions

View File

@ -1121,7 +1121,7 @@ export default class acclist extends React.Component {
},
{
title: '有效时间段',
width: '450px',
width: '575px',
prop: 'effectDate',
name: 'effectDate',
type: 'normal'

View File

@ -955,7 +955,7 @@ export default class exchangedit extends React.Component {
},
{
title: '有效时间段',
width: '450px',
width: '575px',
prop: 'effectDate',
name: 'effectDate',
type: 'normal'

View File

@ -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'

View File

@ -1182,7 +1182,7 @@ export default class acclist extends React.Component {
},
{
title: '有效时间段',
width: '450px',
width: '575px',
prop: 'effectDate',
name: 'effectDate',
type: 'normal'