gh代码合并跟新设置店铺页面

This commit is contained in:
2024-09-28 15:24:41 +08:00
11 changed files with 242 additions and 177 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
}
})
}