From b329ab986e250bb27e46ace97cf208f3b26d145a Mon Sep 17 00:00:00 2001
From: FUYU <fuyu@prec-tech.com>
Date: 星期一, 18 十二月 2023 17:38:15 +0800
Subject: [PATCH] 修改复制(不带产品按钮)
---
force-app/main/default/classes/OrdergoodsControllerTest.cls | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/OrdergoodsControllerTest.cls b/force-app/main/default/classes/OrdergoodsControllerTest.cls
index 518d1bf..c4e7f8f 100644
--- a/force-app/main/default/classes/OrdergoodsControllerTest.cls
+++ b/force-app/main/default/classes/OrdergoodsControllerTest.cls
@@ -185,6 +185,8 @@
samOrder.DeliveryContact__c = 'thh';
samOrder.ReceivePart__c = '鍔炰簨澶�';
samOrder.Account__c = account.Id;
+ samOrder.province__c ='鍥涘窛鐪�';
+ samOrder.city__c ='鎴愰兘甯�';
insert samOrder;
//閫変腑淇濆瓨
@@ -200,7 +202,14 @@
Test.setCurrentPage(ref2);
OrdergoodsController controller2 = new OrdergoodsController(new ApexPages.StandardController(samOrder));
controller2.init();
+ controller2.getprovinceop();
+ controller2.getCityop();
+ controller2.provinceName='鍥涘窛鐪�';
+ controller2.cityName='鎴愰兘甯�';
+ controller2.productInfoList[0].check = true;
+ controller2.productInfoList[0].SOLDel.ItemQuantity__c = 5;
controller2.save();
controller2.confirmBtn();
+
}
}
\ No newline at end of file
--
Gitblit v1.9.1