123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- import request from '@/utils/request'
- /***
- * 物流相关接口
- *
- * * */
- // 获取列表
- export function getTableList(parms) {
- return request({
- url: '/common/tender',
- method: 'get',
- params: parms
- })
- }
- // 获取列表 -- 物流
- export function getQueryId(parms) {
- return request({
- url: '/logistics',
- // url: '/common/tender/logistics',
- method: 'get',
- params: parms
- })
- }
- // 修改列表
- export function getQueryEdit(parms) {
- return request({
- url: '/common/tender/update',
- method: 'put',
- data: parms
- })
- }
- // 获取列表
- export function getLogisticsInfo(parms) {
- return request({
- url: '/bidding/logistics/info',
- method: 'get',
- params: parms
- })
- }
- // 已投递列表
- export function getLogisticsList(parms) {
- return request({
- url: '/logistics/tender',
- method: 'get',
- params: parms
- })
- }
- // 添加列表
- export function getQueryAdd(parms) {
- return request({
- url: '/common/tender',
- method: 'post',
- data: parms
- })
- }
- // 作废列表
- export function getQueryDelete(tenderType,tenderParentId) {
- return request({
- url: '/common/tender/'+ tenderType+"/"+tenderParentId,
- method: 'PUT',
- })
- }
- // 下载
- export function loadCustomer(parms) {
- return request({
- url: '/bidding/load',
- method: 'get',
- params: parms
- })
- }
- // 获取下载模板URL
- export function apiFile(value){
- return request({
- url:"/file/template/" + value,
- method:"get"
- })
- }
- /**
- * 获取客户
- *
- * ** */
- export function getCustomerName(parms) {
- return request({
- url: '/customer/customerName',
- method: 'get',
- params: parms
- })
- }
- // 置中标
- export function getContract(tenderld,biddingld,tenderType){
- return request({
- url:"/common/tender/success/contract/" +tenderld +"/"+biddingld+"/"+tenderType,
- method:"get"
- })
- }
-
- /***
- *
- * 销售相关
- *
- * * */
- // 获取列表 -- 销售
- export function getSaleId(parms) {
- return request({
- url: '/tender/sale/page',
- // url: '/common/tender/logistics',
- method: 'get',
- params: parms
- })
- }
- // 已投递列表
- export function getBiddingSaleList(parms) {
- return request({
- url: '/tender/sale',
- method: 'get',
- params: parms
- })
- }
- // 标的详情
- export function getBiddingSaleInfo(parms) {
- return request({
- url: '/bidding/sale',
- method: 'get',
- params: parms
- })
- }
- /**
- * 原料相关接口
- *
- * * */
- export function getTenderRaw(parms) {
- return request({
- url: '/tender/raw',
- // url: '/common/tender/logistics',
- method: 'get',
- params: parms
- })
- }
- // 已投递列表
- export function getTenderRawList(parms) {
- return request({
- url: '/tender/raw/info',
- method: 'get',
- params: parms
- })
- }
- // 标的详情
- export function getBiddingRowInfo(parms) {
- return request({
- url: ' /bidding/raw',
- method: 'get',
- params: parms
- })
- }
- /**
- * 加工承揽
- *
- * ** */
- export function getTenderProcessing(parms) {
- return request({
- url: '/tender/processing',
- // url: '/common/tender/logistics',
- method: 'get',
- params: parms
- })
- }
- // 已投递列表
- export function getTenderInfoList(parms) {
- return request({
- url: '/tender/processing/info',
- method: 'get',
- params: parms
- })
- }
- // 标的详情
- export function getBiddingList(parms) {
- return request({
- url: '/processing/quoted/page',
- method: 'get',
- params: parms
- })
- }
- export function getBiddingList1(parms) {
- return request({
- url: '/processing/enquiry/page',
- method: 'get',
- params: parms
- })
- }
|