|
@ -11,8 +11,8 @@ var startDate = '',
|
|
|
jgPage = 1,
|
|
|
size = 10,
|
|
|
hospital = '', //服务站code
|
|
|
allocationType, //是否是待分配续方
|
|
|
nameKey, //搜索的姓名
|
|
|
allocationType = 0, //是否是待分配续方
|
|
|
nameKey = '', //搜索的姓名
|
|
|
selectItemNum = 0, //选中的数量
|
|
|
selectItem = [], //选中的订单号集合
|
|
|
isArrange = false, // 判断所选的订单是否是可分配的
|
|
@ -27,15 +27,19 @@ $(function(){
|
|
|
}
|
|
|
//填充下拉框数据
|
|
|
orderAPI.getFilterInfo().then(function(res){
|
|
|
console.log(JSON.stringify(res));
|
|
|
fillDropDown(res);
|
|
|
//获得续方订单列表
|
|
|
getPrescriptionList();
|
|
|
|
|
|
// getPrescriptionList();
|
|
|
});
|
|
|
//获得服务站数据
|
|
|
orderAPI.getHospitalList({data: {teamCode: teamCode}}).then(function(res){
|
|
|
console.log(JSON.stringify(res));
|
|
|
var html = template('address_tmpl', {list: res.data});
|
|
|
$("#address").empty().append(html);
|
|
|
});
|
|
|
//获得续方订单列表
|
|
|
getPrescriptionList();
|
|
|
bindEvents();
|
|
|
});
|
|
|
|