Compare commits

..

No commits in common. "0f358e7af5e727d021b1b9bcf917f328bd7916ef" and "01597f0386907e4bd7f9355cb92404f148de1711" have entirely different histories.

5 changed files with 8 additions and 11 deletions

View File

@ -3,13 +3,13 @@ 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.75:8080" // baseUrl = "http://10.40.92.94: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.modelId}&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.typeId}&num=${that.infoList.num}&parentId=${that.infoList.id}&manageType=${that.infoList.manageType}&taskId=${that.taskId}&createBy=${userId}&scanType="back"`
}) })
}, },
codeOut() { codeOut() {
@ -202,7 +202,6 @@
taskId, taskId,
id, id,
typeId, typeId,
modelId,
manageType, manageType,
typeName, typeName,
typeCode, typeCode,
@ -212,7 +211,6 @@
taskId, taskId,
id, id,
typeId, typeId,
modelId,
manageType, manageType,
userId, userId,
typeName, typeName,

View File

@ -202,7 +202,9 @@
icon: 'none', icon: 'none',
title: res.data.msg, title: res.data.msg,
success: () => { success: () => {
uni.navigateBack() uni.navigateBack({
delta: 2
})
} }
}) })
// that.searchCode() // that.searchCode()
@ -226,7 +228,7 @@
onLoad(params) { onLoad(params) {
console.log("init",params); console.log("init",params);
this.transCode = params.maCode this.transCode = params.maCode
this.typeId = params.modelId this.typeId = params.typeId
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,8 +164,6 @@ 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,7 +85,6 @@
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()