fix: 修复营销系统立减金编辑loading没消失
This commit is contained in:
parent
221acec118
commit
a5305cec9c
|
@ -867,6 +867,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
|
|||
// 第四步:获取商品数据
|
||||
let param = {
|
||||
reseller_id: direct_reseller_ids,
|
||||
type: 1,
|
||||
};
|
||||
getProductInfoSelect(param).then((res) => {
|
||||
setState({ addProductBtnLoading: false, addGoldBtnLoading: false });
|
||||
|
@ -928,6 +929,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
|
|||
/* 区分立减金 */
|
||||
if (rowData.type === 2) {
|
||||
let obj = rowData.only;
|
||||
setState({ tableLoading: false });
|
||||
setState({
|
||||
product_title: "编辑立减金",
|
||||
productData: obj,
|
||||
|
|
Loading…
Reference in New Issue