fix: 修复优惠券复制没有数据并且key批次名字不改变问题

This commit is contained in:
zhangds 2022-10-10 19:19:30 +08:00
parent f10799066c
commit cc51d072b1
1 changed files with 1 additions and 1 deletions

View File

@ -832,7 +832,6 @@ export default class acclist extends React.Component {
Notify.error("对应分销商数据不存在");
return;
}
// 兑换码
if (this.state.keyType === 1) {
if (this.state.isEdit) {
@ -940,6 +939,7 @@ export default class acclist extends React.Component {
data.mobile_repeat = this.state.mobile_repeat;
data.payment_direction =
this.state.payment_direction[this.state.paytype - 1];
data.copy_key_batch_id = this.state.keyCodeId;
console.log("大提交 =>", data);
let id = sessionStorage.getItem("key_plan_id");
addKeysBatchInfo(id, data).then((res) => {