💪 optimize: 红包批次号UUID长度优化
This commit is contained in:
parent
52ab4669f4
commit
e5dc183139
|
@ -249,7 +249,7 @@ export default class addKnockGold extends Component {
|
||||||
model.effect_date = []
|
model.effect_date = []
|
||||||
model.effect_date[0] = begin_time
|
model.effect_date[0] = begin_time
|
||||||
model.effect_date[1] = end_time
|
model.effect_date[1] = end_time
|
||||||
model.copy && (model.cash_activity_id = uuid(12)) /* 是否是复制 */
|
model.copy && (model.cash_activity_id = uuid(8)) /* 是否是复制 */
|
||||||
/* 以下操作 筛选出输入框的预警值并经行填充 */
|
/* 以下操作 筛选出输入框的预警值并经行填充 */
|
||||||
const copy_early_per = early_per || []
|
const copy_early_per = early_per || []
|
||||||
copy_early_per.map((item) => {
|
copy_early_per.map((item) => {
|
||||||
|
@ -568,7 +568,7 @@ export default class addKnockGold extends Component {
|
||||||
<Button
|
<Button
|
||||||
type="icon"
|
type="icon"
|
||||||
icon="refresh"
|
icon="refresh"
|
||||||
onClick={() => this.onHandleChange(uuid(12), "cash_activity_id")}
|
onClick={() => this.onHandleChange(uuid(8), "cash_activity_id")}
|
||||||
disabled={this.state.isEdit}
|
disabled={this.state.isEdit}
|
||||||
></Button>
|
></Button>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
|
@ -25,7 +25,7 @@ export function model({ data }) {
|
||||||
model: {
|
model: {
|
||||||
channel: 1, // 渠道
|
channel: 1, // 渠道
|
||||||
cash_amount_type: "1", // 红包类型
|
cash_amount_type: "1", // 红包类型
|
||||||
cash_activity_id: uuid(12), // 红包批次号
|
cash_activity_id: uuid(8), // 红包批次号
|
||||||
batch_goods_name: "", // 批次商品名称
|
batch_goods_name: "", // 批次商品名称
|
||||||
num: "", // 红包个数
|
num: "", // 红包个数
|
||||||
denomination: "", // 面额
|
denomination: "", // 面额
|
||||||
|
|
Loading…
Reference in New Issue