diff --git a/src/api/consumable.js b/src/api/consumable.js index 8ca3ae3..8453a91 100644 --- a/src/api/consumable.js +++ b/src/api/consumable.js @@ -163,4 +163,58 @@ export function gettbConsInfoFlow(params) { method: "get", params }); +} +/** + * 分组查询获取耗材流水信息 + */ +export function viewConInfoFlow(data) { + return request({ + url: "/api/viewConInfoFlow", + method: "get", + params: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); + } + + /** + * 查询耗材单位列表 + */ +export function queryTbConUnitInfo(data) { + return request({ + url: "/api/tbConUnit/queryTbConUnitInfo", + method: "get", + params: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); + } + +/** + * 新增耗材单位 + */ +export function addtbConUnit(data) { + return request({ + url: '/api/tbConUnit', + method: "post", + data:{ + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} +/** + * 修改耗材单位 + */ +export function edittbConUnit(data) { + return request({ + url: '/api/tbConUnit', + method: "put", + data:{ + shopId: localStorage.getItem("shopId"), + ...data + } + }); } \ No newline at end of file diff --git a/src/api/invoicing.js b/src/api/invoicing.js index 06432bc..cbf2b92 100644 --- a/src/api/invoicing.js +++ b/src/api/invoicing.js @@ -241,6 +241,16 @@ export function stockStateChange(params) { } }); } +// 下架 +export function stockStateChangess(params) { + return request({ + url: `/api/stock/grounding`, + method: "put", + params: { + ...params + } + }); +} // 警戒设置 export function stockStatewarnLine(params) { return request({ diff --git a/src/views/invoicing/components/cons_record_detail.vue b/src/views/invoicing/components/cons_record_detail.vue new file mode 100644 index 0000000..af0677d --- /dev/null +++ b/src/views/invoicing/components/cons_record_detail.vue @@ -0,0 +1,174 @@ + + + + \ No newline at end of file diff --git a/src/views/invoicing/components/invoicingDetail.vue b/src/views/invoicing/components/invoicingDetail.vue index b70f107..2dfdbdb 100644 --- a/src/views/invoicing/components/invoicingDetail.vue +++ b/src/views/invoicing/components/invoicingDetail.vue @@ -43,6 +43,13 @@ {{ scope.row.leftNumber + scope.row.stockNumber }} {{ scope.row.unitName }} + + + - + + + + +