Commit 58c9120a authored by WBY1026's avatar WBY1026

提交

parent 13be746e
...@@ -66,3 +66,14 @@ export function exportIncomeWmsBox(query) { ...@@ -66,3 +66,14 @@ export function exportIncomeWmsBox(query) {
responseType: 'blob' responseType: 'blob'
}) })
} }
export function checkIsZero(data) {
return request({
url: 'incomewmsbox/checkIsZero',
method: 'post',
data,
headers: {
'Content-Type': 'application/json;charset=UTF-8' // 接口修改传参类型
}
})
}
import request from '@/utils/request'
import Qs from 'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
export function listOutcomeWmsJbapplyTemp(query) {
return request({
url: '/outcomewmsjbapplytemp/list',
method: 'get',
params: query
})
}
export function getOutcomeWmsJbapplyTemp(businessId) {
return request({
url: '/outcomewmsjbapplytemp/detail/' + businessId,
method: 'get'
})
}
export function addOutcomeWmsJbapplyTemp(data) {
data = Qs.stringify(data)
return request({
url: '/outcomewmsjbapplytemp/add',
method: 'post',
data: data
})
}
export function updateOutcomeWmsJbapplyTemp(data) {
const businessId = data.businessId
data = Qs.stringify(data)
return request({
url: '/outcomewmsjbapplytemp/update/' + businessId,
method: 'put',
data
})
}
export function delOutcomeWmsJbapplyTemp(businessId) {
return request({
url: '/outcomewmsjbapplytemp/deleteLogical/' + businessId,
method: 'delete'
})
}
export function exportOutcomeWmsJbapplyTemp(query) {
return request({
url: '/outcomewmsjbapplytemp/export',
method: 'get',
params: query,
responseType: 'blob'
})
}
// 下载空模板
export function getDownloadTemplate(query) {
return request({
url: '/outcomewmsjbapplytemp/downloadTemplate',
method: 'get',
params: query,
responseType: 'blob'
})
}
// 导入字典数据信息
export function importJbapplyExcel(data) {
return request({
url: '/outcomewmsjbapplytemp/importJbapplyData',
method: 'post',
headers: {
'Content-Type': 'multipart/form-data'
},
transformRequest: [(data) => {
return data
}],
data
})
}
// 根据pn,ptype,lot去查box表的qty
export function queryByPnAndPtypeAndLot(data) {
return request({
url: '/outcomewmsjbapplytemp/queryByPnAndPtypeAndLot',
method: 'post',
data,
headers: {
'Content-Type': 'application/json;charset=UTF-8' // 接口修改传参类型
}
})
}
...@@ -104,4 +104,4 @@ export function importExcel(data) { ...@@ -104,4 +104,4 @@ export function importExcel(data) {
data data
}) })
} }
// 导入字典数据信息
...@@ -3,7 +3,7 @@ import { getRouters } from '@/api/menu' ...@@ -3,7 +3,7 @@ import { getRouters } from '@/api/menu'
import { getInfo } from '@/api/login' import { getInfo } from '@/api/login'
import Layout from '@/layout/index' import Layout from '@/layout/index'
// pathList: 是要隐藏菜单的集合 system元素:一级菜单的路径(path) // pathList: 是要隐藏菜单的集合 system元素:一级菜单的路径(path)
const pathList = ['/setup/index','/setup/outku','/setup/enterbound','/setup/test','/setup/enterboundTwo','/setup/ApplicationTable'] const pathList = ['/setup/index', '/setup/outku', '/setup/enterbound', '/setup/test', '/setup/enterboundTwo', '/setup/ApplicationTable', '/setup/inspectionRequestProcessing', '/setup/checkTheApplicationForExit']
const permission = { const permission = {
state: { state: {
routes: [], routes: [],
......
This diff is collapsed.
...@@ -93,11 +93,12 @@ ...@@ -93,11 +93,12 @@
</el-table-column> </el-table-column>
<el-table-column label="ptype" prop="ptype" :show-overflow-tooltip="true"> <el-table-column label="ptype" prop="ptype" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.ptype === '1'">jb</span> <span v-if="scope.row.ptype.trim() === '1'">jb</span>
<span v-else-if="scope.row.ptype === '2'">label</span> <span v-else-if="scope.row.ptype.trim() === '2'">label</span>
<span v-else-if="scope.row.ptype === '3'">wd</span> <span v-else-if="scope.row.ptype.trim() === '3'">wd</span>
<span v-else-if="scope.row.ptype === '4'">sl</span> <span v-else-if="scope.row.ptype.trim() === '4'">sl</span>
<span v-else-if="scope.row.ptype === '5'">zd</span> <span v-else-if="scope.row.ptype.trim() === '5'">zd</span>
<span v-else-if="scope.row.ptype.trim() === '20'">jl</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -313,6 +314,10 @@ export default { ...@@ -313,6 +314,10 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
addTypeOption: [ addTypeOption: [
......
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
<span v-else-if="scope.row.ptype === '3'">wd</span> <span v-else-if="scope.row.ptype === '3'">wd</span>
<span v-else-if="scope.row.ptype === '4'">sl</span> <span v-else-if="scope.row.ptype === '4'">sl</span>
<span v-else-if="scope.row.ptype === '5'">zd</span> <span v-else-if="scope.row.ptype === '5'">zd</span>
<span v-else-if="scope.row.ptype === '20'">jl</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -331,6 +332,10 @@ export default { ...@@ -331,6 +332,10 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
addTypeOption: [ addTypeOption: [
...@@ -349,6 +354,10 @@ export default { ...@@ -349,6 +354,10 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
// 查询参数 // 查询参数
......
This diff is collapsed.
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