🦀️ fix: 修复微信立减金打开方式回显问题
This commit is contained in:
parent
fde486776b
commit
f5965b4a0a
|
@ -202,7 +202,7 @@ const Combining = forwardRef((props, ref) => {
|
|||
const { channel, receive_mode, instruction, group_image, time_limit, is_webview } = group_info
|
||||
setInfo({
|
||||
quantity,
|
||||
is_webview: Number(is_webview),
|
||||
is_webview: Number(is_webview) || 0,
|
||||
instructionType: Number(group_info.instructionType) || 1,
|
||||
code_name: title,
|
||||
date_time: [begin_time, end_time],
|
||||
|
|
|
@ -218,7 +218,7 @@ export default class addKnockGold extends Component {
|
|||
model[key] = this.props.data[key]
|
||||
}
|
||||
model.weight = String(this.props.data.weight)
|
||||
model.is_webview = Number(this.props.data.is_webview)
|
||||
model.is_webview = Number(this.props.data.is_webview) || 0
|
||||
model.early_per = this.props.data.early_per.map((item) => String(item))
|
||||
model.channel = String(this.props.data.channel)
|
||||
model.natural_limit = String(this.props.data.natural_limit)
|
||||
|
|
|
@ -148,7 +148,7 @@ export default class combiningAdd extends React.Component {
|
|||
reqCopy.goods = resData
|
||||
let codeInfo = {
|
||||
code_name: reqCopy.title,
|
||||
is_webview: Number(is_webview),
|
||||
is_webview: Number(is_webview) || 0,
|
||||
issued: reqCopy.quantity,
|
||||
instructionType: Number(reqCopy.group_info.instructionType) || 1,
|
||||
stock: reqCopy.stock,
|
||||
|
|
Loading…
Reference in New Issue