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
19bb48d0
authored
May 25, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
8516bc27
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
108 additions
and
86 deletions
src/assets/css/list/inquireDetail.less
src/assets/css/list/inquireDetail.min.css
src/views/List/inquire.vue
src/views/List/inquireDetail.vue
src/views/Store/list.vue
view/app.9358fc146056d17c564c.js → view/app.ca72767a5d359863ff0c.js
view/index.html
view/js/14.js
view/js/19.js
view/js/22.js
src/assets/css/list/inquireDetail.less
View file @
19bb48d0
.inquireDetail {
.inquiry-information {
position: relative;
height: 162px;
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #E5EBF6;
padding-top: 20px;
padding-left: 17px;
margin-bottom: 20px;
padding-bottom: 15px;
&:after {
position: absolute;
...
...
@@ -29,7 +30,9 @@
.input-box {
margin-top: 14px;
margin-bottom: 20px;
.fl{
margin-bottom: 10px;
}
.p-text {
font-size: 14px;
color: #333333;
...
...
src/assets/css/list/inquireDetail.min.css
View file @
19bb48d0
.inquireDetail
.inquiry-information
{
position
:
relative
;
height
:
162px
;
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding-top
:
20px
;
padding-left
:
17px
;
margin-bottom
:
20px
}
.inquireDetail
.inquiry-information
:after
{
position
:
absolute
;
top
:
20px
;
left
:
0
;
width
:
5px
;
height
:
21px
;
background
:
#1969F9
;
content
:
''
;
display
:
block
}
.inquireDetail
.inquiry-information
.tit
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.inquiry-information
.input-box
{
margin-top
:
14px
;
margin-bottom
:
20px
}
.inquireDetail
.inquiry-information
.input-box
.p-text
{
font-size
:
14px
;
color
:
#333333
;
vertical-align
:
middle
;
margin-right
:
10px
}
.inquireDetail
.inquiry-information
.input-box
input
{
height
:
38px
;
background
:
#F1F4FA
;
border-radius
:
2px
;
vertical-align
:
middle
;
box-sizing
:
border-box
;
text-indent
:
12px
;
font-size
:
14px
;
color
:
#333333
}
.inquireDetail
.inquiry-information
.text
span
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.inquiry-information
.text
em
{
font-size
:
16px
;
color
:
#CC8200
;
font-weight
:
bold
}
.inquireDetail
.quote
{
position
:
relative
;
padding-top
:
20px
;
padding-bottom
:
20px
;
padding-left
:
17px
;
background
:
#FFFFFF
}
.inquireDetail
.quote
:after
{
position
:
absolute
;
top
:
20px
;
left
:
0
;
width
:
5px
;
height
:
21px
;
background
:
#1969F9
;
content
:
''
;
display
:
block
}
.inquireDetail
.quote
.tit
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.quote
.btn-nav
{
margin-top
:
17px
;
margin-bottom
:
20px
}
.inquireDetail
.quote
.btn-nav
.update
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
}
.inquireDetail
.quote
.btn-nav
.update
i
{
margin-left
:
3px
}
.inquireDetail
.quote
.btn-nav
.update
:hover
{
background
:
#FCA955
;
color
:
#fff
}
.inquireDetail
.quote
.btn-nav
.updatex
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
}
.inquireDetail
.quote
.btn-nav
.updatex
:hover
{
background
:
#FCA955
;
color
:
#fff
}
.inquireDetail
.assistant
{
padding-top
:
3px
;
padding-bottom
:
20px
;
padding-left
:
17px
;
background
:
#FFFFFF
}
.inquireDetail
.assistant
.ic
{
width
:
248px
;
height
:
44px
;
background
:
url("../../images/x.png")
no-repeat
center
;
background-size
:
cover
;
display
:
block
}
.inquireDetail
.assistant
.tab
{
border
:
1px
solid
#E5EBF6
;
margin-bottom
:
10px
}
.inquireDetail
.assistant
.tab
li
{
width
:
102px
;
height
:
42px
;
background
:
#F1F4FA
;
border-radius
:
2px
2px
0px
0px
;
font-size
:
14px
;
color
:
#646b78
;
cursor
:
pointer
}
.inquireDetail
.assistant
.tab
li
.curr
{
position
:
relative
;
top
:
1px
;
background
:
#FFFFFF
;
font-size
:
16px
;
color
:
#333333
;
border-bottom
:
1px
solid
#FFFFFF
}
.inquireDetail
.dcg
{
display
:
block
;
width
:
66px
;
height
:
26px
;
border-radius
:
2px
;
text-align
:
center
;
line-height
:
26px
;
border
:
1px
solid
#1969F9
;
background
:
#E5EEFF
;
color
:
#1969F9
;
margin-right
:
10px
;
font-size
:
14px
;
transition
:
all
.5s
}
.inquireDetail
.dcg
:hover
{
background
:
#1969F9
;
cursor
:
pointer
;
color
:
#fff
}
.inquireDetail
.dcg.disabled
{
background
:
#ccc
;
color
:
#fff
;
border-color
:
#ccc
;
cursor
:
not-allowed
}
.inquireDetail
.dcg.heti
{
width
:
56px
;
background
:
#fff
}
.inquireDetail
.dcg.heti
:hover
{
background
:
#E5EEFF
;
color
:
#1969F9
}
.inquireDetail
.dcg.xjk
{
position
:
relative
;
left
:
-11px
;
border-left
:
1px
solid
#1969F9
}
.inquireDetail
.dcg.xjk
:hover
{
border-left
:
1px
solid
#1969F9
}
.inquireDetail
.dcg.delbtn
{
border
:
1px
solid
#FC1F00
;
background
:
#FFE7E3
;
color
:
#FC1F00
}
.inquireDetail
.dcg.delbtn
:hover
{
background
:
#FF715D
;
color
:
#fff
}
.xx
.el-form-item__label
{
white-space
:
nowrap
}
.xx
.dialog-footer
{
text-align
:
center
!important
}
.xx
.updatebox
{
position
:
relative
}
.xx
.updatebox
.selectdw
{
height
:
36px
;
width
:
36px
;
position
:
absolute
;
top
:
1px
;
right
:
2px
}
.xx
.updatebox
.selectdw
.el-select
{
width
:
36px
;
height
:
37px
;
border-left
:
1px
solid
#C0C4CC
}
.xx
.updatebox
.selectdw
.el-select
input
{
border
:
0px
;
padding
:
0px
;
height
:
31px
;
width
:
36px
;
font-size
:
14px
;
color
:
#333
;
text-align
:
center
}
.xx
.updatebox
.selectdw
.el-select
.el-input__prefix
,
.xx
.updatebox
.selectdw
.el-select
.el-input__suffix
{
display
:
none
!important
}
.price-more
.more-search-btn
{
width
:
70px
;
height
:
26px
;
background
:
#F1F4FA
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
font-size
:
12px
;
color
:
#1969F9
;
text-align
:
center
;
transition
:
all
.5s
;
position
:
relative
;
cursor
:
pointer
}
.price-more
.more-search-btn
:hover
{
border
:
1px
solid
#1969F9
}
\ No newline at end of file
.inquireDetail
.inquiry-information
{
position
:
relative
;
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding-top
:
20px
;
padding-left
:
17px
;
margin-bottom
:
20px
;
padding-bottom
:
15px
}
.inquireDetail
.inquiry-information
:after
{
position
:
absolute
;
top
:
20px
;
left
:
0
;
width
:
5px
;
height
:
21px
;
background
:
#1969F9
;
content
:
''
;
display
:
block
}
.inquireDetail
.inquiry-information
.tit
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.inquiry-information
.input-box
{
margin-top
:
14px
;
margin-bottom
:
20px
}
.inquireDetail
.inquiry-information
.input-box
.fl
{
margin-bottom
:
10px
}
.inquireDetail
.inquiry-information
.input-box
.p-text
{
font-size
:
14px
;
color
:
#333333
;
vertical-align
:
middle
;
margin-right
:
10px
}
.inquireDetail
.inquiry-information
.input-box
input
{
height
:
38px
;
background
:
#F1F4FA
;
border-radius
:
2px
;
vertical-align
:
middle
;
box-sizing
:
border-box
;
text-indent
:
12px
;
font-size
:
14px
;
color
:
#333333
}
.inquireDetail
.inquiry-information
.text
span
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.inquiry-information
.text
em
{
font-size
:
16px
;
color
:
#CC8200
;
font-weight
:
bold
}
.inquireDetail
.quote
{
position
:
relative
;
padding-top
:
20px
;
padding-bottom
:
20px
;
padding-left
:
17px
;
background
:
#FFFFFF
}
.inquireDetail
.quote
:after
{
position
:
absolute
;
top
:
20px
;
left
:
0
;
width
:
5px
;
height
:
21px
;
background
:
#1969F9
;
content
:
''
;
display
:
block
}
.inquireDetail
.quote
.tit
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
bold
}
.inquireDetail
.quote
.btn-nav
{
margin-top
:
17px
;
margin-bottom
:
20px
}
.inquireDetail
.quote
.btn-nav
.update
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
}
.inquireDetail
.quote
.btn-nav
.update
i
{
margin-left
:
3px
}
.inquireDetail
.quote
.btn-nav
.update
:hover
{
background
:
#FCA955
;
color
:
#fff
}
.inquireDetail
.quote
.btn-nav
.updatex
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
}
.inquireDetail
.quote
.btn-nav
.updatex
:hover
{
background
:
#FCA955
;
color
:
#fff
}
.inquireDetail
.assistant
{
padding-top
:
3px
;
padding-bottom
:
20px
;
padding-left
:
17px
;
background
:
#FFFFFF
}
.inquireDetail
.assistant
.ic
{
width
:
248px
;
height
:
44px
;
background
:
url("../../images/x.png")
no-repeat
center
;
background-size
:
cover
;
display
:
block
}
.inquireDetail
.assistant
.tab
{
border
:
1px
solid
#E5EBF6
;
margin-bottom
:
10px
}
.inquireDetail
.assistant
.tab
li
{
width
:
102px
;
height
:
42px
;
background
:
#F1F4FA
;
border-radius
:
2px
2px
0px
0px
;
font-size
:
14px
;
color
:
#646b78
;
cursor
:
pointer
}
.inquireDetail
.assistant
.tab
li
.curr
{
position
:
relative
;
top
:
1px
;
background
:
#FFFFFF
;
font-size
:
16px
;
color
:
#333333
;
border-bottom
:
1px
solid
#FFFFFF
}
.inquireDetail
.dcg
{
display
:
block
;
width
:
66px
;
height
:
26px
;
border-radius
:
2px
;
text-align
:
center
;
line-height
:
26px
;
border
:
1px
solid
#1969F9
;
background
:
#E5EEFF
;
color
:
#1969F9
;
margin-right
:
10px
;
font-size
:
14px
;
transition
:
all
.5s
}
.inquireDetail
.dcg
:hover
{
background
:
#1969F9
;
cursor
:
pointer
;
color
:
#fff
}
.inquireDetail
.dcg.disabled
{
background
:
#ccc
;
color
:
#fff
;
border-color
:
#ccc
;
cursor
:
not-allowed
}
.inquireDetail
.dcg.heti
{
width
:
56px
;
background
:
#fff
}
.inquireDetail
.dcg.heti
:hover
{
background
:
#E5EEFF
;
color
:
#1969F9
}
.inquireDetail
.dcg.xjk
{
position
:
relative
;
left
:
-11px
;
border-left
:
1px
solid
#1969F9
}
.inquireDetail
.dcg.xjk
:hover
{
border-left
:
1px
solid
#1969F9
}
.inquireDetail
.dcg.delbtn
{
border
:
1px
solid
#FC1F00
;
background
:
#FFE7E3
;
color
:
#FC1F00
}
.inquireDetail
.dcg.delbtn
:hover
{
background
:
#FF715D
;
color
:
#fff
}
.xx
.el-form-item__label
{
white-space
:
nowrap
}
.xx
.dialog-footer
{
text-align
:
center
!important
}
.xx
.updatebox
{
position
:
relative
}
.xx
.updatebox
.selectdw
{
height
:
36px
;
width
:
36px
;
position
:
absolute
;
top
:
1px
;
right
:
2px
}
.xx
.updatebox
.selectdw
.el-select
{
width
:
36px
;
height
:
37px
;
border-left
:
1px
solid
#C0C4CC
}
.xx
.updatebox
.selectdw
.el-select
input
{
border
:
0px
;
padding
:
0px
;
height
:
31px
;
width
:
36px
;
font-size
:
14px
;
color
:
#333
;
text-align
:
center
}
.xx
.updatebox
.selectdw
.el-select
.el-input__prefix
,
.xx
.updatebox
.selectdw
.el-select
.el-input__suffix
{
display
:
none
!important
}
.price-more
.more-search-btn
{
width
:
70px
;
height
:
26px
;
background
:
#F1F4FA
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
font-size
:
12px
;
color
:
#1969F9
;
text-align
:
center
;
transition
:
all
.5s
;
position
:
relative
;
cursor
:
pointer
}
.price-more
.more-search-btn
:hover
{
border
:
1px
solid
#1969F9
}
\ No newline at end of file
src/views/List/inquire.vue
View file @
19bb48d0
...
...
@@ -27,7 +27,7 @@
<el-table-column
prop=
"goods_name"
label=
"型号"
min-width=
"10%"
>
<template
slot-scope=
"scope"
>
<div
class=
"p-copy"
>
<p>
{{
scope
.
row
.
goods_name
}}
</p>
<p
style=
"padding-right:25px;"
>
{{
scope
.
row
.
goods_name
}}
</p>
<a
class=
"copy"
v-clipboard:copy=
"scope.row.goods_name"
v-clipboard:success=
"onCopy"
>
复制
</a>
</div>
</
template
>
...
...
src/views/List/inquireDetail.vue
View file @
19bb48d0
...
...
@@ -2,24 +2,37 @@
<section
class=
"inquireDetail pagex"
>
<div
class=
"inquiry-information boxsiz"
>
<p
class=
"tit"
>
询价信息
</p>
<div
class=
"input-box"
>
<span
class=
"p-text"
>
型号
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.goods_name"
style=
"width: 176px;margin-right: 30px; "
/>
<span
class=
"p-text"
>
品牌
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.brand_name"
style=
"width: 100px;margin-right: 30px; "
/>
<span
class=
"p-text"
>
数量
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.inquiry_number"
style=
"width: 100px ;margin-right: 30px;"
/>
<span
class=
"p-text"
>
批次
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.batch"
style=
"width: 100px;margin-right: 30px; "
/>
<span
class=
"p-text"
>
交货日期
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.delivery_time"
style=
"width: 100px;margin-right: 30px; "
/>
<span
class=
"p-text"
>
询价单号
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.inquiry_sn"
style=
"width: 138px "
/>
<div
class=
"input-box clr"
>
<div
class=
"fl"
>
<span
class=
"p-text"
>
型号
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.goods_name"
style=
"width: 176px;margin-right: 30px; "
/>
</div>
<div
class=
"fl"
>
<span
class=
"p-text"
>
品牌
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.brand_name"
style=
"width: 100px;margin-right: 30px; "
/>
</div>
<div
class=
"fl"
>
<span
class=
"p-text"
>
数量
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.inquiry_number"
style=
"width: 100px ;margin-right: 30px;"
/>
</div>
<div
class=
"fl"
>
<span
class=
"p-text"
>
批次
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.batch"
style=
"width: 100px;margin-right: 30px; "
/>
</div>
<div
class=
"fl"
>
<span
class=
"p-text"
>
交货日期
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.delivery_time"
style=
"width: 100px;margin-right: 30px; "
/>
</div>
<div
class=
"fl"
>
<span
class=
"p-text"
>
询价单号
</span>
<input
type=
"text"
placeholder=
""
disabled
:value=
"inquiry_info.inquiry_sn"
style=
"width: 138px "
/>
</div>
</div>
<p
class=
"text"
>
<span>
状态:
</span>
...
...
@@ -88,7 +101,8 @@
<el-table
:data=
"tableData"
border
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
label=
"操作"
width=
"108"
align=
"center"
v-if=
"'show'"
>
<template
slot-scope=
"scope"
>
<span
class=
"dcg"
:class=
"
{'disabled':scope.row.disabled}" @click="handle(scope.$index, scope.row)">确认
</span>
<span
class=
"dcg"
:class=
"
{'disabled':scope.row.disabled}"
@click="handle(scope.$index, scope.row)">确认
</span>
</
template
>
</el-table-column>
<el-table-column
fixed
prop=
"goods_name"
label=
"型号"
width=
"180"
></el-table-column>
...
...
@@ -152,7 +166,8 @@
<el-table-column
fixed
label=
"操作"
width=
"108"
align=
"center"
v-if=
"'show'"
>
<template
slot-scope=
"scope"
>
<!--
<span
class=
"dcg disabled"
@
click=
"handle(scope.$index, scope.row)"
>
确认
</span>
-->
<span
class=
"dcg "
:class=
"
{'disabled':scope.row.disabled}" @click="handle(scope.$index, scope.row)">确认
</span>
<span
class=
"dcg "
:class=
"
{'disabled':scope.row.disabled}"
@click="handle(scope.$index, scope.row)">确认
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"goods_name"
label=
"报价型号"
width=
"200"
></el-table-column>
...
...
@@ -253,7 +268,8 @@
<el-input
v-model=
"ruleForm.moq"
placeholder=
"请输入起订量"
:value=
"ruleForm.moq"
></el-input>
</el-form-item>
<el-form-item
label=
"报价有效期"
prop=
"expire_time"
>
<el-date-picker
type=
"date"
placeholder=
"选择报价有效期"
value-format=
"yyyy-MM-dd"
v-model=
"ruleForm.expire_time"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"选择报价有效期"
value-format=
"yyyy-MM-dd"
v-model=
"ruleForm.expire_time"
></el-date-picker>
</el-form-item>
</div>
</div>
...
...
@@ -298,7 +314,7 @@
// Loading,
Tooltip
}
from
'element-ui'
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(Loading);
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
)
...
...
@@ -307,7 +323,7 @@
name
:
"InquireDetail"
,
data
()
{
return
{
currentDataId
:
0
,
currentDataId
:
0
,
active
:
0
,
total
:
0
,
limit
:
10
,
...
...
@@ -320,7 +336,7 @@
isModify
:
false
,
tableData
:
[],
historyList
:
[],
submitState
:
0
,
submitState
:
0
,
ruleForm
:
{
inquiry_id
:
''
,
inquiry_sn
:
''
,
...
...
@@ -420,8 +436,9 @@
if
(
res
.
err_code
===
0
)
{
this
.
tableData
=
res
.
data
.
list
||
[];
this
.
total
=
Number
(
res
.
data
.
count
)
||
0
;
var
arr_
=
this
.
tableData
,
id_arr
=
[]
for
(
var
i
=
0
;
i
<
arr_
.
length
;
i
++
){
var
arr_
=
this
.
tableData
,
id_arr
=
[]
for
(
var
i
=
0
;
i
<
arr_
.
length
;
i
++
)
{
id_arr
.
push
(
arr_
[
i
].
id
)
}
this
.
checkBind
(
id_arr
.
join
(
","
))
...
...
@@ -430,34 +447,34 @@
}
})
},
checkBind
(
ids
){
this
.
$http
(
'get'
,
"/api/quote/checkpinlist"
,
{
inquiry_items_id
:
this
.
$route
.
query
.
id
,
pin_type
:(
this
.
active
==
1
?
1
:
2
),
pin_obj_ids
:
ids
checkBind
(
ids
)
{
this
.
$http
(
'get'
,
"/api/quote/checkpinlist"
,
{
inquiry_items_id
:
this
.
$route
.
query
.
id
,
pin_type
:
(
this
.
active
==
1
?
1
:
2
),
pin_obj_ids
:
ids
}).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
data
&&
res
.
data
.
bind_ids
&&
res
.
data
.
bind_ids
.
length
>
0
){
var
arr_
=
this
.
active
==
1
?
this
.
historyList
:
this
.
tableData
for
(
var
i
=
0
;
i
<
arr_
.
length
;
i
++
){
if
(
res
.
data
.
bind_ids
.
indexOf
(
String
(
arr_
[
i
].
id
))
!=-
1
){
if
(
this
.
active
==
1
){
this
.
historyList
[
i
].
disabled
=
true
}
else
{
this
.
tableData
[
i
].
disabled
=
true
}
}
else
{
if
(
this
.
active
==
1
){
this
.
historyList
[
i
].
disabled
=
false
}
else
{
this
.
tableData
[
i
].
disabled
=
false
}
if
(
res
.
data
&&
res
.
data
.
bind_ids
&&
res
.
data
.
bind_ids
.
length
>
0
)
{
var
arr_
=
this
.
active
==
1
?
this
.
historyList
:
this
.
tableData
for
(
var
i
=
0
;
i
<
arr_
.
length
;
i
++
)
{
if
(
res
.
data
.
bind_ids
.
indexOf
(
String
(
arr_
[
i
].
id
))
!=
-
1
)
{
if
(
this
.
active
==
1
)
{
this
.
historyList
[
i
].
disabled
=
true
}
else
{
this
.
tableData
[
i
].
disabled
=
true
}
}
else
{
if
(
this
.
active
==
1
)
{
this
.
historyList
[
i
].
disabled
=
false
}
else
{
this
.
tableData
[
i
].
disabled
=
false
}
}
}
}
}
}
})
},
...
...
@@ -473,8 +490,9 @@
if
(
res
.
err_code
===
0
)
{
this
.
total
=
res
.
data
.
total
;
this
.
historyList
=
res
.
data
.
list
||
[];
var
arr_
=
this
.
historyList
,
id_arr
=
[]
for
(
var
i
=
0
;
i
<
arr_
.
length
;
i
++
){
var
arr_
=
this
.
historyList
,
id_arr
=
[]
for
(
var
i
=
0
;
i
<
arr_
.
length
;
i
++
)
{
id_arr
.
push
(
arr_
[
i
].
id
)
}
this
.
checkBind
(
id_arr
.
join
(
","
))
...
...
@@ -535,46 +553,47 @@
},
submitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
this
.
submitState
){
return
}
if
(
this
.
submitState
)
{
return
}
if
(
valid
)
{
// let loadingInstance = Loading.service({
// background: 'rgba(0, 0, 0, 0)'
// });
this
.
submitState
=
1
;
let
submitData_
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ruleForm
))
if
(
submitData_
.
tax_rate
==
'13%'
)
{
submitData_
.
tax_rate
=
0.13
}
else
{
submitData_
.
tax_rate
=
0
this
.
submitState
=
1
;
let
submitData_
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ruleForm
))
if
(
submitData_
.
tax_rate
==
'13%'
)
{
submitData_
.
tax_rate
=
0.13
}
else
{
submitData_
.
tax_rate
=
0
}
this
.
$http
(
'post'
,
"/api/quote/save"
,
submitData_
).
then
(
res
=>
{
if
(
res
.
err_code
==
0
)
{
//this.$message('操作成功');
this
.
$http
(
'post'
,
"/api/quote/pin"
,
{
inquiry_items_id
:
this
.
ruleForm
.
inquiry_items_id
,
pin_type
:
(
this
.
active
==
1
?
1
:
2
),
pin_obj_id
:
this
.
currentDataId
inquiry_items_id
:
this
.
ruleForm
.
inquiry_items_id
,
pin_type
:
(
this
.
active
==
1
?
1
:
2
),
pin_obj_id
:
this
.
currentDataId
}).
then
(
res
=>
{
if
(
res
.
err_code
==
0
)
{
}
else
{
if
(
res
.
err_code
==
0
)
{}
else
{
// this.$message(res.err_msg);
}
this
.
$message
(
'操作成功'
);
setTimeout
(()
=>
{
window
.
location
.
reload
();
},
2000
)
this
.
$message
(
'操作成功'
);
setTimeout
(()
=>
{
window
.
location
.
reload
();
},
2000
)
// loadingInstance.close();
this
.
submitState
=
0
;
this
.
submitState
=
0
;
})
}
else
{
this
.
$message
(
res
.
err_msg
);
this
.
submitState
=
0
;
this
.
submitState
=
0
;
//loadingInstance.close();
}
}).
catch
(
err
=>
{
this
.
submitState
=
0
;
this
.
submitState
=
0
;
//loadingInstance.close();
});
}
else
{
...
...
@@ -726,11 +745,11 @@
})
},
handle
(
index
,
row
)
{
if
(
row
.
disabled
)
{
this
.
$message
(
'已绑定,不能重复操作'
)
return
}
this
.
currentDataId
=
row
.
id
if
(
row
.
disabled
)
{
this
.
$message
(
'已绑定,不能重复操作'
)
return
}
this
.
currentDataId
=
row
.
id
this
.
title
=
this
.
active
==
1
?
'确认-历史报价'
:
'确认-匹配库存'
;
this
.
dialogVisible
=
true
;
this
.
ruleForm
.
quote_id
=
''
;
...
...
src/views/Store/list.vue
View file @
19bb48d0
...
...
@@ -56,7 +56,7 @@
</el-table-column>
<el-table-column
fixed
prop=
"brand_name"
label=
"品牌"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"batch_sn"
label=
"
封装
"
width=
"180"
>
<el-table-column
prop=
"batch_sn"
label=
"
批次
"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"moq"
label=
"起订量"
width=
"150"
>
</el-table-column>
...
...
view/app.
9358fc146056d17c564
c.js
→
view/app.
ca72767a5d359863ff0
c.js
View file @
19bb48d0
File moved
view/index.html
View file @
19bb48d0
...
...
@@ -6,12 +6,12 @@
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"http://yunxin.liexindev.net/favicon.ico"
>
<title>
cloudsystem
</title>
<link
href=
"http://yunxin.liexindev.net/js/0.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/1.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/10.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/11.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/12.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/13.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/14.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/15.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/16.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/17.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/18.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/19.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/2.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/20.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/21.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/22.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/23.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/24.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/25.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/26.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/27.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/28.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/3.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/4.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/5.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/6.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/7.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/8.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/9.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/app.
9358fc146056d17c564
c.js"
rel=
"preload"
as=
"script"
></head>
<link
href=
"http://yunxin.liexindev.net/js/0.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/1.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/10.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/11.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/12.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/13.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/14.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/15.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/16.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/17.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/18.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/19.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/2.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/20.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/21.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/22.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/23.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/24.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/25.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/26.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/27.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/28.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/3.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/4.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/5.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/6.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/7.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/8.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/js/9.js"
rel=
"prefetch"
><link
href=
"http://yunxin.liexindev.net/app.
ca72767a5d359863ff0
c.js"
rel=
"preload"
as=
"script"
></head>
<body>
<noscript>
<strong>
网络异常,请稍后加载
</strong>
</noscript>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
<script
type=
"text/javascript"
src=
"http://yunxin.liexindev.net/app.
9358fc146056d17c564
c.js"
></script></body>
<script
type=
"text/javascript"
src=
"http://yunxin.liexindev.net/app.
ca72767a5d359863ff0
c.js"
></script></body>
</html>
view/js/14.js
View file @
19bb48d0
This diff could not be displayed because it is too large.
view/js/19.js
View file @
19bb48d0
...
...
@@ -20,7 +20,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@b
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"store pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"store-con\" },\n [\n _c(\n \"el-form\",\n {\n staticClass: \"demo-form-inline\",\n attrs: { inline: true, model: _vm.formInline }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"型号\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync,\n placeholder: \"请输入型号\"\n },\n on: { select: _vm.handleSelectGoodsName },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k(\n $event.keyCode,\n \"enter\",\n 13,\n $event.key,\n \"Enter\"\n )\n ) {\n return null\n }\n return _vm.onSubmit($event)\n }\n },\n model: {\n value: _vm.formInline.goods_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"goods_name\", $$v)\n },\n expression: \"formInline.goods_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"品牌\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync2,\n placeholder: \"请输入品牌\"\n },\n on: { select: _vm.handleSelectBrandName },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k(\n $event.keyCode,\n \"enter\",\n 13,\n $event.key,\n \"Enter\"\n )\n ) {\n return null\n }\n return _vm.onSubmit($event)\n }\n },\n model: {\n value: _vm.formInline.brand_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"brand_name\", $$v)\n },\n expression: \"formInline.brand_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"询价日期\" } },\n [\n _c(\"el-date-picker\", {\n attrs: {\n type: \"daterange\",\n \"range-separator\": \"至\",\n \"start-placeholder\": \"开始日期\",\n \"end-placeholder\": \"结束日期\"\n },\n model: {\n value: _vm.formInline.date,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"date\", $$v)\n },\n expression: \"formInline.date\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"search-btn\", on: { click: _vm.onSubmit } },\n [_vm._v(\"搜索\")]\n )\n ])\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"btn-nav clr\" }, [\n _c(\"div\", { staticClass: \"fl dcg\", on: { click: _vm.detail } }, [\n _vm._v(\"报价\")\n ]),\n _c(\n \"div\",\n { staticClass: \"fl dcg\", on: { click: _vm.exportChange } },\n [_vm._v(\"导出\")]\n ),\n _c(\n \"div\",\n { staticClass: \"fl dcg delbtn\", on: { click: _vm.del } },\n [_vm._v(\"删除\")]\n )\n ]),\n _c(\n \"div\",\n { staticClass: \"data-box th-all\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.tableData, border: \"\" },\n on: { \"selection-change\": _vm.handleSelectionChange }\n },\n [\n _c(\"el-table-column\", {\n attrs: { type: \"selection\", width: \"40\", align: \"center\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"inquiry_sn\",\n label: \"询价单号\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"10%\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\"div\", { staticClass: \"p-copy\" }, [\n _c(\
"p\", [_vm._v(_vm._s(scope.row.goods_name))]
),\n _c(\n \"a\",\n {\n directives: [\n {\n name: \"clipboard\",\n rawName: \"v-clipboard:copy\",\n value: scope.row.goods_name,\n expression: \"scope.row.goods_name\",\n arg: \"copy\"\n },\n {\n name: \"clipboard\",\n rawName: \"v-clipboard:success\",\n value: _vm.onCopy,\n expression: \"onCopy\",\n arg: \"success\"\n }\n ],\n staticClass: \"copy\"\n },\n [_vm._v(\"复制\")]\n )\n ])\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"inquiry_number\",\n label: \"数量\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"batch\", label: \"批次\", \"min-width\": \"10%\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"delivery_time\",\n label: \"交货日期\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"i_status\",\n label: \"状态\",\n \"min-width\": \"10%\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.i_status == 2\n ? _c(\"span\", { staticClass: \"f-green\" }, [\n _vm._v(\"已报价\")\n ])\n : scope.row.i_status == 1\n ? _c(\"span\", { staticClass: \"f-yellow1\" }, [\n _vm._v(\"待报价\")\n ])\n : scope.row.i_status == 9\n ? _c(\"span\", [_vm._v(\"已删除\")])\n : scope.row.i_status == -1\n ? _c(\"span\", { staticClass: \"f-red1\" }, [\n _vm._v(\"已关闭\")\n ])\n : _vm._e()\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"quote_num\",\n label: \"报价数\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"create_time\",\n label: \"报价时间\",\n \"min-width\": \"10%\",\n formatter: _vm.dateFormat\n }\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n layout: \"prev, pager, next,jumper\",\n \"page-size\": _vm.limit,\n total: _vm.total,\n \"current-page\": _vm.page\n },\n on: { \"current-change\": _vm.handleCurrentChange }\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/List/inquire.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"store pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"store-con\" },\n [\n _c(\n \"el-form\",\n {\n staticClass: \"demo-form-inline\",\n attrs: { inline: true, model: _vm.formInline }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"型号\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync,\n placeholder: \"请输入型号\"\n },\n on: { select: _vm.handleSelectGoodsName },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k(\n $event.keyCode,\n \"enter\",\n 13,\n $event.key,\n \"Enter\"\n )\n ) {\n return null\n }\n return _vm.onSubmit($event)\n }\n },\n model: {\n value: _vm.formInline.goods_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"goods_name\", $$v)\n },\n expression: \"formInline.goods_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"品牌\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync2,\n placeholder: \"请输入品牌\"\n },\n on: { select: _vm.handleSelectBrandName },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k(\n $event.keyCode,\n \"enter\",\n 13,\n $event.key,\n \"Enter\"\n )\n ) {\n return null\n }\n return _vm.onSubmit($event)\n }\n },\n model: {\n value: _vm.formInline.brand_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"brand_name\", $$v)\n },\n expression: \"formInline.brand_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"询价日期\" } },\n [\n _c(\"el-date-picker\", {\n attrs: {\n type: \"daterange\",\n \"range-separator\": \"至\",\n \"start-placeholder\": \"开始日期\",\n \"end-placeholder\": \"结束日期\"\n },\n model: {\n value: _vm.formInline.date,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"date\", $$v)\n },\n expression: \"formInline.date\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"search-btn\", on: { click: _vm.onSubmit } },\n [_vm._v(\"搜索\")]\n )\n ])\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"btn-nav clr\" }, [\n _c(\"div\", { staticClass: \"fl dcg\", on: { click: _vm.detail } }, [\n _vm._v(\"报价\")\n ]),\n _c(\n \"div\",\n { staticClass: \"fl dcg\", on: { click: _vm.exportChange } },\n [_vm._v(\"导出\")]\n ),\n _c(\n \"div\",\n { staticClass: \"fl dcg delbtn\", on: { click: _vm.del } },\n [_vm._v(\"删除\")]\n )\n ]),\n _c(\n \"div\",\n { staticClass: \"data-box th-all\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.tableData, border: \"\" },\n on: { \"selection-change\": _vm.handleSelectionChange }\n },\n [\n _c(\"el-table-column\", {\n attrs: { type: \"selection\", width: \"40\", align: \"center\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"inquiry_sn\",\n label: \"询价单号\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"10%\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\"div\", { staticClass: \"p-copy\" }, [\n _c(\
n \"p\",\n { staticStyle: { \"padding-right\": \"25px\" } },\n [_vm._v(_vm._s(scope.row.goods_name))]\n
),\n _c(\n \"a\",\n {\n directives: [\n {\n name: \"clipboard\",\n rawName: \"v-clipboard:copy\",\n value: scope.row.goods_name,\n expression: \"scope.row.goods_name\",\n arg: \"copy\"\n },\n {\n name: \"clipboard\",\n rawName: \"v-clipboard:success\",\n value: _vm.onCopy,\n expression: \"onCopy\",\n arg: \"success\"\n }\n ],\n staticClass: \"copy\"\n },\n [_vm._v(\"复制\")]\n )\n ])\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"inquiry_number\",\n label: \"数量\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"batch\", label: \"批次\", \"min-width\": \"10%\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"delivery_time\",\n label: \"交货日期\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"i_status\",\n label: \"状态\",\n \"min-width\": \"10%\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.i_status == 2\n ? _c(\"span\", { staticClass: \"f-green\" }, [\n _vm._v(\"已报价\")\n ])\n : scope.row.i_status == 1\n ? _c(\"span\", { staticClass: \"f-yellow1\" }, [\n _vm._v(\"待报价\")\n ])\n : scope.row.i_status == 9\n ? _c(\"span\", [_vm._v(\"已删除\")])\n : scope.row.i_status == -1\n ? _c(\"span\", { staticClass: \"f-red1\" }, [\n _vm._v(\"已关闭\")\n ])\n : _vm._e()\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"quote_num\",\n label: \"报价数\",\n \"min-width\": \"10%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"create_time\",\n label: \"报价时间\",\n \"min-width\": \"10%\",\n formatter: _vm.dateFormat\n }\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n layout: \"prev, pager, next,jumper\",\n \"page-size\": _vm.limit,\n total: _vm.total,\n \"current-page\": _vm.page\n },\n on: { \"current-change\": _vm.handleCurrentChange }\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/List/inquire.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
view/js/22.js
View file @
19bb48d0
...
...
@@ -20,7 +20,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@b
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"store pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"store-con\" },\n [\n _c(\n \"el-form\",\n {\n staticClass: \"demo-form-inline\",\n attrs: { inline: true, model: _vm.formInline }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"型号\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync,\n placeholder: \"请输入型号\"\n },\n on: { select: _vm.handleSelectGoodsName },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k(\n $event.keyCode,\n \"enter\",\n 13,\n $event.key,\n \"Enter\"\n )\n ) {\n return null\n }\n return _vm.onSubmit($event)\n }\n },\n model: {\n value: _vm.formInline.goods_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"goods_name\", $$v)\n },\n expression: \"formInline.goods_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"品牌\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync2,\n placeholder: \"请输入品牌\"\n },\n on: { select: _vm.handleSelectBrandName },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k(\n $event.keyCode,\n \"enter\",\n 13,\n $event.key,\n \"Enter\"\n )\n ) {\n return null\n }\n return _vm.onSubmit($event)\n }\n },\n model: {\n value: _vm.formInline.brand_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"brand_name\", $$v)\n },\n expression: \"formInline.brand_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"状态\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: { placeholder: \"请选择\" },\n model: {\n value: _vm.formInline.status,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"status\", $$v)\n },\n expression: \"formInline.status\"\n }\n },\n [\n _c(\"el-option\", { attrs: { label: \"全部\", value: \"\" } }),\n _c(\"el-option\", { attrs: { label: \"上架\", value: \"1\" } }),\n _c(\"el-option\", { attrs: { label: \"下架\", value: \"3\" } })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"更新日期\" } },\n [\n _c(\"el-date-picker\", {\n attrs: {\n type: \"daterange\",\n \"value-format\": \"yyyy-MM-dd\",\n \"range-separator\": \"至\",\n \"start-placeholder\": \"开始日期\",\n \"end-placeholder\": \"结束日期\"\n },\n model: {\n value: _vm.formInline.date,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"date\", $$v)\n },\n expression: \"formInline.date\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"search-btn\", on: { click: _vm.onSubmit } },\n [_vm._v(\"搜索\")]\n )\n ])\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"btn-nav clr\" }, [\n _c(\n \"div\",\n { staticClass: \"fl\" },\n [\n _c(\n \"el-dropdown\",\n { on: { command: _vm.handleCommand } },\n [\n _c(\"div\", { staticClass: \"update\" }, [\n _vm._v(\"修改 |\"),\n _c(\"i\", { staticClass: \"el-icon-arrow-down\" })\n ]),\n _c(\n \"el-dropdown-menu\",\n { attrs: { slot: \"dropdown\" }, slot: \"dropdown\" },\n [\n _c(\"el-dropdown-item\", { attrs: { command: \"1\" } }, [\n _vm._v(\"修改库存\")\n ]),\n _c(\"el-dropdown-item\", { attrs: { command: \"2\" } }, [\n _vm._v(\"修改交期\")\n ])\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"fl dcg\", on: { click: _vm.downOut } }, [\n _vm._v(\"导出\")\n ]),\n _c(\n \"div\",\n {\n staticClass: \"fl dcg heti\",\n on: {\n click: function($event) {\n return _vm.changeStatus(1)\n }\n }\n },\n [_vm._v(\"上架\")]\n ),\n _c(\n \"div\",\n {\n staticClass: \"fl dcg heti xjk\",\n on: {\n click: function($event) {\n return _vm.changeStatus(3)\n }\n }\n },\n [_vm._v(\"下架\")]\n ),\n _c(\n \"a\",\n {\n ref: \"downs\",\n staticStyle: { display: \"none\" },\n attrs: { href: _vm.downHref, target: \"_blank\" }\n },\n [_vm._v(\"下载\")]\n )\n ]),\n _c(\n \"div\",\n { staticClass: \"data-box\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.tableData, border: \"\" },\n on: { \"selection-change\": _vm.handleSelectionChange }\n },\n [\n _c(\"el-table-column\", {\n attrs: { fixed: \"\", type: \"selection\", width: \"37\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"goods_name\",\n label: \"型号\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"goods_sn\",\n label: \"供应商内部型号编码\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"brand_name\",\n label: \"品牌\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"batch_sn\", label: \"
封装
\", width: \"180\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"moq\", label: \"起订量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"mpq\", label: \"标准包装量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"stock\", label: \"库存数量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_ladder_price\",\n label: \"国内含税价(¥)\",\n width: \"140\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.cn_ladder_price &&\n scope.row.cn_ladder_price.length > 0\n ? [\n _c(\n \"div\",\n { staticClass: \"price-more\" },\n [\n _c(\n \"el-tooltip\",\n {\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\n \"div\",\n { staticClass: \"boxxrth2021\" },\n _vm._l(\n scope.row.cn_ladder_price,\n function(item) {\n return _c(\n \"p\",\n { staticClass: \"clr\" },\n [\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n _vm._s(\n item.purchases\n ) + \"+\"\n )\n ]\n ),\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n \"¥\" +\n _vm._s(\n item.price\n )\n )\n ]\n )\n ]\n )\n }\n ),\n 0\n )\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"more-search-btn\" },\n [_vm._v(\"查看更多\")]\n )\n ]\n )\n ],\n 1\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_ladder_price\",\n label: \"香港交货价($)\",\n width: \"150\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.hk_ladder_price &&\n scope.row.hk_ladder_price.length > 0\n ? [\n _c(\n \"div\",\n { staticClass: \"price-more\" },\n [\n _c(\n \"el-tooltip\",\n {\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\n \"div\",\n { staticClass: \"boxxrth2021\" },\n _vm._l(\n scope.row.hk_ladder_price,\n function(item) {\n return _c(\n \"p\",\n { staticClass: \"clr\" },\n [\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n _vm._s(\n item.purchases\n ) + \"+\"\n )\n ]\n ),\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n \"$\" +\n _vm._s(\n item.price\n )\n )\n ]\n )\n ]\n )\n }\n ),\n 0\n )\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"more-search-btn\" },\n [_vm._v(\"查看更多\")]\n )\n ]\n )\n ],\n 1\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_delivery_time\",\n label: \"大陆交期\",\n width: \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_delivery_time\",\n label: \"香港交期\",\n width: \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_status\",\n label: \"状态\",\n width: \"150\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.goods_status == 1\n ? _c(\"span\", { staticClass: \"f-green\" }, [\n _vm._v(\"上架\")\n ])\n : scope.row.goods_status == 3\n ? _c(\"span\", [_vm._v(\"下架\")])\n : _vm._e()\n ]\n }\n }\n ])\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n layout: \"prev, pager, next,jumper\",\n \"page-size\": _vm.limit,\n total: _vm.total,\n \"current-page\": _vm.page\n },\n on: { \"current-change\": _vm.handleCurrentChange }\n })\n ],\n 1\n ),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"修改库存\",\n visible: _vm.dialogVisible,\n width: \"800px\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible = $event\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"kc-mask\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.kucundata, border: \"\" }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"stock\",\n label: \"库存数量\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改库存\", \"min-width\": \"25%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\"el-input\", {\n attrs: {\n placeholder: \"点击修改\",\n onkeyup:\n \"if(event.keyCode !=37 && event.keyCode != 39){if (!/^[\\\\d]+$/ig.test(this.value)){this.value='';}}\"\n },\n model: {\n value: scope.row.updateStock,\n callback: function($$v) {\n _vm.$set(scope.row, \"updateStock\", $$v)\n },\n expression: \"scope.row.updateStock\"\n }\n })\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n { attrs: { type: \"primary\" }, on: { click: _vm.submitKc } },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n ),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"修改交期\",\n visible: _vm.dialogVisible2,\n width: \"800px\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible2 = $event\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"kc-mask\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.huoqidata, border: \"\" }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_delivery_time\",\n label: \"大陆交期\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_delivery_time\",\n label: \"香港交期\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改大陆交期\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"div\",\n { staticClass: \"updatebox\" },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"如:2-5\" },\n model: {\n value: scope.row.dlhq,\n callback: function($$v) {\n _vm.$set(scope.row, \"dlhq\", $$v)\n },\n expression: \"scope.row.dlhq\"\n }\n }),\n _c(\n \"div\",\n { staticClass: \"selectdw\" },\n [\n _c(\n \"el-select\",\n {\n staticClass: \"placehoload\",\n attrs: { placeholder: \"天\" },\n model: {\n value: scope.row.dlhqdw,\n callback: function($$v) {\n _vm.$set(\n scope.row,\n \"dlhqdw\",\n $$v\n )\n },\n expression: \"scope.row.dlhqdw\"\n }\n },\n [\n _c(\"el-option\", {\n attrs: {\n label: \"天\",\n value: \"天\"\n }\n }),\n _c(\"el-option\", {\n attrs: {\n label: \"周\",\n value: \"周\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改香港交期\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"div\",\n { staticClass: \"updatebox\" },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"如:2-5\" },\n model: {\n value: scope.row.hkhq,\n callback: function($$v) {\n _vm.$set(scope.row, \"hkhq\", $$v)\n },\n expression: \"scope.row.hkhq\"\n }\n }),\n _c(\n \"div\",\n { staticClass: \"selectdw\" },\n [\n _c(\n \"el-select\",\n {\n staticClass: \"placehoload\",\n attrs: { placeholder: \"天\" },\n model: {\n value: scope.row.hkhqdw,\n callback: function($$v) {\n _vm.$set(\n scope.row,\n \"hkhqdw\",\n $$v\n )\n },\n expression: \"scope.row.hkhqdw\"\n }\n },\n [\n _c(\"el-option\", {\n attrs: {\n label: \"天\",\n value: \"天\"\n }\n }),\n _c(\"el-option\", {\n attrs: {\n label: \"周\",\n value: \"周\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible2 = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n { attrs: { type: \"primary\" }, on: { click: _vm.submitHq } },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n )\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Store/list.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"store pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"store-con\" },\n [\n _c(\n \"el-form\",\n {\n staticClass: \"demo-form-inline\",\n attrs: { inline: true, model: _vm.formInline }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"型号\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync,\n placeholder: \"请输入型号\"\n },\n on: { select: _vm.handleSelectGoodsName },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k(\n $event.keyCode,\n \"enter\",\n 13,\n $event.key,\n \"Enter\"\n )\n ) {\n return null\n }\n return _vm.onSubmit($event)\n }\n },\n model: {\n value: _vm.formInline.goods_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"goods_name\", $$v)\n },\n expression: \"formInline.goods_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"品牌\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync2,\n placeholder: \"请输入品牌\"\n },\n on: { select: _vm.handleSelectBrandName },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k(\n $event.keyCode,\n \"enter\",\n 13,\n $event.key,\n \"Enter\"\n )\n ) {\n return null\n }\n return _vm.onSubmit($event)\n }\n },\n model: {\n value: _vm.formInline.brand_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"brand_name\", $$v)\n },\n expression: \"formInline.brand_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"状态\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: { placeholder: \"请选择\" },\n model: {\n value: _vm.formInline.status,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"status\", $$v)\n },\n expression: \"formInline.status\"\n }\n },\n [\n _c(\"el-option\", { attrs: { label: \"全部\", value: \"\" } }),\n _c(\"el-option\", { attrs: { label: \"上架\", value: \"1\" } }),\n _c(\"el-option\", { attrs: { label: \"下架\", value: \"3\" } })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"更新日期\" } },\n [\n _c(\"el-date-picker\", {\n attrs: {\n type: \"daterange\",\n \"value-format\": \"yyyy-MM-dd\",\n \"range-separator\": \"至\",\n \"start-placeholder\": \"开始日期\",\n \"end-placeholder\": \"结束日期\"\n },\n model: {\n value: _vm.formInline.date,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"date\", $$v)\n },\n expression: \"formInline.date\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"search-btn\", on: { click: _vm.onSubmit } },\n [_vm._v(\"搜索\")]\n )\n ])\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"btn-nav clr\" }, [\n _c(\n \"div\",\n { staticClass: \"fl\" },\n [\n _c(\n \"el-dropdown\",\n { on: { command: _vm.handleCommand } },\n [\n _c(\"div\", { staticClass: \"update\" }, [\n _vm._v(\"修改 |\"),\n _c(\"i\", { staticClass: \"el-icon-arrow-down\" })\n ]),\n _c(\n \"el-dropdown-menu\",\n { attrs: { slot: \"dropdown\" }, slot: \"dropdown\" },\n [\n _c(\"el-dropdown-item\", { attrs: { command: \"1\" } }, [\n _vm._v(\"修改库存\")\n ]),\n _c(\"el-dropdown-item\", { attrs: { command: \"2\" } }, [\n _vm._v(\"修改交期\")\n ])\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"fl dcg\", on: { click: _vm.downOut } }, [\n _vm._v(\"导出\")\n ]),\n _c(\n \"div\",\n {\n staticClass: \"fl dcg heti\",\n on: {\n click: function($event) {\n return _vm.changeStatus(1)\n }\n }\n },\n [_vm._v(\"上架\")]\n ),\n _c(\n \"div\",\n {\n staticClass: \"fl dcg heti xjk\",\n on: {\n click: function($event) {\n return _vm.changeStatus(3)\n }\n }\n },\n [_vm._v(\"下架\")]\n ),\n _c(\n \"a\",\n {\n ref: \"downs\",\n staticStyle: { display: \"none\" },\n attrs: { href: _vm.downHref, target: \"_blank\" }\n },\n [_vm._v(\"下载\")]\n )\n ]),\n _c(\n \"div\",\n { staticClass: \"data-box\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.tableData, border: \"\" },\n on: { \"selection-change\": _vm.handleSelectionChange }\n },\n [\n _c(\"el-table-column\", {\n attrs: { fixed: \"\", type: \"selection\", width: \"37\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"goods_name\",\n label: \"型号\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"goods_sn\",\n label: \"供应商内部型号编码\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"brand_name\",\n label: \"品牌\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"batch_sn\", label: \"
批次
\", width: \"180\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"moq\", label: \"起订量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"mpq\", label: \"标准包装量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"stock\", label: \"库存数量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_ladder_price\",\n label: \"国内含税价(¥)\",\n width: \"140\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.cn_ladder_price &&\n scope.row.cn_ladder_price.length > 0\n ? [\n _c(\n \"div\",\n { staticClass: \"price-more\" },\n [\n _c(\n \"el-tooltip\",\n {\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\n \"div\",\n { staticClass: \"boxxrth2021\" },\n _vm._l(\n scope.row.cn_ladder_price,\n function(item) {\n return _c(\n \"p\",\n { staticClass: \"clr\" },\n [\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n _vm._s(\n item.purchases\n ) + \"+\"\n )\n ]\n ),\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n \"¥\" +\n _vm._s(\n item.price\n )\n )\n ]\n )\n ]\n )\n }\n ),\n 0\n )\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"more-search-btn\" },\n [_vm._v(\"查看更多\")]\n )\n ]\n )\n ],\n 1\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_ladder_price\",\n label: \"香港交货价($)\",\n width: \"150\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.hk_ladder_price &&\n scope.row.hk_ladder_price.length > 0\n ? [\n _c(\n \"div\",\n { staticClass: \"price-more\" },\n [\n _c(\n \"el-tooltip\",\n {\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\n \"div\",\n { staticClass: \"boxxrth2021\" },\n _vm._l(\n scope.row.hk_ladder_price,\n function(item) {\n return _c(\n \"p\",\n { staticClass: \"clr\" },\n [\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n _vm._s(\n item.purchases\n ) + \"+\"\n )\n ]\n ),\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n \"$\" +\n _vm._s(\n item.price\n )\n )\n ]\n )\n ]\n )\n }\n ),\n 0\n )\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"more-search-btn\" },\n [_vm._v(\"查看更多\")]\n )\n ]\n )\n ],\n 1\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_delivery_time\",\n label: \"大陆交期\",\n width: \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_delivery_time\",\n label: \"香港交期\",\n width: \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_status\",\n label: \"状态\",\n width: \"150\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.goods_status == 1\n ? _c(\"span\", { staticClass: \"f-green\" }, [\n _vm._v(\"上架\")\n ])\n : scope.row.goods_status == 3\n ? _c(\"span\", [_vm._v(\"下架\")])\n : _vm._e()\n ]\n }\n }\n ])\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n layout: \"prev, pager, next,jumper\",\n \"page-size\": _vm.limit,\n total: _vm.total,\n \"current-page\": _vm.page\n },\n on: { \"current-change\": _vm.handleCurrentChange }\n })\n ],\n 1\n ),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"修改库存\",\n visible: _vm.dialogVisible,\n width: \"800px\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible = $event\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"kc-mask\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.kucundata, border: \"\" }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"stock\",\n label: \"库存数量\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改库存\", \"min-width\": \"25%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\"el-input\", {\n attrs: {\n placeholder: \"点击修改\",\n onkeyup:\n \"if(event.keyCode !=37 && event.keyCode != 39){if (!/^[\\\\d]+$/ig.test(this.value)){this.value='';}}\"\n },\n model: {\n value: scope.row.updateStock,\n callback: function($$v) {\n _vm.$set(scope.row, \"updateStock\", $$v)\n },\n expression: \"scope.row.updateStock\"\n }\n })\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n { attrs: { type: \"primary\" }, on: { click: _vm.submitKc } },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n ),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"修改交期\",\n visible: _vm.dialogVisible2,\n width: \"800px\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible2 = $event\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"kc-mask\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.huoqidata, border: \"\" }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_delivery_time\",\n label: \"大陆交期\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_delivery_time\",\n label: \"香港交期\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改大陆交期\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"div\",\n { staticClass: \"updatebox\" },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"如:2-5\" },\n model: {\n value: scope.row.dlhq,\n callback: function($$v) {\n _vm.$set(scope.row, \"dlhq\", $$v)\n },\n expression: \"scope.row.dlhq\"\n }\n }),\n _c(\n \"div\",\n { staticClass: \"selectdw\" },\n [\n _c(\n \"el-select\",\n {\n staticClass: \"placehoload\",\n attrs: { placeholder: \"天\" },\n model: {\n value: scope.row.dlhqdw,\n callback: function($$v) {\n _vm.$set(\n scope.row,\n \"dlhqdw\",\n $$v\n )\n },\n expression: \"scope.row.dlhqdw\"\n }\n },\n [\n _c(\"el-option\", {\n attrs: {\n label: \"天\",\n value: \"天\"\n }\n }),\n _c(\"el-option\", {\n attrs: {\n label: \"周\",\n value: \"周\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改香港交期\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"div\",\n { staticClass: \"updatebox\" },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"如:2-5\" },\n model: {\n value: scope.row.hkhq,\n callback: function($$v) {\n _vm.$set(scope.row, \"hkhq\", $$v)\n },\n expression: \"scope.row.hkhq\"\n }\n }),\n _c(\n \"div\",\n { staticClass: \"selectdw\" },\n [\n _c(\n \"el-select\",\n {\n staticClass: \"placehoload\",\n attrs: { placeholder: \"天\" },\n model: {\n value: scope.row.hkhqdw,\n callback: function($$v) {\n _vm.$set(\n scope.row,\n \"hkhqdw\",\n $$v\n )\n },\n expression: \"scope.row.hkhqdw\"\n }\n },\n [\n _c(\"el-option\", {\n attrs: {\n label: \"天\",\n value: \"天\"\n }\n }),\n _c(\"el-option\", {\n attrs: {\n label: \"周\",\n value: \"周\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible2 = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n { attrs: { type: \"primary\" }, on: { click: _vm.submitHq } },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n )\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Store/list.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
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