Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡宝山
template_vue
Commits
58c9120a
Commit
58c9120a
authored
Apr 15, 2024
by
WBY1026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
13be746e
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
2282 additions
and
489 deletions
+2282
-489
incomeWmsBox.js
src/api/incomeWmsBox.js
+11
-0
outcomeWmsJbapplyTemp.js
src/api/outcomeWmsJbapplyTemp.js
+98
-0
data.js
src/api/system/dict/data.js
+1
-1
permission.js
src/store/modules/permission.js
+1
-1
demoData1.vue
src/views/demoData/demoData1.vue
+97
-278
ConfirmationMaterials.vue
src/views/template/ConfirmationMaterials.vue
+10
-5
outcomeWmsApply.vue
src/views/template/outcomeWmsApply.vue
+9
-0
outcomeWmsJbapplyTemp.vue
src/views/template/outcomeWmsJbapplyTemp.vue
+996
-0
templateFirst.vue
src/views/template/templateFirst.vue
+1059
-204
No files found.
src/api/incomeWmsBox.js
View file @
58c9120a
...
@@ -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'
// 接口修改传参类型
}
})
}
src/api/outcomeWmsJbapplyTemp.js
0 → 100644
View file @
58c9120a
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'
// 接口修改传参类型
}
})
}
src/api/system/dict/data.js
View file @
58c9120a
...
@@ -104,4 +104,4 @@ export function importExcel(data) {
...
@@ -104,4 +104,4 @@ export function importExcel(data) {
data
data
})
})
}
}
// 导入字典数据信息
src/store/modules/permission.js
View file @
58c9120a
...
@@ -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
:
[],
...
...
src/views/demoData/demoData1.vue
View file @
58c9120a
This diff is collapsed.
Click to expand it.
src/views/template/ConfirmationMaterials.vue
View file @
58c9120a
...
@@ -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
:
[
...
...
src/views/template/outcomeWmsApply.vue
View file @
58c9120a
...
@@ -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'
}
}
],
],
// 查询参数
// 查询参数
...
...
src/views/template/outcomeWmsJbapplyTemp.vue
0 → 100644
View file @
58c9120a
This diff is collapsed.
Click to expand it.
src/views/template/templateFirst.vue
View file @
58c9120a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment