4.30重庆测试问题修改

This commit is contained in:
FrancisHu 2024-04-30 15:12:07 +08:00
parent 58e80c2b5f
commit f0e753e323
12 changed files with 29 additions and 21 deletions

View File

@ -182,9 +182,16 @@ export default {
success: (res) => { success: (res) => {
const fixedCode = res.result.split('=')[1] const fixedCode = res.result.split('=')[1]
const userId = uni.getStorageSync('userInfo').userid const userId = uni.getStorageSync('userInfo').userid
uni.navigateTo({ if (!fixedCode) {
url: `/pages/scanReceive/scanReceive?code=${fixedCode}&typeId=${that.infoList.modelId}&num=${that.infoList.num}&parentId=${that.infoList.id}&manageType=${that.infoList.manageType}&taskId=${that.taskId}&createBy=${userId}&scanType="back"` uni.showToast({
}) icon: 'none',
title: '未识别到设备!'
})
} else {
uni.navigateTo({
url: `/pages/scanReceive/scanReceive?code=${fixedCode}&typeId=${that.infoList.modelId}&num=${that.infoList.num}&parentId=${that.infoList.id}&manageType=${that.infoList.manageType}&taskId=${that.taskId}&createBy=${userId}&scanType="back"`
})
}
} }
}) })
/* uni.navigateTo({ /* uni.navigateTo({

View File

@ -134,7 +134,7 @@
this.parentId = params.parentId this.parentId = params.parentId
this.manageType = params.manageType this.manageType = params.manageType
this.taskId = params.taskId this.taskId = params.taskId
this.codeVal = params.code // this.codeVal = params.code
} }
} }
</script> </script>

View File

@ -197,7 +197,7 @@ export default {
role: uni.getStorageSync('roles').join(','), role: uni.getStorageSync('roles').join(','),
flag: 0 flag: 0
}).then(res => { }).then(res => {
console.log(code); console.log(res);
if (res.data.code == 200) { if (res.data.code == 200) {
if (res.data.data.rows.length == 0) { if (res.data.data.rows.length == 0) {
that.showLoading = false that.showLoading = false

View File

@ -197,7 +197,7 @@
this.closePopup1() this.closePopup1()
console.log(this.infoList); console.log(this.infoList);
uni.navigateTo({ uni.navigateTo({
url: `/pages/codeOutStore/codeOutStore?typeId=${this.infoList.typeId}&num=${this.infoList.preCountNum}&parentId=${this.infoList.parentId}&manageType=${this.infoList.manageType}&taskId=${this.infoList.taskId}&code=${this.infoList.maCode}` url: `/pages/codeOutStore/codeOutStore?typeId=${this.infoList.typeId}&num=${this.infoList.preCountNum}&parentId=${this.infoList.parentId}&manageType=${this.infoList.manageType}&taskId=${this.infoList.taskId}`
}) })
}, },
rfidOut () { rfidOut () {
@ -269,7 +269,8 @@
} */ } */
// const res = await that.$api.fetchMaterialOutStore.fetchSingleDetail(params) // const res = await that.$api.fetchMaterialOutStore.fetchSingleDetail(params)
that.$api.fetchMaterialOutStore.fetchSingleDetail({ that.$api.fetchMaterialOutStore.fetchSingleDetail({
id: that.id id: that.id,
souceBy: 1
}).then(res => { }).then(res => {
console.log(res); console.log(res);
that.fetchList = [] that.fetchList = []
@ -279,7 +280,7 @@
that.fetchList.push(res.data.data.rows[0].leaseApplyInfoList[i].leaseApplyDetails[k]) 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); console.log('获取详情 ===========================',that.fetchList);
// that.fetchList[1].manageType = 1 // that.fetchList[1].manageType = 1
} }

Binary file not shown.

View File

@ -1 +1 @@
https://app.liuyingyong.cn/build/download/33e51c90-0608-11ef-9983-0f279f010fda https://app.liuyingyong.cn/build/download/bb51eac0-0609-11ef-812e-6d41417a577b

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long