diff --git a/pages/backMaterialReceive/backMaterialReceive.vue b/pages/backMaterialReceive/backMaterialReceive.vue index cb35316..2516f51 100644 --- a/pages/backMaterialReceive/backMaterialReceive.vue +++ b/pages/backMaterialReceive/backMaterialReceive.vue @@ -236,6 +236,7 @@ import { basePath } from '../../public' } }, getList (keyWord) { + console.log(keyWord); let that = this // 获取退料接收列表 that.$api.backMaterialReceive.backMaterialReceiveList({ diff --git a/pages/codeOutStore/codeOutStore.vue b/pages/codeOutStore/codeOutStore.vue index c3299d6..c619deb 100644 --- a/pages/codeOutStore/codeOutStore.vue +++ b/pages/codeOutStore/codeOutStore.vue @@ -2,7 +2,7 @@ - + diff --git a/pages/codeReceive/codeReceive.vue b/pages/codeReceive/codeReceive.vue index c2d1df4..c74f679 100644 --- a/pages/codeReceive/codeReceive.vue +++ b/pages/codeReceive/codeReceive.vue @@ -134,7 +134,7 @@ if (this.infoList[0].typeId != this.typeId) { uni.showToast({ icon: 'none', - title: '编码与机具类型不匹配!' + title: '机具类型不匹配!' }) } else { that.subList = { diff --git a/pages/exitExam/exitExam.vue b/pages/exitExam/exitExam.vue index 9909647..4110a41 100644 --- a/pages/exitExam/exitExam.vue +++ b/pages/exitExam/exitExam.vue @@ -248,7 +248,7 @@ import { basePath } from '../../public' } else { that.modalList.directAuditRemark = that.rejectReason console.log(that.modalList); - that.rejectExam(that.modalList.id) + that.rejectExam(that.modalList.id, that.modalList.directAuditRemark) } }, closePopup () { @@ -257,11 +257,12 @@ import { basePath } from '../../public' closePopup1 () { this.$refs.popup1.close() }, - seeExam (id) { + seeExam (id, directAuditRemark) { let that = this // 提交单个审核 that.$api.exitExam.subExitExam({ - id + id, + directAuditRemark }).then(res => { console.log(res); if (res.data.code == 200) { @@ -288,7 +289,7 @@ import { basePath } from '../../public' console.log(err); }) }, - rejectExam () { + rejectExam (id) { let that = this // 拒绝单个审核 that.$api.exitExam.rejectExitExam({ diff --git a/pages/fetchMaterialOutStoreDetail/fetchMaterialOutStoreDetail.vue b/pages/fetchMaterialOutStoreDetail/fetchMaterialOutStoreDetail.vue index f694521..a905a30 100644 --- a/pages/fetchMaterialOutStoreDetail/fetchMaterialOutStoreDetail.vue +++ b/pages/fetchMaterialOutStoreDetail/fetchMaterialOutStoreDetail.vue @@ -75,15 +75,15 @@

待出库数量

{{ infoList.outNum }}
- + + - +
-->

出库数量

@@ -170,18 +170,28 @@ this.$refs.popup2.close() }, scanCode () { + console.log(this.infoList); this.closePopup1() - /* uni.scanCode({ + uni.scanCode({ success: (res) => { console.log(res); - uni.navigateTo({ - url: `/pages/scanOutStore/scanOutStore?code=${res.result}&typeId=${this.infoList.typeId}&num=${this.infoList.preNum}&parentId=${this.infoList.parenntId}` - }) + const fixedCode = res.result.split('=')[1] + console.log(fixedCode); + if (!fixedCode) { + uni.showToast({ + icon: 'none', + title: '未识别到设备!' + }) + } else { + uni.navigateTo({ + url: `/pages/scanOutStore/scanOutStore?code=${fixedCode}&typeId=${this.infoList.typeId}&num=${this.infoList.preCountNum}&parentId=${this.infoList.parentId}` + }) + } } - }) */ - uni.navigateTo({ - url: `/pages/QROut/QROut?typeId=${this.infoList.typeId}&num=${this.infoList.preCountNum}&parentId=${this.infoList.parentId}` }) + /* uni.navigateTo({ + url: `/pages/QROut/QROut?typeId=${this.infoList.typeId}&num=${this.infoList.preCountNum}&parentId=${this.infoList.parentId}` + }) */ }, codeOut () { this.closePopup1() @@ -218,7 +228,7 @@ parentId: that.infoList.parentId, typeId: that.infoList.typeId, taskId: that.infoList.taskId, - carCode: that.carCode, + // carCode: that.carCode, outNum: that.multiNum, companyId: uni.getStorageSync('userInfo').sysUser.companyId } @@ -259,7 +269,8 @@ } */ // const res = await that.$api.fetchMaterialOutStore.fetchSingleDetail(params) that.$api.fetchMaterialOutStore.fetchSingleDetail({ - id: that.id + id: that.id, + souceBy: 1 }).then(res => { console.log(res); that.fetchList = [] @@ -269,7 +280,7 @@ that.fetchList.push(res.data.data.rows[0].leaseApplyInfoList[i].leaseApplyDetails[k]) } } */ - that.fetchList = res.data.data.rows + that.fetchList = res.data.data console.log('获取详情 ===========================',that.fetchList); // that.fetchList[1].manageType = 1 } diff --git a/pages/login/login.vue b/pages/login/login.vue index 41b20e1..f3bbc69 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -9,46 +9,44 @@
- + 账号登录 - + 手机登录