Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
sph
上药订单生命周期升级
Commits
7391caac
Commit
7391caac
authored
Mar 18, 2021
by
xiejb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单 发票列表 高级搜索默认供应商和订单ID
parent
1dda526e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
18 deletions
+29
-18
src/views/myOrder/orderInvoice/components/HighSearch.vue
src/views/myOrder/orderInvoice/components/HighSearch.vue
+27
-17
src/views/myOrder/orderInvoice/index.vue
src/views/myOrder/orderInvoice/index.vue
+2
-1
No files found.
src/views/myOrder/orderInvoice/components/HighSearch.vue
View file @
7391caac
...
...
@@ -13,22 +13,23 @@
<textarea
:value=
"consignor"
class=
"inputInfo"
type=
"text"
></textarea>
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
consignor
}}
</div>
</div>
-->
<div
class=
"high-info"
@
click=
"showPost('supplier')"
>
<!--
<div
class=
"high-info"
@
click=
"showPost('supplier')"
>
-->
<div
class=
"high-info"
>
<div
class=
"title font-bold font-16"
>
供应商
</div>
<div
c
ontenteditable=
"false"
c
lass=
"inputInfo"
>
{{
supplier
}}
</div>
<div
class=
"inputInfo"
>
{{
supplier
}}
</div>
</div>
<div
class=
"high-info"
>
<div
class=
"title font-bold font-16"
>
订单号
</div>
<
!--
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
orderNo
}}
</div>
--
>
<
input
:value=
"orderNo"
class=
"input"
type=
"text"
>
<
div
class=
"inputInfo"
>
{{
orderNo
}}
</div
>
<
!--
<input
:value=
"orderNo"
class=
"input"
type=
"text"
>
--
>
</div>
<div
class=
"high-info"
>
<div
class=
"title font-bold font-16"
>
发票号
</div>
<input
:value=
"invoiceNo"
class=
"input"
type=
"text"
>
<input
:value=
"invoiceNo"
placeholder=
"请输入发票号"
class=
"input"
type=
"text"
>
</div>
<div
class=
"high-info"
@
click=
"showPost('goods')"
>
<div
class=
"title font-bold font-16"
>
商品
</div>
<div
contenteditable=
"
false
"
class=
"inputInfo"
>
{{
goods
}}
</div>
<div
class=
"high-info"
>
<div
class=
"title font-bold font-16"
>
商品
信息
</div>
<div
contenteditable=
"
true"
placeholder=
"请输入编码/品名/规格/生产厂家
"
class=
"inputInfo"
>
{{
goods
}}
</div>
</div>
<!--
<div
class=
"high-info"
@
click=
"showPost('client')"
>
<div
class=
"title font-bold font-16"
>
客户
</div>
...
...
@@ -89,12 +90,12 @@
@
cancleclick=
"showPost"
@
confirmclick=
"postConfirm"
></search-in-consignor>
<
cg-
search-goods
<search-goods
v-model=
"moreSearchDialog.goodsShow"
:customer=
"!moreSearchInfo.goods ? {}:moreSearchInfo.goods"
@
cancleclick=
"showPost"
@
confirmclick=
"postConfirm"
></
cg-
search-goods>
></search-goods>
<search-in-client
v-model=
"moreSearchDialog.clientShow"
:customer=
"!moreSearchInfo.client ? {}:moreSearchInfo.client"
...
...
@@ -113,7 +114,7 @@ import SearchInSupplier from "@/components/SearchInSupplier";
// 货主
import
SearchInConsignor
from
"
@/components/SearchInConsignor
"
;
// 商品
import
CgSearchGoods
from
"
@/components/Cg
SearchGoods
"
;
import
SearchGoods
from
"
@/components/
SearchGoods
"
;
// 客户
import
SearchInClient
from
"
@/components/SearchInClient
"
export
default
{
...
...
@@ -121,7 +122,7 @@ export default {
components
:
{
TimeChoose
,
SearchInSupplier
,
Cg
SearchGoods
,
SearchGoods
,
SearchInConsignor
,
SearchInClient
},
...
...
@@ -150,14 +151,15 @@ export default {
chinfo
:
{
goodsId
:
''
,
supplier
:
''
}
},
orderModel
:
{}
}
},
computed
:
{
// 供应商
supplier
()
{
if
(
this
.
moreSearchInfo
.
supplier
.
comPartyId
)
{
return
!
this
.
moreSearchInfo
.
supplier
?
''
:
(
this
.
moreSearchInfo
.
supplier
.
comPartyId
+
'
/(
'
+
this
.
moreSearchInfo
.
supplier
.
partyOpcode
+
'
)
'
+
this
.
moreSearchInfo
.
supplier
.
partyName
)
if
(
this
.
orderModel
.
supplierName
)
{
return
!
this
.
orderModel
.
supplierName
?
''
:
this
.
orderModel
.
supplierName
}
else
{
return
''
}
...
...
@@ -193,8 +195,8 @@ export default {
},
// 订单号
orderNo
()
{
if
(
this
.
moreSearchInfo
.
orderNo
)
{
return
!
this
.
moreSearchInfo
.
orderNo
?
''
:
this
.
moreSearchInfo
.
orderNo
if
(
this
.
orderModel
.
orderNo
)
{
return
!
this
.
orderModel
.
orderNo
?
''
:
this
.
orderModel
.
orderNo
}
else
{
return
''
}
...
...
@@ -221,6 +223,10 @@ export default {
watch
:
{
value
(
val
)
{
this
.
moreSearchShow
=
val
if
(
val
)
{
this
.
orderModel
=
this
.
$route
.
query
console
.
log
(
this
.
orderModel
)
}
// this.time = JSON.parse(JSON.stringify(this.choosetime))
},
moreSearchShow
(
val
)
{
...
...
@@ -343,6 +349,10 @@ export default {
overflow-y
:
auto
;
padding
:
5
PX
;
}
.inputInfo
:empty::before
{
content
:
attr
(
placeholder
);
color
:
#999999
;
}
.input
{
color
:
#666666
;
width
:
100%
;
...
...
src/views/myOrder/orderInvoice/index.vue
View file @
7391caac
...
...
@@ -31,7 +31,8 @@ export default {
end
:
getFormateDate
(
new
Date
(),
"
yyyy-MM-dd
"
),
},
},
invoiceList
:
[]
invoiceList
:
[],
orderModel
:
{}
}
},
computed
:
{
...
...
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