更换超市单位路径
This commit is contained in:
		
							parent
							
								
									3bd3157795
								
							
						
					
					
						commit
						c8fac9a6ac
					
				| 
						 | 
					@ -121,7 +121,7 @@ export function batchUpdateMaterialApi(data) {
 | 
				
			||||||
//{current: 1, size: -1, ifListUse: 1, areaId: '421488254718578688'}
 | 
					//{current: 1, size: -1, ifListUse: 1, areaId: '421488254718578688'}
 | 
				
			||||||
export function getDrpUnitListApi(data) {
 | 
					export function getDrpUnitListApi(data) {
 | 
				
			||||||
    return request({
 | 
					    return request({
 | 
				
			||||||
      url: '/smart-canteen/supply_product_unit/list',
 | 
					      url: '/smart-canteen/ims_unit/list',
 | 
				
			||||||
      method: 'get',
 | 
					      method: 'get',
 | 
				
			||||||
      headers: {
 | 
					      headers: {
 | 
				
			||||||
          "merchant-id":"378915229716713472",
 | 
					          "merchant-id":"378915229716713472",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -108,7 +108,7 @@ export function batchRemoveMaterialApi(data) {
 | 
				
			||||||
//{current: 1, size: -1, ifListUse: 1, areaId: '421488254718578688'}
 | 
					//{current: 1, size: -1, ifListUse: 1, areaId: '421488254718578688'}
 | 
				
			||||||
export function getDrpUnitListApi(data) {
 | 
					export function getDrpUnitListApi(data) {
 | 
				
			||||||
  return request({
 | 
					  return request({
 | 
				
			||||||
    url: '/smart-canteen/supply_product_unit/list',
 | 
					    url: '/smart-canteen/ims_unit/list',
 | 
				
			||||||
    method: 'get',
 | 
					    method: 'get',
 | 
				
			||||||
    headers: {
 | 
					    headers: {
 | 
				
			||||||
        "merchant-id":"378915229716713472",
 | 
					        "merchant-id":"378915229716713472",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ import request from '@/utils/request'
 | 
				
			||||||
// 仓库
 | 
					// 仓库
 | 
				
			||||||
export function drpWareHousePageApi(data) {
 | 
					export function drpWareHousePageApi(data) {
 | 
				
			||||||
  return request({
 | 
					  return request({
 | 
				
			||||||
    url: '/smart-canteen/supply_warehouse_info/list',
 | 
					    url: '/smart-canteen/ims_warehouse_info/list',
 | 
				
			||||||
    method: 'get',
 | 
					    method: 'get',
 | 
				
			||||||
    headers: {
 | 
					    headers: {
 | 
				
			||||||
      "merchant-id":"378915229716713472",
 | 
					      "merchant-id":"378915229716713472",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ import request from '@/utils/request'
 | 
				
			||||||
// 单位列表-分页
 | 
					// 单位列表-分页
 | 
				
			||||||
export function drpUnitPageListApi(data) {
 | 
					export function drpUnitPageListApi(data) {
 | 
				
			||||||
    return request({
 | 
					    return request({
 | 
				
			||||||
      url: '/smart-canteen/supply_product_unit/list',
 | 
					      url: '/smart-canteen/ims_unit/list',
 | 
				
			||||||
      method: 'get',
 | 
					      method: 'get',
 | 
				
			||||||
      headers: {
 | 
					      headers: {
 | 
				
			||||||
        "merchant-id":"378915229716713472",
 | 
					        "merchant-id":"378915229716713472",
 | 
				
			||||||
| 
						 | 
					@ -15,7 +15,7 @@ export function drpUnitPageListApi(data) {
 | 
				
			||||||
// 单位列表-新增
 | 
					// 单位列表-新增
 | 
				
			||||||
export function addDrpUnitApi(data) {
 | 
					export function addDrpUnitApi(data) {
 | 
				
			||||||
    return request({
 | 
					    return request({
 | 
				
			||||||
      url: '/smart-canteen/supply_product_unit',
 | 
					      url: '/smart-canteen/ims_unit',
 | 
				
			||||||
      method: 'post',
 | 
					      method: 'post',
 | 
				
			||||||
      headers: {
 | 
					      headers: {
 | 
				
			||||||
        "merchant-id":"378915229716713472",
 | 
					        "merchant-id":"378915229716713472",
 | 
				
			||||||
| 
						 | 
					@ -27,7 +27,7 @@ export function addDrpUnitApi(data) {
 | 
				
			||||||
// 单位列表-编辑
 | 
					// 单位列表-编辑
 | 
				
			||||||
export function editDrpUnitApi(data) {
 | 
					export function editDrpUnitApi(data) {
 | 
				
			||||||
    return request({
 | 
					    return request({
 | 
				
			||||||
      url: '/smart-canteen/supply_product_unit/edit',
 | 
					      url: '/smart-canteen/ims_unit/edit',
 | 
				
			||||||
      method: 'post',
 | 
					      method: 'post',
 | 
				
			||||||
      headers: {
 | 
					      headers: {
 | 
				
			||||||
        "merchant-id":"378915229716713472",
 | 
					        "merchant-id":"378915229716713472",
 | 
				
			||||||
| 
						 | 
					@ -39,7 +39,7 @@ export function editDrpUnitApi(data) {
 | 
				
			||||||
// 单位列表-删除
 | 
					// 单位列表-删除
 | 
				
			||||||
export function removeDrpUnitApi(unitId) {
 | 
					export function removeDrpUnitApi(unitId) {
 | 
				
			||||||
    return request({
 | 
					    return request({
 | 
				
			||||||
      url: '/smart-canteen/supply_product_unit/del/'+unitId,
 | 
					      url: '/smart-canteen/ims_unit/del/'+unitId,
 | 
				
			||||||
      method: 'post',
 | 
					      method: 'post',
 | 
				
			||||||
      headers: {
 | 
					      headers: {
 | 
				
			||||||
        "merchant-id":"378915229716713472",
 | 
					        "merchant-id":"378915229716713472",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue