Commit 38d17263 authored by xiejb's avatar xiejb

高级搜索 商品接口切换

parent a513918f
......@@ -176,11 +176,13 @@ export default {
getPostData() {
let _this = this
let data = {
'dbSource':this.linkInfo.sysDbSource,
// 'dbSource':this.linkInfo.sysDbSource,
'dbSource':'erp_test_shaphar',
'pageNum': _this.currentPage,
'pageSize': _this.pageSize,
'erpUserId':this.linkInfo.sysUserId,
'invOwner':this.linkInfo.sysOrgId,
// 'erpUserId':this.linkInfo.sysUserId,
'erpUserId': '23528',
'invOwner':'200',
'goodsId':_this.chinfo.goodsId,
'supply':_this.keywords
}
......
......@@ -95,12 +95,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"
......@@ -119,7 +119,7 @@ import SearchInSupplier from "@/components/SearchInSupplier";
// 货主
import SearchInConsignor from "@/components/SearchInConsignor";
// 商品
import CgSearchGoods from "@/components/CgSearchGoods";
import SearchGoods from "@/components/SearchGoods";
// 客户
import SearchInClient from "@/components/SearchInClient"
export default {
......@@ -127,7 +127,7 @@ export default {
components: {
TimeChoose,
SearchInSupplier,
CgSearchGoods,
SearchGoods,
SearchInConsignor,
SearchInClient
},
......
......@@ -148,7 +148,7 @@ export default {
gotoOrderClearance(model) {
this.$router.push({
path: '/clearance',
query: model
query: Object.assign(this.$store.state.linkInfo, model)
})
},
onBrowserBack() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment