是否删除所选择的商品?
, + onConfirm(){ + alert('开始调用作废接口'); + }, + onCancel(){ + console.log('点击了取消按钮'); + }, + className:'questModal', + parentComponent: this + }); + } + } + //删除 + deleteFn(e,row){ + Sweetalert.confirm({ + type:'warning', + closeBtn:true, + title:'确认操作', + content:是否删除该商品?
, + onConfirm(){ + alert('开始调用作废接口'); + }, + onCancel(){ + console.log('点击了取消按钮'); + }, + className:'questModal', + parentComponent: this + }); +} + editinfo(e,rowData){ + this.props.history.push('/home/exchangecode-add'); + sessionStorage.setItem('pathname2','/home/exchangecode-add') + let activerou=[{pagetitle:'编辑',items:[ + { + "path": "/home/exchangecode-list", + "name": "兑换码管理" + }, + { + "path": "/home/exchangecode-add", + "name": "编辑兑换码" + } + ]}] + sessionStorage.setItem('breaknav',JSON.stringify(activerou)); + } + //选择时间 + onChangeCombinedDate(e){ + this.setState({combinedValue:e}); + } + tabFn(index){ + this.setState({activepage:index}); + if(index==0){ + + } + if(index==1){ + } + } + render(){ + const { current, pageSize } = this.state; + const date =
+
+
+
+
+
+
+
+ {/* */}
+