Browse Source

批量下架,商品排序,在售商品,商品列表接口更改,下拉加载数据优化;

订单列表数据ui调整;
wr_2023_business
wurong 1 year ago
parent
commit
34d7403a40
  1. 5
      lib/business_system/goods/on_sale/batch_shelf.dart
  2. 5
      lib/business_system/goods/on_sale/goods_sort.dart
  3. 5
      lib/business_system/goods/on_sale/on_sale_page.dart
  4. 2
      lib/business_system/order/order_list.dart

5
lib/business_system/goods/on_sale/batch_shelf.dart

@ -110,10 +110,6 @@ class _BatchShelf extends State<BatchShelf> {
///
queryGoodsList(groupId, {isSing = true}) async {
if (isSing)
EasyLoading.show(
status: S.current.zhengzaijiazai,
maskType: EasyLoadingMaskType.black);
try {
BaseData<BusinessGoods> baseData =
await businessService.findAdminProductLis({
@ -145,7 +141,6 @@ class _BatchShelf extends State<BatchShelf> {
} finally {
if (isSing) {
setState(() {});
EasyLoading.dismiss();
} else {
addLoadCount();
}

5
lib/business_system/goods/on_sale/goods_sort.dart

@ -113,10 +113,6 @@ class _GoodsSort extends State<GoodsSort> {
///
queryGoodsList(groupId, {isSing = true}) async {
if (isSing)
EasyLoading.show(
status: S.current.zhengzaijiazai,
maskType: EasyLoadingMaskType.black);
try {
BaseData<BusinessGoods> baseData =
await businessService.findAdminProductLis({
@ -148,7 +144,6 @@ class _GoodsSort extends State<GoodsSort> {
} finally {
if (isSing) {
setState(() {});
EasyLoading.dismiss();
} else {
addLoadCount();
}

5
lib/business_system/goods/on_sale/on_sale_page.dart

@ -113,10 +113,6 @@ class _OnSalePage extends State<OnSalePage> {
///
queryGoodsList(groupId, {isSing = true}) async {
if (isSing)
EasyLoading.show(
status: S.current.zhengzaijiazai,
maskType: EasyLoadingMaskType.black);
try {
BaseData<BusinessGoods> baseData =
await businessService.findAdminProductLis({
@ -149,7 +145,6 @@ class _OnSalePage extends State<OnSalePage> {
} finally {
if (isSing) {
setState(() {});
EasyLoading.dismiss();
} else {
addLoadCount();
}

2
lib/business_system/order/order_list.dart

@ -365,7 +365,7 @@ class _OrderList extends State<OrderList> {
vertical: 5.h, horizontal: 26.w),
margin: EdgeInsets.only(
right: (adminOrderDtoList.payStatus == 1 &&
adminOrderDtoList.refundStatus == 0)
adminOrderDtoList.refundStatus == 0 && adminOrderDtoList.enableRefundApprover == false)
? 20.w
: 0),
child: Text(

Loading…
Cancel
Save