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
9a7397a2
authored
Sep 29, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复
parent
523e1a01
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
src/views/List/inquire.vue
src/views/List/quote.vue
src/views/List/inquire.vue
View file @
9a7397a2
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<el-autocomplete
v-model=
"formParam.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
<el-autocomplete
v-model=
"formParam.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
>
<el-form-item
label=
"状态"
>
<el-select
v-model=
"formParam.i_status"
placeholder=
"请选择"
>
<el-select
v-model=
"formParam.i_status"
placeholder=
"请选择"
clearable
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"已关闭"
value=
"-1"
></el-option>
<el-option
label=
"已关闭"
value=
"-1"
></el-option>
<el-option
label=
"待报价"
value=
"1"
></el-option>
<el-option
label=
"待报价"
value=
"1"
></el-option>
...
...
src/views/List/quote.vue
View file @
9a7397a2
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
<div
class=
"quote-con"
>
<div
class=
"quote-con"
>
<el-form
:inline=
"true"
:model=
"formParam"
class=
"demo-form-inline"
>
<el-form
:inline=
"true"
:model=
"formParam"
class=
"demo-form-inline"
>
<el-form-item
label=
"报价型号"
>
<el-form-item
label=
"报价型号"
>
<el-autocomplete
v-model=
"formParam.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
<el-autocomplete
clearable
v-model=
"formParam.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
</el-form-item>
</el-form-item>
<el-form-item
label=
"品牌"
>
<el-form-item
label=
"品牌"
>
<el-autocomplete
v-model=
"formParam.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
<el-autocomplete
clearable
v-model=
"formParam.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
>
<el-form-item
label=
"状态"
>
<el-select
v-model=
"formParam.status"
placeholder=
"请选择"
>
<el-select
v-model=
"formParam.status"
placeholder=
"请选择"
clearable
>
<el-option
label=
"确认中"
value=
"1"
></el-option>
<el-option
label=
"确认中"
value=
"1"
></el-option>
<el-option
label=
"已选中"
value=
"2"
></el-option>
<el-option
label=
"已选中"
value=
"2"
></el-option>
<el-option
label=
"已成单"
value=
"
4
"
></el-option>
<el-option
label=
"已成单"
value=
"
3
"
></el-option>
<el-option
label=
"已关闭"
value=
"
5
"
></el-option>
<el-option
label=
"已关闭"
value=
"
4
"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"最近报价时间"
>
<el-form-item
label=
"最近报价时间"
>
...
@@ -68,10 +68,11 @@
...
@@ -68,10 +68,11 @@
<el-table-column
prop=
"quote_brand_name"
label=
"报价品牌"
width=
"200"
></el-table-column>
<el-table-column
prop=
"quote_brand_name"
label=
"报价品牌"
width=
"200"
></el-table-column>
<el-table-column
prop=
"status"
label=
"状态"
width=
"100"
>
<el-table-column
prop=
"status"
label=
"状态"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.quote_status==1"
class=
"f-green"
>
确认中
</span>
<el-tag
type=
"primary"
v-if=
"scope.row.quote_status == 1"
disable-transitions
>
{{
scope
.
row
.
quote_status_val
}}
</el-tag>
<span
v-else-if=
"scope.row.quote_status==2"
class=
"f-yellow1"
>
已选中
</span>
<el-tag
type=
"info"
v-else-if=
"scope.row.quote_status == 2"
disable-transitions
>
{{
scope
.
row
.
quote_status_val
}}
</el-tag>
<span
v-else-if=
"scope.row.quote_status==3"
>
已成单
</span>
<el-tag
type=
"success"
v-else-if=
"scope.row.quote_status == 3"
disable-transitions
>
{{
scope
.
row
.
quote_status_val
}}
</el-tag>
<span
v-else-if=
"scope.row.quote_status==4"
class=
"f-red1"
>
已关闭
</span>
<el-tag
type=
"danger"
v-else-if=
"scope.row.quote_status == 4"
disable-transitions
>
{{
scope
.
row
.
quote_status_val
}}
</el-tag>
<el-tag
type=
"primary"
v-else
>
{{
scope
.
row
.
quote_status_val
}}
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"expire_status_val"
label=
"是否有效"
width=
"100"
></el-table-column>
<el-table-column
prop=
"expire_status_val"
label=
"是否有效"
width=
"100"
></el-table-column>
...
@@ -101,13 +102,13 @@
...
@@ -101,13 +102,13 @@
<
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
,
Tooltip
}
from
'element-ui'
import
{
Autocomplete
,
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Message
,
MessageBox
,
Option
,
Pagination
,
Popover
,
Select
,
Table
,
TableColumn
,
Tooltip
,
Tag
}
from
'element-ui'
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
Tool
from
'../../tool'
import
Tool
from
'../../tool'
Vue
.
prototype
.
$message
=
Message
Vue
.
prototype
.
$message
=
Message
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Autocomplete
).
use
(
Tooltip
).
use
(
Popover
);
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Autocomplete
).
use
(
Tooltip
).
use
(
Popover
);
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
);
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
)
.
use
(
Tag
)
;
export
default
{
export
default
{
name
:
"inquire"
,
name
:
"inquire"
,
...
...
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