💊 fix: 修复bug
This commit is contained in:
parent
89ea250910
commit
2a209dbdb6
|
@ -591,8 +591,11 @@ export default class addKnockGold extends Component {
|
||||||
alignment={"left"}
|
alignment={"left"}
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
{this.state.model.channel !== 3 && (
|
<FormItem
|
||||||
<FormItem labelname="祝福语" prop="wishing" id="wishing">
|
labelname={this.state.model.channel === 3 ? "发放备注" : "祝福语"}
|
||||||
|
prop="wishing"
|
||||||
|
id="wishing"
|
||||||
|
>
|
||||||
<Ipt
|
<Ipt
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
this.onHandleChange(value, "wishing")
|
this.onHandleChange(value, "wishing")
|
||||||
|
@ -609,7 +612,9 @@ export default class addKnockGold extends Component {
|
||||||
alignment={"left"}
|
alignment={"left"}
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
{/* {this.state.model.channel !== 3 && (
|
||||||
|
|
||||||
|
)} */}
|
||||||
</Form>
|
</Form>
|
||||||
</Card>
|
</Card>
|
||||||
<Card style={{ width: "70%", margin: "10px 0" }} title={"发放规则"}>
|
<Card style={{ width: "70%", margin: "10px 0" }} title={"发放规则"}>
|
||||||
|
|
|
@ -11,7 +11,7 @@ const regObj = {
|
||||||
export default {
|
export default {
|
||||||
basic: {
|
basic: {
|
||||||
batch_goods_name: [{ type: "required", message: "请输入批次商品名称" }],
|
batch_goods_name: [{ type: "required", message: "请输入批次商品名称" }],
|
||||||
wishing: [{ type: "required", message: "请输入红包祝福语" }]
|
wishing: [{ type: "required", message: "请输入" }]
|
||||||
},
|
},
|
||||||
grant: {
|
grant: {
|
||||||
num: [
|
num: [
|
||||||
|
|
Loading…
Reference in New Issue