IOE开发记录

1.tableView加载选中某行

Snip20200710_1

2.用block传值

Snip20200710_2

Snip20200710_3

Snip20200710_4

3.AlertView

1.SCLAlertView 好使

2.TYAlertView 不好使

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

TYAlertView *alertView = [TYAlertView alertViewWithTitle:@"编辑单位" message:@"请输入单位"];

[alertView addAction:[TYAlertAction actionWithTitle:@"取消" style:TYAlertActionStyleCancel handler:^(TYAlertAction *action) {
NSLog(@"%@",action.title);
}]];
// 弱引用alertView 否则 会循环引用
__typeof (alertView) __weak weakAlertView = alertView;
[alertView addAction:[TYAlertAction actionWithTitle:@"确定" style:TYAlertActionStyleDefault handler:^(TYAlertAction *action) {
NSLog(@"%@",action.title);
for (UITextField *textField in weakAlertView.textFieldArray) {
NSLog(@"%@",textField.text);
}

}]];

[alertView addTextFieldWithConfigurationHandler:^(UITextField *textField) {
textField.placeholder = @"请输入单位";

}];
// first way to show
TYAlertController *alertController = [TYAlertController alertControllerWithAlertView:alertView preferredStyle:TYAlertControllerStyleAlert];
//alertController.alertViewOriginY = 60;
[weakSelf presentViewController:alertController animated:YES completion:nil];

4.删除单位

Snip20200711_1

第二周7.6-7.11

27.”我的”页面tableView+collectionView

28.门店管理,角色管理

29.门店管理,编辑+新建->AddAndEditStoreViewController

30.财务管理第一页

31.注册完成

32.商品库首页,添加商品库,添加商品库选择店铺

33.添加商品库选择店铺页面完成

34.添加商品库,选择店铺->添加到”添加商品库页面”, “添加商品库页面”删除店铺

35.添加商品库完成.

36.编辑商品库

37.编辑商品库,删除店铺

38.商品库编辑,选择种类

39.商品库编辑,单位选择删除

40.编辑商品库,编辑单位 SCLAlertView弹出编辑会话

41.商品库 新建单位 单位列表 单位网络接口

42.商品库编辑,删除单位

第三周 7.13-7.18

43.商品库,编辑单位网络

44.商品库单位拆分界面,启动页面优化

45.采集入库详情,网络接口+界面 字体设置优化

46.盘点首页数据和布局

47.微信登录,获取Code

1
2
_currentStoreButton.imagePosition= QMUIButtonImagePositionRight;// 将图片位置改为在文字上方
_currentStoreButton.spacingBetweenImageAndTitle= 8;//图片和文字的间距

48.微信授权接口

49.盘点首页

passModel可以节约代码,不用持有一个模型属性了

checkUniversalLinkReady启动会显示一个连线的图

50.盘点选择商品,记住选中了哪个

51.调拨接口

52.调拨选择调入调出

53.添加调拨第二页顶部Header

54.添加调拨-选择调拨商品

55.调拨选择目标店铺,调拨提交,调拨首页

56.调拨详情,调拨状态处理

57.财务管理,提现,提现到支付宝第一页