| | |
| | | |
| | | //获取业务类型 |
| | | var data1 = { |
| | | "interfaceId": "6101", |
| | | "interfaceId": "5705", |
| | | "outId": "11101", |
| | | "reqDateTime": new Date(), |
| | | "tokenAuth": "", |
| | |
| | | typeList(); |
| | | |
| | | } |
| | | |
| | | |
| | | //开始时间 |
| | | function chooseDate() { |
| | | var dtpicker = new mui.DtPicker({ |
| | |
| | | } |
| | | }) |
| | | } |
| | | //获取业务类型列表 |
| | | function typeList() { |
| | | //获取仓库列表 |
| | | mui.ajax(url, { |
| | | type: "POST", |
| | | dataType: "json", |
| | |
| | | var fenl = {} |
| | | $.each(data, function(index, item) { |
| | | fenl = { |
| | | value: item.name, |
| | | text: item.id, |
| | | value: item.typeName, |
| | | text: item.typeId, |
| | | } |
| | | listPicker1.push(fenl) |
| | | }) |
| | |
| | | var _getParam = function(obj, param) { |
| | | return obj[param] || ''; |
| | | }; |
| | | //普通示例 |
| | | //业务类型 |
| | | var showUserPickerButton = doc.getElementById('ywlx'); |
| | | showUserPickerButton.addEventListener('tap', function(event) { |
| | | var userResult = doc.getElementById('ywlx-val'); |