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