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