| | |
| | | HCheckQty: 0, |
| | | //源单信息 |
| | | HSourceBillQty: 0, |
| | | HSourceBillNo:'', |
| | | HSourceBillType: "3772", |
| | | //流转卡信息 |
| | | HICMOBillNo: "", |
| | |
| | | this.hform.HMaterNumber = data[0]['产品代码'] |
| | | //源单信息 |
| | | this.hform.HMainSourceBillNo = data[0]['HBillNo'] |
| | | this.hform.HSourceBillNo = data[0]['HBillNo'] |
| | | this.hform.HSourceBillNo = data[0]['单据号'] |
| | | this.hform.HMainSourceInterID = data[0].HInterID |
| | | this.hform.HMainSourceEntryID = data[0].HEntryID |
| | | this.hform.HSourceBillQty = data[0].流转卡数量 |
| | |
| | | let res = await CommonUtils.doRequest2Async({ |
| | | url: "/Gy_Employee/list", |
| | | data: { |
| | | sWhere: ` and 禁用标记 = '' order by 部门代码`, |
| | | sWhere: ` and 禁用标记 = '' `, |
| | | user: getUserInfo()["Czymc"], |
| | | Organization: uni.getStorageSync("Organization"), |
| | | }, |
| | |
| | | goBack() { |
| | | uni.navigateBack(); |
| | | }, |
| | | // 设置为自动 |
| | | setAuto() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.unlockOrientation(); |
| | | } |
| | | }, |
| | | // 设置为竖屏 |
| | | setPortrait() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.lockOrientation('portrait'); |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | async onLoad(e) { |
| | | this.setAuto(); |
| | | this.operationType = e.operationType || 1; |
| | | this.hform.HInterID = e.linterid || 0; |
| | | if (this.operationType == 1) { |
| | |
| | | await this.InitHGroup(); |
| | | await this.loadCache(); |
| | | }, |
| | | onUnload(){ |
| | | this.setPortrait(); |
| | | } |
| | | }; |
| | | </script> |
| | | |