dev
This commit is contained in:
parent
4a10d74bb3
commit
9c45e8e44a
|
|
@ -89,7 +89,7 @@ export namespace API {
|
|||
export namespace Base {
|
||||
export const Get = 'goods/base/get'//根据商品id获取商品;
|
||||
export const Save = 'goods/base/save'//商品建档或修改;
|
||||
export const Search = 'goods/base/search'//商品搜索一键建档内的搜索;
|
||||
export const Search = 'goods/base/search'//商品下单后的搜索;
|
||||
export const ReturnInit = 'goods/base/returnInit'//商品重新初始化医保库存;
|
||||
export const AddIdCode = 'goods/base/addIdCode'//商品添加标识码;
|
||||
export const EnableSale = 'goods/base/enableSale'//起售商品;
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ const delGoods = (item: any) => {
|
|||
goodsDetail.value = goodsDetail.value.filter((i: any) => i.id != item.id)
|
||||
}
|
||||
|
||||
const goodsSearchApi = "goods/goods/search";
|
||||
const goodsSearchApi = API.Goods.Base.Search;
|
||||
const goodsShowConfig = [
|
||||
{
|
||||
label: "项目名称",
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ const itemDetail = defineModel<any>();
|
|||
const delService = (item: any) => {
|
||||
itemDetail.value = itemDetail.value.filter((i: any) => i.id != item.id)
|
||||
}
|
||||
const serviceSearchApi = "item/search";
|
||||
const serviceSearchApi = API.Item.Base.Search;
|
||||
const serviceShowConfig = [
|
||||
{
|
||||
label: "服务名称",
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ const resetSearch = () => {
|
|||
* 获取商品统计数据 总成本 总售价 甲乙丙类
|
||||
*/
|
||||
const getStatisticsData = () => {
|
||||
post(API.Statistics.GoodsStatistics).then((res: any) => {
|
||||
post(API.Statistics.Base.GoodsStatistics).then((res: any) => {
|
||||
statisticsData.value = res
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue