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
6551b208
Commit
6551b208
authored
Jul 12, 2024
by
周毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退货单增加明细关闭
parent
26740d56
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
167 additions
and
91 deletions
+167
-91
mx.vue
src/views/ccgl/ckgl/ckd/mx.vue
+1
-12
mx.vue
src/views/ccgl/kngl/bzzy/mx.vue
+11
-1
mx.vue
src/views/ccgl/rkgl/rkd/mx.vue
+5
-9
mx.vue
src/views/ccgl/thgl/ckth/mx.vue
+70
-37
ckdmx.vue
src/views/ccgl/thgl/rkth/ckdmx.vue
+76
-31
index.vue
src/views/ccgl/zlgl/jyd/top/index.vue
+4
-1
No files found.
src/views/ccgl/ckgl/ckd/mx.vue
View file @
6551b208
...
...
@@ -99,17 +99,6 @@
field
:
"zlh"
,
width
:
180
,
},
// {
// title: "已出数量",
// field: "ycsl",
// width: 100,
// },
// {
// title: "过账数量",
// field: "gzsl",
// width: 100,
// },
{
title
:
"来源单号"
,
field
:
"lydjid"
,
...
...
@@ -118,7 +107,7 @@
{
title
:
"关闭人"
,
field
:
"gbr"
,
width
:
12
0
,
width
:
8
0
,
},
{
title
:
"关闭原因"
,
...
...
src/views/ccgl/kngl/bzzy/mx.vue
View file @
6551b208
...
...
@@ -73,7 +73,17 @@
title
:
"装包数量"
,
field
:
"zbsl"
,
fieldType
:
"float"
}
},
{
title
:
"创建人"
,
field
:
"cjr"
,
fieldType
:
"ftString"
},
{
title
:
"创建时间"
,
field
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
],
queryParams
:
[],
...
...
src/views/ccgl/rkgl/rkd/mx.vue
View file @
6551b208
...
...
@@ -5,7 +5,7 @@
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
</
template
>
...
...
@@ -125,7 +125,7 @@
{
title
:
"关闭人"
,
field
:
"gbr"
,
width
:
12
0
,
width
:
8
0
,
},
{
title
:
"关闭原因"
,
...
...
@@ -159,7 +159,7 @@
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'lxyl/rkgl/rk
dgb
/close/rktzmx'
,
{
this
.
$post
(
'lxyl/rkgl/rk
tz
/close/rktzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
...
...
@@ -184,12 +184,8 @@
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/rkdgb/batchUnClose/rktzmx'
,
{
datas
:[
{
id
:
ctx
.
singleItem
.
id
}
]
this
.
$post
(
'lxyl/rkgl/rktz/unclose/rktzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
...
...
src/views/ccgl/thgl/ckth/mx.vue
View file @
6551b208
...
...
@@ -5,7 +5,8 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
</
template
>
</BasePage>
...
...
@@ -74,26 +75,6 @@
field
:
"jldwName"
,
width
:
100
,
},
// {
// title: "应收数量",
// field: "yssl",
// width: 100,
// },
// {
// title: "码盘数量",
// field: "ztsl",
// width: 120,
// },
// {
// title: "包装数量",
// field: "bzsl",
// width: 120,
// },
// {
// title: "入库数量",
// field: "rksl",
// width: 100,
// },
{
title
:
"数量"
,
field
:
"yssl"
,
...
...
@@ -104,6 +85,11 @@
field
:
"zbsl"
,
fieldType
:
"float"
},
{
title
:
"上架数量"
,
field
:
"sjsl"
,
fieldType
:
"float"
},
{
title
:
"入库数量"
,
field
:
"rksl"
,
...
...
@@ -114,22 +100,21 @@
field
:
"zlh"
,
width
:
180
,
},
// {
// title: "关闭人",
// field: "gbr",
// width: 120,
// },
// {
// title: "关闭原因",
// field: "gbyy",
// width: 200,
// },
// {
// title: "关闭时间",
// field: "gbsj",
// fieldType: 'ftDateTime'
// },
{
title
:
"关闭人"
,
field
:
"gbr"
,
width
:
80
,
},
{
title
:
"关闭原因"
,
field
:
"gbyy"
,
width
:
200
,
},
{
title
:
"关闭时间"
,
field
:
"gbsj"
,
fieldType
:
'ftDateTime'
},
{
title
:
"备注"
,
field
:
"bz"
,
...
...
@@ -143,6 +128,54 @@
},
methods
:
{
gb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$prompt
(
'请输入原因'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'lxyl/rkgl/ckthtz/close/rktzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
$warning
(
'请输入关闭原因'
)
}
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qxgb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/ckthtz/unclose/rktzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
},
...
...
src/views/ccgl/thgl/rkth/ckdmx.vue
View file @
6551b208
...
...
@@ -6,7 +6,8 @@
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
</
template
>
</BasePage>
...
...
@@ -42,7 +43,18 @@
/* 基本配置*/
url
:
'lxyl/rkgl/rkthtz/query/detail'
,
queryUrl
:
'lxyl/rkgl/rkthtz/query/detail'
,
tableTitle
:
[{
tableTitle
:
[
{
title
:
"状态"
,
field
:
"zt"
,
width
:
100
,
"transform"
:
{
"url"
:
"lxyl/rkgl/rkthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
fieldType
:
"upper"
,
...
...
@@ -72,7 +84,7 @@
{
title
:
"数量"
,
field
:
"yfsl"
,
width
:
100
,
fieldType
:
"float"
},
{
title
:
"拣货数量"
,
...
...
@@ -85,35 +97,20 @@
fieldType
:
"float"
},
{
title
:
"状态"
,
field
:
"zt"
,
width
:
100
,
"transform"
:
{
"url"
:
"lxyl/rkgl/rkthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
title
:
"关闭人"
,
field
:
"gbr"
,
width
:
80
,
},
{
title
:
"关闭原因"
,
field
:
"gbyy"
,
width
:
200
,
},
{
title
:
"关闭时间"
,
field
:
"gbsj"
,
fieldType
:
'ftDateTime'
},
// {
// title: "来源单号",
// field: "lydjid",
// width: 120,
// },
// {
// title: "关闭人",
// field: "gbr",
// width: 120,
// },
// {
// title: "关闭原因",
// field: "gbyy",
// width: 200,
// },
// {
// title: "关闭时间",
// field: "gbsj",
// fieldType: 'ftDateTime'
// },
{
title
:
"备注"
,
field
:
"bz"
,
...
...
@@ -127,6 +124,54 @@
},
methods
:
{
gb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$prompt
(
'请输入原因'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'lxyl/rkgl/rkthtz/close/cktzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
$warning
(
'请输入关闭原因'
)
}
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qxgb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/rkthtz/unclose/cktzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
},
...
...
src/views/ccgl/zlgl/jyd/top/index.vue
View file @
6551b208
...
...
@@ -19,7 +19,10 @@
<
script
>
// import Edit from './edit.vue'
import
Add
from
'./add.vue'
import
wlsx
from
'common/src/mixin/wlsx.js'
import
wlphsx
from
'common/src/mixin/wlphsx.js'
export
default
{
mixins
:
[
wlsx
,
wlphsx
],
data
()
{
return
{
power
:
{
...
...
@@ -219,7 +222,7 @@
},
{
label
:
'来源单号'
,
prop
:
'lyd
Code
'
,
prop
:
'lyd
jDjid
'
,
span
:
6
,
type
:
'input'
,
value
:
''
...
...
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