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
ee76b58b
Commit
ee76b58b
authored
Jun 26, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上立库、入平库和入平库拣货,选择入库单之后,根据这个 lxyl/common/ck/queryCkidByRktzid {rktzid:入库单id}
查询仓库,如果查询结果只有一个,那直接赋值给仓库,如果结果有多条则不赋值,手工选择仓库的时候,也用这个url
parent
3bd31e40
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
4 deletions
+28
-4
index.vue
src/views/ccgl/jcsj/gys/gys/index.vue
+1
-1
edit.vue
src/views/ccgl/rkgl/slk/top/edit.vue
+13
-1
edit.vue
src/views/ccgl/rkgl/spk/top/edit.vue
+13
-1
index.vue
src/views/jcsj/wl/wlxx/index.vue
+1
-1
No files found.
src/views/ccgl/jcsj/gys/gys/index.vue
View file @
ee76b58b
...
...
@@ -33,7 +33,7 @@
<ImportTempButton
@
success=
"()=>
{
$refs['TablePager'].pageQuery()
}" :url="'jcsj/gys/import'">
</ImportTempButton>
-->
<el-button
@
click=
"tb()"
size=
'mini'
type=
"primary"
>
同步
</el-button>
<el-button
v-if=
"powerObj['22']"
@
click=
"tb()"
size=
'mini'
type=
"primary"
>
同步
</el-button>
<ImportButton
v-if=
"powerObj['01']"
style=
"margin-left: 10px;"
@
success=
"()=>
{
$refs['TablePager'].pageQuery()
}" :url="'jcsj/gys/excel/import'" />
...
...
src/views/ccgl/rkgl/slk/top/edit.vue
View file @
ee76b58b
...
...
@@ -118,7 +118,7 @@
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"lxyl/
jcsj/uck/ck/queryCjck
id"
,
"src"
:
"lxyl/
common/ck/queryCkidByRktz
id"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
@@ -237,6 +237,18 @@
transform
:
{
value
:
'id'
,
label
:
'djid'
},
give
:(
item
)
=>
{
this
.
$post
(
'lxyl/common/ck/queryCkidByRktzid'
,{
rktzid
:
item
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
let
list
=
res
.
data
.
records
||
[]
if
(
list
.
length
==
1
){
}
this
.
form
.
ckid
=
list
[
0
].
id
}
})
}
}
}
...
...
src/views/ccgl/rkgl/spk/top/edit.vue
View file @
ee76b58b
...
...
@@ -155,7 +155,7 @@ export default {
value
:
""
,
required
:
true
,
typeConfig
:
{
src
:
"lxyl/
jcsj/uck/ck/queryCjck
id"
,
src
:
"lxyl/
common/ck/queryCkidByRktz
id"
,
match
:
{
value
:
"id"
,
label
:
"name"
,
...
...
@@ -261,6 +261,18 @@ export default {
value
:
"id"
,
label
:
"djid"
,
},
give
:(
item
)
=>
{
this
.
$post
(
'lxyl/common/ck/queryCkidByRktzid'
,{
rktzid
:
item
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
let
list
=
res
.
data
.
records
||
[]
if
(
list
.
length
==
1
){
}
this
.
form
.
ckid
=
list
[
0
].
id
}
})
}
},
},
],
...
...
src/views/jcsj/wl/wlxx/index.vue
View file @
ee76b58b
...
...
@@ -36,7 +36,7 @@
<ImportTempButton
@
success=
"()=>
{
$refs['TablePager'].pageQuery()
}" :url="'jcsj/wlxx/import'">
</ImportTempButton>
-->
<el-button
@
click=
"tbwl()"
size=
'mini'
type=
"primary"
>
同步物料
</el-button>
<el-button
v-if=
"powerObj['22']"
@
click=
"tbwl()"
size=
'mini'
type=
"primary"
>
同步物料
</el-button>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
...
...
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