店铺详情收款码下载处理,耗材报损增加
This commit is contained in:
33
http/yskApi/breakage.js
Normal file
33
http/yskApi/breakage.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import http from './http.js'
|
||||
const request=http.request
|
||||
|
||||
|
||||
/**
|
||||
* 商品报损
|
||||
* @returns
|
||||
*/
|
||||
export function productBreakage(data) {
|
||||
return request({
|
||||
url: `/api/tbProductStockDetail/frmLoss`,
|
||||
method: 'post',
|
||||
data:{
|
||||
shopId: uni.getStorageSync('shopId'),
|
||||
...data
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 耗材报损
|
||||
* @returns
|
||||
*/
|
||||
export function consumableBreakage(data) {
|
||||
return request({
|
||||
url: `/api/tbConsInfoFlow/frmLoss`,
|
||||
method: 'post',
|
||||
data:{
|
||||
shopId: uni.getStorageSync('shopId'),
|
||||
...data
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user