4.8线上问题修改

This commit is contained in:
FrancisHu 2024-04-08 17:28:48 +08:00
parent e6c11e38ba
commit 11b4e992a7
5 changed files with 11 additions and 8 deletions

View File

@ -3,12 +3,12 @@ class HttpConfig {
baseUrl = "/api" baseUrl = "/api"
// #endif // #endif
// #ifdef APP-PLUS // #ifdef APP-PLUS
// baseUrl = "http://112.29.103.165:21624" baseUrl = "http://112.29.103.165:21624"
// baseUrl = "http://192.168.0.14:21624" // baseUrl = "http://192.168.0.14:21624"
baseUrl = "http://112.29.103.165:21626" // baseUrl = "http://112.29.103.165:21626"
// baseUrl = "http://172.20.10.3:8080" // baseUrl = "http://172.20.10.3:8080"
// baseUrl = "http://10.40.92.13:8080" // baseUrl = "http://10.40.92.13:8080"
// baseUrl = "http://10.40.92.94:8080" // baseUrl = "http://10.40.92.75:8080"
// baseUrl = "http://10.40.92.8:8080" // baseUrl = "http://10.40.92.8:8080"
// baseUrl = "https://z.csgmall.com.cn/gl" // baseUrl = "https://z.csgmall.com.cn/gl"
// #endif // #endif

View File

@ -189,7 +189,7 @@
}) */ }) */
const userId = uni.getStorageSync('userInfo').userid const userId = uni.getStorageSync('userInfo').userid
uni.navigateTo({ uni.navigateTo({
url: `/pages/QRIn/QRIn?typeId=${that.infoList.typeId}&num=${that.infoList.num}&parentId=${that.infoList.id}&manageType=${that.infoList.manageType}&taskId=${that.taskId}&createBy=${userId}&scanType="back"` url: `/pages/QRIn/QRIn?typeId=${that.infoList.modelId}&num=${that.infoList.num}&parentId=${that.infoList.id}&manageType=${that.infoList.manageType}&taskId=${that.taskId}&createBy=${userId}&scanType="back"`
}) })
}, },
codeOut() { codeOut() {
@ -202,6 +202,7 @@
taskId, taskId,
id, id,
typeId, typeId,
modelId,
manageType, manageType,
typeName, typeName,
typeCode, typeCode,
@ -211,6 +212,7 @@
taskId, taskId,
id, id,
typeId, typeId,
modelId,
manageType, manageType,
userId, userId,
typeName, typeName,

View File

@ -202,9 +202,7 @@
icon: 'none', icon: 'none',
title: res.data.msg, title: res.data.msg,
success: () => { success: () => {
uni.navigateBack({ uni.navigateBack()
delta: 2
})
} }
}) })
// that.searchCode() // that.searchCode()
@ -228,7 +226,7 @@
onLoad(params) { onLoad(params) {
console.log("init",params); console.log("init",params);
this.transCode = params.maCode this.transCode = params.maCode
this.typeId = params.typeId this.typeId = params.modelId
this.num = params.num this.num = params.num
this.parentId = params.id this.parentId = params.id
this.manageType = params.manageType this.manageType = params.manageType

View File

@ -164,6 +164,8 @@ import { authPath, publicPath, systemPath } from '../../public'
if (res.data.code == 200) { if (res.data.code == 200) {
uni.setStorageSync('userInfo', res.data.data) uni.setStorageSync('userInfo', res.data.data)
uni.setStorageSync('token', res.data.data.token) uni.setStorageSync('token', res.data.data.token)
uni.setStorageSync('roles', res.data.data.login_user.roles)
uni.setStorageSync('deptId', res.data.data.login_user.sysUser.dept.deptId)
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: '登录成功!', title: '登录成功!',

View File

@ -85,6 +85,7 @@
title: '请确保退料总量不为0' title: '请确保退料总量不为0'
}) })
} else { } else {
console.log(this.handleSubmitData());
that.$api.backMaterialReceive.backMaterialSetNumBack({ that.$api.backMaterialReceive.backMaterialSetNumBack({
taskId: this.upperInfo.taskId, taskId: this.upperInfo.taskId,
arr: this.handleSubmitData() arr: this.handleSubmitData()