Commit 8b9ca25d authored by 前端-黄佳鑫's avatar 前端-黄佳鑫
parents 1154cf80 a77f5329
......@@ -99,10 +99,13 @@ export const useProductTableChangeForPay = (ctx: ISchemaFormActions | ISchemaFor
if (value && value.length > 0){
// 请求一次并复制给支付信息
const productItem = value[0]
console.log(productItem,'productItem')
fetchOrderApi.getPayInfoList({
// productId: productItem.id,
productId: productItem?.commodityId ? productItem.id : productItem.productId,
memberId: productItem.memberId
memberId: productItem.memberId,
memberRoleId: productItem.memberRoleId,
orderModel: ctx.getFieldValue('orderModel'),
}).then(data => {
ctx.setFieldValue('paymentInformationResponses', data)
}).catch(err => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment