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
e4f969a3
Commit
e4f969a3
authored
Mar 05, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改接口/改参数(同步领料单)
parent
6f56379f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
index.vue
src/views/ccgl/ckgl/ckd/top/index.vue
+1
-1
tbwl.vue
src/views/ccgl/ckgl/ckd/top/tbwl.vue
+13
-13
No files found.
src/views/ccgl/ckgl/ckd/top/index.vue
View file @
e4f969a3
...
...
@@ -13,7 +13,7 @@
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
}" :url="'/lxyl/ckgl/cktz/import'" /> -->
<el-button
@
click=
"tbwl(ctx.basePage)"
size=
'mini'
type=
"primary"
style=
"margin-left: 10px;"
>
同步
sap出库
单
</el-button>
<el-button
@
click=
"tbwl(ctx.basePage)"
size=
'mini'
type=
"primary"
style=
"margin-left: 10px;"
>
同步
领料
单
</el-button>
</
template
>
...
...
src/views/ccgl/ckgl/ckd/top/tbwl.vue
View file @
e4f969a3
...
...
@@ -40,8 +40,8 @@ this.$post('common/datetime',{}).then(res=>{
let
nowTime
=
res
.
data
.
data
||
new
Date
().
getTime
()
/* 初始赋值*/
this
.
nowTime
=
nowTime
this
.
editColItemList
[
0
].
value
=
nowTime
-
24
*
60
*
60
*
1000
this
.
editColItemList
[
1
].
value
=
nowTime
//
this.editColItemList[0].value=nowTime-24*60*60*1000
this
.
editColItemList
[
0
].
value
=
nowTime
this
.
loading
=
true
})
...
...
@@ -53,17 +53,17 @@ this.$post('common/datetime',{}).then(res=>{
readonly
:
false
,
loading
:
false
,
editColItemList
:[
// {
// label: '开始时间',
// prop: 'start',
// span: 24,
// type: 'datetime',
// value: '',
// "required": true,
// },
{
label
:
'开始时间'
,
prop
:
'start'
,
span
:
24
,
type
:
'datetime'
,
value
:
''
,
"required"
:
true
,
},
{
label
:
'结束时间'
,
prop
:
'end'
,
label
:
'时间'
,
prop
:
'time'
,
span
:
24
,
type
:
'datetime'
,
value
:
''
,
...
...
@@ -78,7 +78,7 @@ this.$post('common/datetime',{}).then(res=>{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
){
this
.
isLoading
=
true
this
.
$post
(
'lxyl/ckgl/
llck/sap/sync
'
,
this
.
form
).
then
(
res
=>
{
this
.
$post
(
'lxyl/ckgl/
cktz/sync/lld
'
,
this
.
form
).
then
(
res
=>
{
if
(
res
.
success
){
this
.
isLoading
=
false
this
.
$success
(
'操作成功'
)
...
...
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