| | |
| | | "name" : "智云LMES", |
| | | "appid" : "__UNI__B002F49", |
| | | "description" : "", |
| | | "versionName" : "3.006", |
| | | "versionCode" : 306, |
| | | "versionName" : "3.008", |
| | | "versionCode" : 308, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | }) |
| | | }, |
| | | HKeeperNameChange(e) { |
| | | console.log(this.HKeeperList) |
| | | let keeperItem = this.HKeeperList.find(elem => elem.HName == e) |
| | | console.log(keeperItem) |
| | | this.detailManifestItem.HKeeperID = keeperItem.HItemID |
| | | this.detailManifestItem.HKeeperName = keeperItem.HName |
| | | this.sourceBillInfo.HKeeperID = keeperItem.HItemID |
| | | this.sourceBillInfo.HKeeperName = keeperItem.HName |
| | | |
| | | |
| | | }, |
| | |
| | | "HWHID": this.detailManifestItem.HWHID || 0, |
| | | "HSPID": this.detailManifestItem.HSPID || 0, |
| | | "HSupID": this.detailManifestItem.HSupID || 0, |
| | | "HKeeperID": this.detailManifestItem.HKeeperID || 0, |
| | | "HKeeperID": this.sourceBillInfo.HKeeperID || 0, |
| | | "HMaterID": this.detailManifestItem.HMaterID, |
| | | "F_WPVT_Text_tzk": this.detailManifestItem.F_WPVT_Text_tzk, |
| | | "HSourceBillType": this.detailManifestItem.HSourceBillType, |
| | |
| | | } = res.data |
| | | if (count == 1) { |
| | | CommonUtils.showTips({ |
| | | title: '提示', |
| | | message: '上传成功' |
| | | }) |
| | | this.attachmentInfo = [] |
| | |
| | | } else { |
| | | CommonUtils.showTips({ |
| | | title: '温馨提示', |
| | | message: '上传失败: ${Message}' |
| | | message: `上传失败: ${Message}` |
| | | }) |
| | | } |
| | | |
| | |
| | | }, |
| | | methods: { |
| | | // 根据模块获取未处理消息条数 |
| | | async getMessageIdentifierCount(menuListName) { |
| | | try { |
| | | let res = await CommonUtils.doRequest2Async({ |
| | | url: '/Web/getMessageIdentified', |
| | | data: { |
| | | user: getUserInfo()["HEmpName"], |
| | | moduleName: menuListName |
| | | } |
| | | }) |
| | | let { |
| | | data, |
| | | count, |
| | | Message |
| | | } = res.data |
| | | if (count == 1) { |
| | | let retVal = Array.from(data).reduce((acc, item) => { |
| | | acc[item['moduleName']] = item.count |
| | | return acc |
| | | }, {}) |
| | | // async getMessageIdentifierCount(menuListName) { |
| | | // try { |
| | | // let res = await CommonUtils.doRequest2Async({ |
| | | // url: '/Web/getMessageIdentified', |
| | | // data: { |
| | | // user: getUserInfo()["HEmpName"], |
| | | // moduleName: menuListName |
| | | // } |
| | | // }) |
| | | // let { |
| | | // data, |
| | | // count, |
| | | // Message |
| | | // } = res.data |
| | | // if (count == 1) { |
| | | // let retVal = Array.from(data).reduce((acc, item) => { |
| | | // acc[item['moduleName']] = item.count |
| | | // return acc |
| | | // }, {}) |
| | | |
| | | return { |
| | | code: 1, |
| | | msg: Message, |
| | | data: retVal |
| | | } |
| | | } else { |
| | | return { |
| | | code: 0, |
| | | msg: Message, |
| | | data: [] |
| | | } |
| | | } |
| | | } catch (err) { |
| | | // return { |
| | | // code: 1, |
| | | // msg: Message, |
| | | // data: retVal |
| | | // } |
| | | // } else { |
| | | // return { |
| | | // code: 0, |
| | | // msg: Message, |
| | | // data: [] |
| | | // } |
| | | // } |
| | | // } catch (err) { |
| | | |
| | | } |
| | | }, |
| | | // } |
| | | // }, |
| | | judgeHidden() { |
| | | return process.env.NODE_ENV === 'development' |
| | | }, |