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
12209a99
Commit
12209a99
authored
Jun 03, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pd
parent
d334e4d5
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
709 additions
and
12 deletions
+709
-12
incomeWmsBoxPd.js
src/api/incomeWmsBoxPd.js
+95
-0
permission.js
src/store/modules/permission.js
+2
-1
enterboundTwo.vue
src/views/template/enterboundTwo.vue
+3
-5
incomeWmsBox.vue
src/views/template/incomeWmsBox.vue
+2
-2
incomeWmsBoxPd.vue
src/views/template/incomeWmsBoxPd.vue
+595
-0
outcomeWmsJbapplyTemp.vue
src/views/template/outcomeWmsJbapplyTemp.vue
+12
-4
No files found.
src/api/incomeWmsBoxPd.js
0 → 100644
View file @
12209a99
import
request
from
'@/utils/request'
import
Qs
from
'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询库存管理列表
export
function
listIncomeWmsBoxPd
(
query
)
{
return
request
({
url
:
'/incomewmsboxpd/list'
,
method
:
'get'
,
params
:
query
})
}
export
function
listIncomeWmsBox
(
query
)
{
return
request
({
url
:
'/incomewmsbox/list'
,
method
:
'get'
,
params
:
query
})
}
// 2. 查询库存管理详细信息
export
function
getIncomeWmsBoxPd
(
businessId
)
{
return
request
({
url
:
'/incomewmsboxpd/detail/'
+
businessId
,
method
:
'get'
})
}
// 3. 新增库存管理
export
function
addIncomeWmsBoxPd
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/incomewmsboxpd/addQuantity'
,
method
:
'post'
,
data
:
data
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
// 接口修改传参类型
}
})
}
// 4. 修改库存管理
export
function
updateIncomeWmsBox
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/incomewmsboxpd/update/'
+
businessId
,
method
:
'put'
,
data
})
}
// 5. 删除库存管理
export
function
delIncomeWmsBoxPd
(
businessId
)
{
return
request
({
url
:
'/incomewmsboxpd/delete/'
+
businessId
,
method
:
'delete'
})
}
// truncate截断表
export
function
truncateIncomeWmsBoxPd
()
{
return
request
({
url
:
'/incomewmsboxpd/truncate'
,
method
:
'delete'
})
}
// 6. 导出库存管理
export
function
exportIncomeWmsBoxPd
(
query
)
{
return
request
({
url
:
'/incomewmsboxpd/export'
,
method
:
'get'
,
params
:
query
,
responseType
:
'blob'
})
}
export
function
checkIsZero
(
data
)
{
return
request
({
url
:
'incomewmsboxpd/checkIsZero'
,
method
:
'post'
,
data
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
// 接口修改传参类型
}
})
}
src/store/modules/permission.js
View file @
12209a99
...
...
@@ -3,7 +3,8 @@ import { getRouters } from '@/api/menu'
import
{
getInfo
}
from
'@/api/login'
import
Layout
from
'@/layout/index'
// pathList: 是要隐藏菜单的集合 system元素:一级菜单的路径(path)
const
pathList
=
[
'/setup/index'
,
'/setup/outku'
,
'/setup/enterbound'
,
'/setup/test'
,
'/setup/enterboundTwo'
,
'/setup/ApplicationTable'
,
'/setup/inspectionRequestProcessing'
,
'/setup/checkTheApplicationForExit'
]
const
pathList
=
[
'/setup/index'
,
'/setup/outku'
,
'/setup/enterbound'
,
'/setup/test'
,
'/setup/enterboundTwo'
,
'/setup/ApplicationTable'
,
'/setup/inspectionRequestProcessing'
,
'/setup/checkTheApplicationForExit'
,
'/setup/enterboundPd'
]
const
permission
=
{
state
:
{
routes
:
[],
...
...
src/views/template/enterboundTwo.vue
View file @
12209a99
...
...
@@ -257,7 +257,7 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"cj:"
prop=
"cj"
>
<span>
{{getManufacturerLabel(singleDetails.cj) || '-' }}
</span>
<span>
{{
getManufacturerLabel(singleDetails.cj) || '-' }}
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -345,13 +345,11 @@
import
manufacturer
from
'@/data/cjlist'
import
{
delOutcomeWmsApply
,
addOutcomeWmsApply
,
updateOutcomeWmsApply
,
exportOutcomeWmsApply
updateOutcomeWmsApply
}
from
'@/api/outcomeWmsApply'
import
commonField
from
'@/utils/commonField'
import
{
getDicts
}
from
'@/api/system/dict/data'
import
{
exportIncomeInoutWmsLog
,
getIncomeInoutWmsLog
,
listIncomeInoutWmsLog
}
from
'@/api/incomeInoutWmsLog'
import
{
exportIncomeInoutWmsLog
,
listIncomeInoutWmsLog
}
from
'@/api/incomeInoutWmsLog'
// import manufacturer from "@/api/outcomeWmsJbapplyTemp";
export
default
{
...
...
src/views/template/incomeWmsBox.vue
View file @
12209a99
...
...
@@ -159,8 +159,8 @@
</el-table-column>
<el-table-column
label=
"qty"
prop=
"qty"
:show-overflow-tooltip=
"true"
width=
"110"
>
<
template
slot-scope=
"scope"
>
<!--
<span
v-if=
"scope.row.qty >= 0 "
>
{{
scope
.
row
.
qty
}}
</span>
-->
<!--
<span
v-else
>
-
</span>
-->
<!--
<span
v-if=
"scope.row.qty >= 0 "
>
{{
scope
.
row
.
qty
}}
</span>
-->
<!--
<span
v-else
>
-
</span>
-->
{{
scope
.
row
.
qty
||
'-'
}}
</
template
>
</el-table-column>
...
...
src/views/template/incomeWmsBoxPd.vue
0 → 100644
View file @
12209a99
This diff is collapsed.
Click to expand it.
src/views/template/outcomeWmsJbapplyTemp.vue
View file @
12209a99
...
...
@@ -183,7 +183,7 @@
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
min-width=
"160px"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
min-width=
"160px"
>
<
template
slot-scope=
"scope"
>
<el-button
v-show=
"scope.row.dealStatus !=='1'"
...
...
@@ -259,10 +259,10 @@
/>
</el-select>
</el-form-item>
<el-form-item
label=
"cj"
prop=
"cj"
:rules=
"[{required: form.ptype === '1', message: '请输入rank的值', trigger: 'blur' }]"
>
<el-form-item
label=
"cj"
prop=
"cj"
:rules=
"[{required: form.ptype === '1', message: '请输入rank的值', trigger: 'blur' }]"
>
<el-select
:disabled=
"isDisabled"
v-model=
"form.cj"
:disabled=
"isDisabled"
style=
"width: 100%"
class=
"normalSelect"
placeholder=
"请选择厂家"
...
...
@@ -499,7 +499,7 @@ import {
import
commonField
from
'@/utils/commonField'
import
{
getDicts
}
from
'@/api/system/dict/data'
import
{
getToken
}
from
'@/utils/auth'
import
manufacturer
from
"@/data/cjlist"
;
import
manufacturer
from
'@/data/cjlist'
export
default
{
name
:
'OutcomeWmsJbapplyTemp'
,
data
()
{
...
...
@@ -744,6 +744,14 @@ export default {
beforeRemove
(
file
,
fileList
)
{
this
.
files
=
[]
},
// :on-progress="handleFileUploadProgress"
// :on-success="handleFileSuccess"
// :auto-upload="false"
// :on-change="employeeUpload"
// :on-remove="handleRemove"
// :before-remove="beforeRemove"
// :on-preview="handlePreview"
/* 上传文件所需求 */
handlePreview
(
file
)
{
},
...
...
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