diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index a92416bf..b72441fd 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -952,12 +952,14 @@ export default class addKnockGold extends Component { ) : null} {/* 批量需改主体 */} - + {this.state.subjectList.length > 0 && ( + + )} { const { channel, voucherBatchData, subjectList } = props @@ -29,7 +28,10 @@ const VoucherBatch = forwardRef((props, ref) => { ) const [datasets, setDatasets] = useState(() => { + console.log("voucherBatchData =>", voucherBatchData) + console.log("subjectList =>", subjectList) if (voucherBatchData) { + debugger let new_data = voucherBatchData.map((item) => { let provider_el = subjectList.find((row) => row.key === item.provider) return {