diff --git a/src/api/bs/myQuotationSheetBidding.js b/src/api/bs/myQuotationSheetBidding.js new file mode 100644 index 0000000..d473f88 --- /dev/null +++ b/src/api/bs/myQuotationSheetBidding.js @@ -0,0 +1,19 @@ +import request from '@/plugin/axios' + +// 获得报价单产品中标分页 +export function getQuotationSheetBiddingPage(query) { + return request({ + url: '/bs/quotation-sheet/pageBidding', + method: 'get', + params: query + }) +} + + +// 获得报价单产品中标 +export function getQuotationSheetBidding(id) { + return request({ + url: '/bs/quotation-sheet/getBidding?id=' + id, + method: 'get' + }) +} \ No newline at end of file diff --git a/src/components/MyQuotationSheetBiddingListCard/index.vue b/src/components/MyQuotationSheetBiddingListCard/index.vue new file mode 100644 index 0000000..e003091 --- /dev/null +++ b/src/components/MyQuotationSheetBiddingListCard/index.vue @@ -0,0 +1,187 @@ + + + + + diff --git a/src/router/modules/contract.js b/src/router/modules/contract.js index 5e31fdc..8023cac 100644 --- a/src/router/modules/contract.js +++ b/src/router/modules/contract.js @@ -21,11 +21,13 @@ export default { { path: '/supplierMsg', name: `${pre}supplierMsg`, component: () => import('@/views/contract/supplierMsg'), meta: { cache: true, title: '供应商信息' } }, { path: '/customerCompany', name: `${pre}customerCompany`, component: () => import('@/views/contract/customerCompany'), meta: { cache: true, title: '客户信息' } }, { path: '/quotationSheet', name: `${pre}quotationSheet`, component: () => import('@/views/contract/quotationSheet'), meta: { cache: true, title: '报价单管理' } }, + { path: '/quotationSheetBidding', name: `${pre}quotationSheetBidding`, component: () => import('@/views/contract/quotationSheetBidding'), meta: { cache: true, title: '报价单中标管理' } }, { path: '/payPlan', name: `${pre}payPlan`, component: () => import('@/views/contract/payPlan'), meta: { cache: true, title: '付款计划' } }, { path: '/getPlan', name: `${pre}getPlan`, component: () => import('@/views/contract/getPlan'), meta: { cache: true, title: '收款计划' } }, { path: '/mySupplierMsg', name: `${pre}mySupplierMsg`, component: () => import('@/views/contract/mySupplierMsg'), meta: { cache: true, title: '供应商信息列表' } }, { path: '/myCustomerCompany', name: `${pre}myCustomerCompany`, component: () => import('@/views/contract/myCustomerCompany'), meta: { cache: true, title: '客户信息列表' } }, { path: '/myQuotationSheet', name: `${pre}myQuotationSheet`, component: () => import('@/views/contract/myQuotationSheet'), meta: { cache: true, title: '报价单列表' } }, + { path: '/myQuotationSheetBidding', name: `${pre}myQuotationSheetBidding`, component: () => import('@/views/contract/myQuotationSheetBidding'), meta: { cache: true, title: '报价单中标管理列表' } }, /* { path: '/contract/procurement/supplierMsgDatail', name: `${pre}contract/procurement/supplierMsgDatail`, component: () => import('@/views/contract/supplierMsgDatail'), meta: { cache: true, title: '供应商信息' } }, */ { path: '/myCustom', name: `${pre}myCustom`, component: () => import('@/views/contract/myCustom'), meta: { cache: true, title: '客户合同审批列表' } }, { path: '/custom', name: `${pre}custom`, component: () => import('@/views/contract/custom'), meta: { cache: true, title: '客户合同审批' } }, diff --git a/src/views/contract/myQuotationSheetBidding/components/HeaderFilter.vue b/src/views/contract/myQuotationSheetBidding/components/HeaderFilter.vue new file mode 100644 index 0000000..627bfed --- /dev/null +++ b/src/views/contract/myQuotationSheetBidding/components/HeaderFilter.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/src/views/contract/myQuotationSheetBidding/components/UserList.vue b/src/views/contract/myQuotationSheetBidding/components/UserList.vue new file mode 100644 index 0000000..188d8fd --- /dev/null +++ b/src/views/contract/myQuotationSheetBidding/components/UserList.vue @@ -0,0 +1,328 @@ + + + + diff --git a/src/views/contract/myQuotationSheetBidding/components/index.scss b/src/views/contract/myQuotationSheetBidding/components/index.scss new file mode 100644 index 0000000..e5c432f --- /dev/null +++ b/src/views/contract/myQuotationSheetBidding/components/index.scss @@ -0,0 +1,163 @@ +$hf-contain-p: 0 1.2rem; +$hf-contain-f: 0.76rem; +$hf-high-color: #0088fe; +// 激活的颜色 +$hf-high-color: #0088fe; +.header-filter { + .hf-r-icon-bg-act { + .van-icon { + color: $hf-high-color !important; + } + } + background: #ffffff; + display: flex; + justify-content: space-between; + align-items: center; + padding: $hf-contain-p; + + .hf-l-list { + .hf-l-list-menu { + /deep/.van-dropdown-menu__bar { + height: auto; + box-shadow: none; + + .van-dropdown-menu__item { + flex: inherit; + margin-right: 1rem; + + .van-dropdown-menu__title { + padding: 0.6rem 0.4rem 0.6rem 0; + font-size: $hf-contain-f; + + &::after { + border: 1px solid; + padding: 0.1rem; + border-color: transparent transparent #333333 #333333; + } + } + + .van-dropdown-menu__title--active { + color: $hf-high-color; + + &::after { + border-color: transparent transparent $hf-high-color $hf-high-color; + } + } + } + } + } + } + + .hf-r-list { + display: flex; + + .hf-r-list-item { + margin-left: 0.4rem; + + .hf-r-icon-bg { + background: #d7d7d7; + width: 1.5rem; + height: 1.5rem; + border-radius: 1.5rem; + display: flex; + justify-content: center; + align-items: center; + color: #ffffff; + } + } + } + + .hf-drop-view { + padding: $hf-contain-p; + padding-bottom: 0.8rem; + + .hf-drop-contain { + display: flex; + flex-wrap: wrap; + padding-bottom: 0.8rem; + + .hr-drop-filter-item { + padding: $hf-contain-p; + font-size: $hf-contain-f; + width: 50%; + box-sizing: border-box; + padding: 0.8rem 0; + } + + .hr-drop-filter-item-act { + color: $hf-high-color; + } + } + + // 快捷筛选 + .hf-drop-quick { + margin-top: 1rem; + + .hf-drop-quick-item { + margin-bottom: 1.5rem; + + .hf-drop-quick-title { + color: #333333; + font-size: 0.84rem; + } + + .hf-drop-quick-list { + display: flex; + margin: 0.6rem 0; + font-size: $hf-contain-f; + + .hf-drop-quick-list-item { + border: 1px solid #f3f3f3; + background: #f3f3f3; + margin-right: 0.8rem; + padding: 0.4rem 0.6rem; + border-radius: 1rem; + transition: background-color, color 0.2s linear; + } + + .hf-drop-quick-list-item-act { + background: #ffffff; + color: $hf-high-color; + border: 1px solid $hf-high-color; + } + + .hf-drop-quick-list-item-checkbox { + margin-right: 1rem; + + /deep/.van-checkbox__label { + margin-left: 0.2rem; + } + } + } + + .hf-drop-quick-calendar { + /deep/.van-calendar__header { + box-shadow: none; + border-bottom: 1px solid #eeeeee; + } + } + } + } + } + + .hf-drop-contain-empty { + color: #666666; + text-align: center; + font-size: 0.8rem; + } + + .searchInput { + padding: 0.3rem 0; + width: 100%; + + .van-search__content { + background: #ffffff; + border: 1px solid #f3f3f3; + border-radius: 0.3rem; + + /deep/input { + caret-color: #0088fe; + } + } + } +} diff --git a/src/views/contract/myQuotationSheetBidding/index.vue b/src/views/contract/myQuotationSheetBidding/index.vue new file mode 100644 index 0000000..fb2a2d9 --- /dev/null +++ b/src/views/contract/myQuotationSheetBidding/index.vue @@ -0,0 +1,23 @@ + + + diff --git a/src/views/contract/quotationSheetBidding/index.vue b/src/views/contract/quotationSheetBidding/index.vue new file mode 100644 index 0000000..d6e79e7 --- /dev/null +++ b/src/views/contract/quotationSheetBidding/index.vue @@ -0,0 +1,163 @@ + + + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 8d2c233..bad95c1 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -328,7 +328,7 @@ export default { show: true }, { - route: '/contract/procure/quotation-sheet-bidding', + route: '/myQuotationSheetBidding', title: '报价单中标管理', icon: 'user-o', show: true