diff --git a/package.json b/package.json index a4183ab..e827f30 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "path-to-regexp": "2.4.0", "qrcode": "^1.5.3", "qs": "^6.10.1", + "reconnecting-websocket": "^4.4.0", "screenfull": "4.2.0", "sortablejs": "^1.15.2", "vue": "^2.6.14", diff --git a/src/api/invoicing.js b/src/api/invoicing.js index eed95a4..861bbc9 100644 --- a/src/api/invoicing.js +++ b/src/api/invoicing.js @@ -300,3 +300,33 @@ export function tbShopPurveyorTransacttransactPayInfos(params) { params }); } + +/** + * 查询耗材信息 + * @returns + */ +export function tbConsInfoGet(data) { + return request({ + url: `/api/tbConsInfo`, + method: "get", + params: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} + +/** + * 耗材出入库 + * @returns + */ +export function stockInOut(data) { + return request({ + url: `/api/tbConsInfo/stockInOut`, + method: "post", + data: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} diff --git a/src/views/application/choose_song.vue b/src/views/application/choose_song.vue new file mode 100644 index 0000000..6ecfad8 --- /dev/null +++ b/src/views/application/choose_song.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/invoicing/components/consumableList.vue b/src/views/invoicing/components/consumableList.vue new file mode 100644 index 0000000..46be62b --- /dev/null +++ b/src/views/invoicing/components/consumableList.vue @@ -0,0 +1,134 @@ + + + + + + \ No newline at end of file diff --git a/src/views/invoicing/consumable/information.vue b/src/views/invoicing/consumable/information.vue index bc5ba51..1b12965 100644 --- a/src/views/invoicing/consumable/information.vue +++ b/src/views/invoicing/consumable/information.vue @@ -65,10 +65,10 @@ 查看 - +