git checkout -b new_branch origin/development
1 需要修改下拉选择框的内容
![](https://img.haomeiwen.com/i8059641/e3c24b579062c6c5.jpg)
找到获取的位置
![](https://img.haomeiwen.com/i8059641/2a3b97107d0858ae.jpg)
console.log($scope.stores);
![](https://img.haomeiwen.com/i8059641/742fb1b2199af504.png)
2 100
$scope.loadChainMembers = function(scope) {
StockTransferFactory.getChainMembers()
.success(function(data){
scope.chainMember = data.map(({chain_member}) => chain_member).filter(({id}) => store_transfer.includes(id))
})
}
![](https://img.haomeiwen.com/i8059641/bb1e9b1c8a01e811.png)
3 99下拉选择框的数据修改,从另一个请求获取,过滤
![](https://img.haomeiwen.com/i8059641/9ab7146dbfd160aa.png)
![](https://img.haomeiwen.com/i8059641/4c5c8d22f5939be2.png)
![](https://img.haomeiwen.com/i8059641/16cf30d55f47b80e.png)
![](https://img.haomeiwen.com/i8059641/df47efcce11df3ea.png)
![](https://img.haomeiwen.com/i8059641/35090759d63ee6b7.png)
![](https://img.haomeiwen.com/i8059641/efe22aed17962ee1.png)
4 新版删除商店的 多选,改为单选
![](https://img.haomeiwen.com/i8059641/102553e397c34a11.png)
原来用一个数组接收选项,然后点击Apply应用。
现在改为直接点击某一个就确定。
步骤: 先实现新功能,点击即应用。再删除样式部分问题。
网友评论