diff --git a/src/pages/exchangecode/edit/edit.js b/src/pages/exchangecode/edit/edit.js index f2fa7081..61ceddaf 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: '575px', + width: '450px', prop: 'effectDate', name: 'effectDate', type: 'normal' diff --git a/src/pages/plan/add/step2.js b/src/pages/plan/add/step2.js index ff7983bb..0b1c6a76 100644 --- a/src/pages/plan/add/step2.js +++ b/src/pages/plan/add/step2.js @@ -914,7 +914,7 @@ export default class acclist extends React.Component { width: 'auto', prop: 'product_name', name: 'product_name', - type: 'slot' + type: 'normal' }, { title: '立减金平台批次号', @@ -948,14 +948,14 @@ export default class acclist extends React.Component { title: '当前成本价格', prop: 'cost_price', name: 'cost_price', - width: 'auto', + width: '200px', type: 'normal' }, { title: '合同价', name: 'contract_price', prop: 'contract_price', - type: 'slot', + type: 'normal', width: 'auto' }, { @@ -968,7 +968,7 @@ export default class acclist extends React.Component { title: '库存总数量', prop: 'quantity', name: 'quantity', - type: 'slot', + type: 'normal', width: 'auto' }, { @@ -1441,45 +1441,45 @@ export default class acclist extends React.Component { this.setState({ rank: arr }) }} ComponentHandler={(com, rowData, rowIndex) => { - if (com == 'product_name') { - return ( - { - this.onNameChange(e, rowData, rowIndex) - }} - /> - ) - } - if (com == 'quantity') { - return ( - { - this.onQuantityChange(e, rowData, rowIndex) - }} - /> - ) - } + // if (com == 'product_name') { + // return ( + // { + // this.onNameChange(e, rowData, rowIndex) + // }} + // /> + // ) + // } + // if (com == 'quantity') { + // return ( + // { + // this.onQuantityChange(e, rowData, rowIndex) + // }} + // /> + // ) + // } if (com == 'type') { return <>{rowData.type === 2 ? '立减金' : '商品'} } - if (com == 'contract_price') { - return ( - { - this.onPriceChange(e, rowData, rowIndex) - }} - /> - ) - } + // if (com == 'contract_price') { + // return ( + // { + // this.onPriceChange(e, rowData, rowIndex) + // }} + // /> + // ) + // } if (com == 'edit') { return (