Update edit.js
This commit is contained in:
parent
d4dcce4ad9
commit
9ff0fb6e08
|
@ -831,6 +831,12 @@ export default class acclist extends React.Component{
|
||||||
this.setState({paytype:e.target.value})
|
this.setState({paytype:e.target.value})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
keyProductClick(row,index){
|
||||||
|
|
||||||
|
this.setState({drawerVisible2:true})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
render(){
|
render(){
|
||||||
|
|
||||||
const Column = [
|
const Column = [
|
||||||
|
@ -933,16 +939,9 @@ export default class acclist extends React.Component{
|
||||||
width:'auto'
|
width:'auto'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '商品展示',
|
title: '操作',
|
||||||
prop: 'show_url',
|
prop: 'edit',
|
||||||
name: 'show_url',
|
name: 'edit',
|
||||||
type: "slot",
|
|
||||||
width:'auto',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '商品描述',
|
|
||||||
prop: 'describe_url',
|
|
||||||
name: 'describe_url',
|
|
||||||
type: "slot",
|
type: "slot",
|
||||||
width:'auto',
|
width:'auto',
|
||||||
},
|
},
|
||||||
|
@ -1253,7 +1252,10 @@ export default class acclist extends React.Component{
|
||||||
value={rowData.describe_url}
|
value={rowData.describe_url}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
if(com == "edit")
|
||||||
|
{
|
||||||
|
return <span onClick={(e)=>{this.keyProductClick(rowData,rowIndex)}} style={{color:"#2B66F2"}} >编辑</span>
|
||||||
|
}
|
||||||
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue