Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2c6859b2
authored
Feb 22, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
dcde8fdc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
10 deletions
src/views/Goods/goods.vue
src/views/List/inquire.vue
src/views/List/quote.vue
src/views/OrderTrack/goods.vue
src/views/OrderTrack/returnGoods.vue
src/views/Store/goodslist.vue
src/views/Store/list.vue
src/views/Goods/goods.vue
View file @
2c6859b2
...
@@ -15,9 +15,6 @@
...
@@ -15,9 +15,6 @@
<el-form-item
label=
"创建时间"
>
<el-form-item
label=
"创建时间"
>
<el-date-picker
v-model=
"formParam.date"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
<el-date-picker
v-model=
"formParam.date"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"更新时间"
>
<el-date-picker
v-model=
"formParam.date"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"submit"
>
搜索
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
搜索
</el-button>
<el-button
@
click=
"resetForm('formParam')"
>
重置
</el-button>
<el-button
@
click=
"resetForm('formParam')"
>
重置
</el-button>
...
@@ -49,7 +46,6 @@
...
@@ -49,7 +46,6 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"140"
align=
"center"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"140"
align=
"center"
></el-table-column>
<el-table-column
prop=
"update_time"
label=
"更新时间"
width=
"140"
align=
"center"
></el-table-column>
</el-table>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
</div>
...
@@ -267,6 +263,7 @@ export default {
...
@@ -267,6 +263,7 @@ export default {
})
})
},
},
resetForm
(
formName
)
{
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
},
submit
()
{
submit
()
{
...
...
src/views/List/inquire.vue
View file @
2c6859b2
...
@@ -1127,7 +1127,8 @@ export default {
...
@@ -1127,7 +1127,8 @@ export default {
* @param formName
* @param formName
*/
*/
resetForm
(
formName
)
{
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
create_time_val
=
''
;
this
.
deadline_time_val
=
''
;
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
},
/**
/**
...
...
src/views/List/quote.vue
View file @
2c6859b2
...
@@ -669,7 +669,7 @@ export default {
...
@@ -669,7 +669,7 @@ export default {
})
})
},
},
resetForm
(
formName
)
{
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
quote_time_val
=
''
;
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
},
onSubmit
()
{
onSubmit
()
{
...
...
src/views/OrderTrack/goods.vue
View file @
2c6859b2
...
@@ -258,6 +258,7 @@ export default {
...
@@ -258,6 +258,7 @@ export default {
this
.
getData
();
this
.
getData
();
},
},
resetForm
(
formName
)
{
resetForm
(
formName
)
{
this
.
create_time_val
=
''
;
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
},
//生成发货单
//生成发货单
...
...
src/views/OrderTrack/returnGoods.vue
View file @
2c6859b2
...
@@ -143,6 +143,7 @@ export default {
...
@@ -143,6 +143,7 @@ export default {
this
.
getData
();
this
.
getData
();
},
},
resetForm
(
formName
)
{
resetForm
(
formName
)
{
this
.
create_time_val
=
''
;
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
},
/**
/**
...
...
src/views/Store/goodslist.vue
View file @
2c6859b2
...
@@ -469,7 +469,7 @@
...
@@ -469,7 +469,7 @@
<
script
>
<
script
>
import
Vue
from
'vue'
;
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Autocomplete
,
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Message
,
MessageBox
,
Option
,
Pagination
,
Popover
,
Select
,
Table
,
TableColumn
,
Tag
,
Tooltip
,
Upload
}
from
'element-ui'
import
{
Autocomplete
,
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Message
,
MessageBox
,
Option
,
Pagination
,
Popover
,
Select
,
Table
,
TableColumn
,
Tag
,
Tooltip
,
Upload
}
from
'element-ui'
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
Tool
from
"@/tool"
;
import
Tool
from
"@/tool"
;
...
@@ -576,15 +576,15 @@ export default {
...
@@ -576,15 +576,15 @@ export default {
* @param fileList
* @param fileList
*/
*/
importTemplate
(
file
,
fileList
)
{
importTemplate
(
file
,
fileList
)
{
var
that
=
this
;
var
that
=
this
;
if
(
file
.
code
===
0
)
{
if
(
file
.
code
===
0
)
{
this
.
$message
({
this
.
$message
({
message
:
'导入成功'
,
message
:
'导入成功'
,
type
:
'success'
,
type
:
'success'
,
onClose
(){
onClose
()
{
that
.
$router
.
push
({
that
.
$router
.
push
({
path
:
"/goodDetail"
,
path
:
"/goodDetail"
,
query
:
{
import_sn
:
file
.
data
.
import_sn
},
query
:
{
import_sn
:
file
.
data
.
import_sn
},
});
});
}
}
});
});
...
@@ -1108,6 +1108,7 @@ export default {
...
@@ -1108,6 +1108,7 @@ export default {
},
},
resetForm
(
formName
)
{
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
formParam
.
date
=
''
;
this
.
date_val
=
''
;
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
},
onSubmit
()
{
onSubmit
()
{
...
...
src/views/Store/list.vue
View file @
2c6859b2
...
@@ -507,6 +507,7 @@ export default {
...
@@ -507,6 +507,7 @@ export default {
},
},
resetForm
(
formName
)
{
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
formParam
.
date
=
''
;
this
.
cp_time_val
=
''
;
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
this
.
formParam
.
status
=
''
;
this
.
formParam
.
status
=
''
;
},
},
...
...
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