Commit 4aec84a9 authored by hubaoshan's avatar hubaoshan

液体出入库

parent cedeae8a
...@@ -92,6 +92,16 @@ export function batchAddIncomeWmsBox(data) { ...@@ -92,6 +92,16 @@ export function batchAddIncomeWmsBox(data) {
} }
}) })
} }
export function batchAddIncomeWmsBoxNew(data) {
return request({
url: '/incomewmsbox/batchAddNew',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json;charset=UTF-8' // 接口修改传参类型
}
})
}
export function checkIsZero(data) { export function checkIsZero(data) {
return request({ return request({
url: 'incomewmsbox/checkIsZero', url: 'incomewmsbox/checkIsZero',
......
...@@ -4,7 +4,7 @@ import { getInfo } from '@/api/login' ...@@ -4,7 +4,7 @@ import { getInfo } from '@/api/login'
import Layout from '@/layout/index' import Layout from '@/layout/index'
// pathList: 是要隐藏菜单的集合 system元素:一级菜单的路径(path) // pathList: 是要隐藏菜单的集合 system元素:一级菜单的路径(path)
const pathList = ['system', 'system/log', 'production', 'equipment', 'process', '/none2', 'sample', 'tlias', '/test', '/inspect', '/controlPlatform/control', '/template/planeGraph', '/demoData/demoData1','/setup/test'] const pathList = ['system', 'system/log', 'production', 'equipment', 'process', '/none2', 'sample', 'tlias', '/test', '/inspect', '/controlPlatform/control', '/template/planeGraph', '/demoData/demoData1', '/setup/test']
const permission = { const permission = {
state: { state: {
......
...@@ -211,7 +211,7 @@ export function successAudio(start) { ...@@ -211,7 +211,7 @@ export function successAudio(start) {
// 自定义转换成大写的 // 自定义转换成大写的
export function customUpperCase(sourceStr) { export function customUpperCase(sourceStr) {
return sourceStr && sourceStr !== '' ? sourceStr.toUpperCase() : sourceStr return sourceStr && sourceStr !== '' ? sourceStr.toUpperCase().trim() : sourceStr
} }
export function UpperCaseStr(sourceStr) { export function UpperCaseStr(sourceStr) {
......
This diff is collapsed.
...@@ -170,7 +170,6 @@ export default { ...@@ -170,7 +170,6 @@ export default {
this.queryForm.cj = this.manufacturer[0].value this.queryForm.cj = this.manufacturer[0].value
}, },
methods: { methods: {
customUpperCase,
/** /**
* @description: 获取数据字典 * @description: 获取数据字典
* @author: gaoyu * @author: gaoyu
......
...@@ -195,14 +195,22 @@ export default { ...@@ -195,14 +195,22 @@ export default {
businessId: item.businessId businessId: item.businessId
} }
validNumber(obj).then(res => { validNumber(obj).then(res => {
console.log('res', res)
if (res.data) { if (res.data) {
this.$router.push({ if (item.ptype === '1') {
path: '/setup/checkTheApplicationForExit', this.$router.push({
query: { path: '/setup/checkTheApplicationForExit',
businessId: item.businessId query: {
} businessId: item.businessId
}) }
})
} else {
this.$router.push({
path: '/setup/dealWithStorage',
query: {
businessId: item.businessId
}
})
}
} }
}) })
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment