店铺详情收款码下载处理,耗材报损增加

This commit is contained in:
GaoHao
2024-09-28 15:16:31 +08:00
parent fad44dd3c5
commit 78580644f5
11 changed files with 252 additions and 180 deletions

33
http/yskApi/breakage.js Normal file
View 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
}
})
}