Commit 38d17263 authored by xiejb's avatar xiejb

高级搜索 商品接口切换

parent a513918f
...@@ -176,13 +176,15 @@ export default { ...@@ -176,13 +176,15 @@ export default {
getPostData() { getPostData() {
let _this = this let _this = this
let data = { let data = {
'dbSource':this.linkInfo.sysDbSource, // 'dbSource':this.linkInfo.sysDbSource,
'pageNum': _this.currentPage, 'dbSource':'erp_test_shaphar',
'pageSize': _this.pageSize, 'pageNum': _this.currentPage,
'erpUserId':this.linkInfo.sysUserId, 'pageSize': _this.pageSize,
'invOwner':this.linkInfo.sysOrgId, // 'erpUserId':this.linkInfo.sysUserId,
'goodsId':_this.chinfo.goodsId, 'erpUserId': '23528',
'supply':_this.keywords 'invOwner':'200',
'goodsId':_this.chinfo.goodsId,
'supply':_this.keywords
} }
getCgSupplyList(data).then(rt => { getCgSupplyList(data).then(rt => {
......
...@@ -95,12 +95,12 @@ ...@@ -95,12 +95,12 @@
@cancleclick="showPost" @cancleclick="showPost"
@confirmclick="postConfirm" @confirmclick="postConfirm"
></search-in-consignor> ></search-in-consignor>
<cg-search-goods <search-goods
v-model="moreSearchDialog.goodsShow" v-model="moreSearchDialog.goodsShow"
:customer="!moreSearchInfo.goods ? {}:moreSearchInfo.goods" :customer="!moreSearchInfo.goods ? {}:moreSearchInfo.goods"
@cancleclick="showPost" @cancleclick="showPost"
@confirmclick="postConfirm" @confirmclick="postConfirm"
></cg-search-goods> ></search-goods>
<search-in-client <search-in-client
v-model="moreSearchDialog.clientShow" v-model="moreSearchDialog.clientShow"
:customer="!moreSearchInfo.client ? {}:moreSearchInfo.client" :customer="!moreSearchInfo.client ? {}:moreSearchInfo.client"
...@@ -119,7 +119,7 @@ import SearchInSupplier from "@/components/SearchInSupplier"; ...@@ -119,7 +119,7 @@ import SearchInSupplier from "@/components/SearchInSupplier";
// 货主 // 货主
import SearchInConsignor from "@/components/SearchInConsignor"; import SearchInConsignor from "@/components/SearchInConsignor";
// 商品 // 商品
import CgSearchGoods from "@/components/CgSearchGoods"; import SearchGoods from "@/components/SearchGoods";
// 客户 // 客户
import SearchInClient from "@/components/SearchInClient" import SearchInClient from "@/components/SearchInClient"
export default { export default {
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
components: { components: {
TimeChoose, TimeChoose,
SearchInSupplier, SearchInSupplier,
CgSearchGoods, SearchGoods,
SearchInConsignor, SearchInConsignor,
SearchInClient SearchInClient
}, },
......
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
gotoOrderClearance(model) { gotoOrderClearance(model) {
this.$router.push({ this.$router.push({
path: '/clearance', path: '/clearance',
query: model query: Object.assign(this.$store.state.linkInfo, model)
}) })
}, },
onBrowserBack() { 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