Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-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
李苏
lxyl-vue
Commits
762943de
Commit
762943de
authored
Jan 09, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库存调整,其他变更
parent
ca2bdd96
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
163 additions
and
71 deletions
+163
-71
index.js
src/router/index.js
+5
-5
mx.vue
src/views/ccgl/kngl/kwtzd/mx.vue
+11
-2
qd.vue
src/views/ccgl/kngl/kwtzd/qd.vue
+1
-6
edit.vue
src/views/ccgl/kngl/kwtzd/top/edit.vue
+35
-23
index.vue
src/views/ccgl/kngl/kwtzd/top/index.vue
+16
-4
index.vue
src/views/ccgl/kngl/zlhbg/top/index.vue
+23
-23
index.vue
src/views/index.vue
+72
-8
No files found.
src/router/index.js
View file @
762943de
...
@@ -729,11 +729,11 @@ export const constantRoutes = [{
...
@@ -729,11 +729,11 @@ export const constantRoutes = [{
component
:
()
=>
import
(
'@/views/login'
),
component
:
()
=>
import
(
'@/views/login'
),
hidden
:
true
hidden
:
true
},
},
{
//
{
path
:
'/register'
,
//
path: '/register',
component
:
()
=>
import
(
'@/views/register'
),
//
component: () => import('@/views/register'),
hidden
:
true
//
hidden: true
},
//
},
{
{
path
:
'/404'
,
path
:
'/404'
,
component
:
()
=>
import
(
'@/views/error/404'
),
component
:
()
=>
import
(
'@/views/error/404'
),
...
...
src/views/ccgl/kngl/kwtzd/mx.vue
View file @
762943de
...
@@ -44,10 +44,19 @@
...
@@ -44,10 +44,19 @@
field
:
"rqCode"
,
field
:
"rqCode"
,
width
:
120
,
width
:
120
,
},
},
{
title
:
"库区"
,
field
:
"kqName"
,
width
:
120
,
},
{
title
:
"目标库区"
,
field
:
"mbkqName"
,
width
:
120
,
},
{
{
title
:
"库位"
,
title
:
"库位"
,
field
:
"kw
Nam
e"
,
field
:
"kw
Cod
e"
,
width
:
120
,
width
:
120
,
},
},
{
{
...
...
src/views/ccgl/kngl/kwtzd/qd.vue
View file @
762943de
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
/* 基本配置*/
/* 基本配置*/
url
:
'wms/kcgl/kwtz/queryKwtzqd'
,
url
:
'wms/kcgl/kwtz/queryKwtzqd'
,
queryUrl
:
'wms/kcgl/kwtz/queryKwtzqd'
,
queryUrl
:
'wms/kcgl/kwtz/queryKwtzqd'
,
tableTitle
:
[
tableTitle
:
[
{
{
title
:
"唯一码"
,
title
:
"唯一码"
,
field
:
"packCode"
,
field
:
"packCode"
,
...
@@ -82,11 +82,6 @@
...
@@ -82,11 +82,6 @@
field
:
"sl"
,
field
:
"sl"
,
width
:
120
,
width
:
120
,
},
},
{
title
:
"状态"
,
field
:
"zt"
,
width
:
120
,
},
],
],
queryParams
:
[],
queryParams
:
[],
...
...
src/views/ccgl/kngl/kwtzd/top/edit.vue
View file @
762943de
...
@@ -12,8 +12,9 @@
...
@@ -12,8 +12,9 @@
</el-row>
</el-row>
<div
class=
"editTab"
>
<div
class=
"editTab"
>
<editTableForEdit
:indexApp=
'app'
:AuxButton=
'false'
ref=
"editTableForEdit"
:editTableTitle=
'editTableTitle'
<editTableForEdit
:indexApp=
'app'
:AuxButton=
'false'
:type=
'type'
ref=
"editTableForEdit"
v-if=
"editTableForEdit"
:computedRow=
'computedRow'
:editTableData=
"formDetail"
>
:editTableTitle=
'editTableTitle'
v-if=
"editTableForEdit"
:computedRow=
'computedRow'
:editTableData=
"formDetail"
>
<template
v-if=
"type!='view'"
#
toolbar=
"ctx"
>
<template
v-if=
"type!='view'"
#
toolbar=
"ctx"
>
<el-button
@
click=
"add"
size=
'mini'
type=
"primary"
>
选择调整明细
</el-button>
<el-button
@
click=
"add"
size=
'mini'
type=
"primary"
>
选择调整明细
</el-button>
</
template
>
</
template
>
...
@@ -40,9 +41,9 @@
...
@@ -40,9 +41,9 @@
methods
:
{
methods
:
{
add
()
{
add
()
{
/* */
/* */
if
(
this
.
form
.
ckid
)
{
if
(
this
.
form
.
ckid
)
{
this
.
showDialog
=
true
this
.
showDialog
=
true
}
else
{
}
else
{
this
.
$warning
(
'请选择仓库后再进行操作'
)
this
.
$warning
(
'请选择仓库后再进行操作'
)
}
}
...
@@ -59,6 +60,7 @@
...
@@ -59,6 +60,7 @@
/* 添加熬子表*/
/* 添加熬子表*/
list
.
forEach
(
item
=>
{
list
.
forEach
(
item
=>
{
item
.
lydjid
=
item
.
id
item
.
lydjid
=
item
.
id
item
.
mbkqName
=
''
delete
item
.
id
delete
item
.
id
delete
item
.
rqZt
delete
item
.
rqZt
delete
item
.
rqKczt
delete
item
.
rqKczt
...
@@ -146,6 +148,7 @@
...
@@ -146,6 +148,7 @@
field
:
"kqName"
,
field
:
"kqName"
,
width
:
200
,
width
:
200
,
},
},
{
{
title
:
"唯一码"
,
title
:
"唯一码"
,
field
:
"packid"
,
field
:
"packid"
,
...
@@ -163,25 +166,34 @@
...
@@ -163,25 +166,34 @@
},
},
{
{
title
:
"目标库位"
,
title
:
"目标库位"
,
field
:
"mbkwid"
,
field
:
"mbkwid"
,
width
:
240
,
width
:
240
,
type
:
'AuxInput'
,
type
:
'AuxInput'
,
typeConfig
:
{
typeConfig
:
{
"code"
:
"KWWHK"
,
"code"
:
"KWWHK"
,
"label"
:
"mbkwCode"
,
"label"
:
"mbkwCode"
,
"transform"
:
{
"transform"
:
{
"value"
:
"id"
,
"value"
:
"id"
,
"label"
:
"name"
"label"
:
"name"
},
},
// give(data) {
queryParams
:
()
=>
{
// this.form.wlid = data.id
return
{
// this.form.wlmc = data.name
ckid
:
this
.
form
.
ckid
// this.form.wlcode = data.code
}
},
// }
give
(
data
)
{
this
.
form
.
mbkqName
=
data
.
kqName
}
this
.
$forceUpdate
()
}
}
}
},
{
title
:
"目标库区"
,
field
:
"mbkqName"
,
width
:
200
,
},
...
...
src/views/ccgl/kngl/kwtzd/top/index.vue
View file @
762943de
...
@@ -40,14 +40,26 @@
...
@@ -40,14 +40,26 @@
width
:
140
width
:
140
},
},
{
{
title
:
"备注"
,
title
:
"状态"
,
field
:
"bz"
,
field
:
"zt"
,
width
:
240
width
:
100
,
"transform"
:
{
"url"
:
"wms/kcgl/kwtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
},
{
{
title
:
"维护人"
,
title
:
"维护人"
,
field
:
"whr"
field
:
"whr"
,
width
:
140
},
},
{
title
:
"备注"
,
field
:
"bz"
,
},
{
{
title
:
"维护时间"
,
title
:
"维护时间"
,
field
:
"whsj"
,
field
:
"whsj"
,
...
...
src/views/ccgl/kngl/zlhbg/top/index.vue
View file @
762943de
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"doConfirm(ctx.basePage)"
size=
'mini'
type=
"primary"
>
确认
</el-button>
<el-button
@
click=
"doConfirm(ctx.basePage)"
size=
'mini'
type=
"primary"
>
确认
</el-button>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -44,19 +44,19 @@
...
@@ -44,19 +44,19 @@
"value"
:
"id"
"value"
:
"id"
}
}
},
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
240
},
{
{
title
:
"维护人"
,
title
:
"维护人"
,
field
:
"whr"
field
:
"whr"
,
width
:
140
},
},
{
{
title
:
"维护时间"
,
title
:
"维护时间"
,
field
:
"whsj"
,
field
:
"whsj"
,
fieldType
:
'ftDateTime'
fieldType
:
'ftDateTime'
},
{
title
:
"备注"
,
field
:
"bz"
,
}
}
],
],
queryParams
:
[
queryParams
:
[
...
@@ -104,22 +104,22 @@
...
@@ -104,22 +104,22 @@
}
}
},
},
methods
:
{
methods
:
{
doConfirm
(
ctx
){
doConfirm
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否确认?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/kcgl/zlhbg/doConfirm'
,
{
this
.
$post
(
'lxyl/kcgl/zlhbg/doConfirm'
,
{
id
:
ctx
.
singleItem
.
id
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
ctx
.
refresh
()
ctx
.
refresh
()
}
}
})
})
})
})
}
else
{
}
else
{
this
.
$warning
(
'请选中一条数据'
)
this
.
$warning
(
'请选中一条数据'
)
}
}
},
},
...
@@ -135,4 +135,4 @@
...
@@ -135,4 +135,4 @@
</
script
>
</
script
>
<
style
>
<
style
>
</
style
>
</
style
>
\ No newline at end of file
src/views/index.vue
View file @
762943de
<
template
>
<
template
>
<div
class=
"min_full"
>
<div
class=
"errPage-container"
>
<!--
<iframe
src=
"https://web.wetab.link/"
class=
"full"
></iframe>
-->
<!--
<el-button
icon=
"arrow-left"
class=
"pan-back-btn"
@
click=
"back"
>
<iframe
src=
" https://chat12.aichatos.xyz/"
class=
"full"
></iframe>
返回
</el-button>
-->
<el-row>
<el-col
:span=
"12"
>
<h1
class=
"text-jumbo text-ginormous"
>
暂未设置首页
</h1>
<!--
<h2>
您没有访问权限!
</h2>
-->
<h6>
您可以联系系统管理员设置初始页面。
</h6>
<!--
<ul
class=
"list-unstyled"
>
<li
class=
"link-type"
>
<router-link
to=
"/"
>
回首页
</router-link>
</li>
</ul>
-->
</el-col>
<el-col
:span=
"12"
>
<img
:src=
"errGif"
width=
"313"
height=
"428"
alt=
"Girl has dropped her ice cream."
>
</el-col>
</el-row>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
errGif
from
'@/assets/401_images/401.gif'
export
default
{
export
default
{
name
:
'Page401'
,
data
()
{
data
()
{
return
{
return
{
errGif
:
errGif
+
'?'
+
+
new
Date
()
}
}
},
},
methods
:
{
methods
:
{
back
()
{
if
(
this
.
$route
.
query
.
noGoBack
)
{
this
.
$router
.
push
({
path
:
'/'
})
}
else
{
this
.
$router
.
go
(
-
1
)
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
.errPage-container
{
width
:
800px
;
max-width
:
100%
;
margin
:
100px
auto
;
.pan-back-btn
{
background
:
#008489
;
color
:
#fff
;
border
:
none
!
important
;
}
.pan-gif
{
margin
:
0
auto
;
display
:
block
;
}
.pan-img
{
display
:
block
;
margin
:
0
auto
;
width
:
100%
;
}
.text-jumbo
{
font-size
:
38px
;
font-weight
:
700
;
color
:
#484848
;
}
.list-unstyled
{
font-size
:
14px
;
li
{
padding-bottom
:
5px
;
}
a
{
color
:
#008489
;
text-decoration
:
none
;
&
:hover
{
text-decoration
:
underline
;
}
}
}
}
</
style
>
</
style
>
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