diff --git a/src/api/consumable.js b/src/api/consumable.js index e307918..c195eba 100644 --- a/src/api/consumable.js +++ b/src/api/consumable.js @@ -112,6 +112,17 @@ export function posttbProskuCon(data) { data }); } +/** + * 新增商品规格耗材信息-修改后 + * @returns + */ +export function posttbProskuCons(data) { + return request({ + url: '/api/tbProskuCon', + method: "post", + data + }); +} /** * 修改商品规格耗材信息状态 * @returns @@ -123,6 +134,14 @@ export function puttbProskuCon(data) { data }); } +// 编辑单位耗材值 +// export function puttbProskuCon(data) { +// return request({ +// url: '/api/tbProskuCon', +// method: "put", +// data +// }); +// } /** * 删除商品规格耗材信息状态 * @returns diff --git a/src/views/invoicing/components/operatingDetail.vue b/src/views/invoicing/components/operatingDetail.vue index d643e4e..86dbc1b 100644 --- a/src/views/invoicing/components/operatingDetail.vue +++ b/src/views/invoicing/components/operatingDetail.vue @@ -13,6 +13,13 @@ - {{ scope.row.number }} {{ scope.row.unitName }} + + +
@@ -43,6 +50,10 @@ export default { } }, methods: { + //返回现有库存数量 + returnNowHasNumbr(row){ + return row.stockNumber*1 + row.number*1 +row.unitName + }, show(id) { this.dialogVisible = true this.getTableData(id) diff --git a/src/views/invoicing/consumable/specifications.vue b/src/views/invoicing/consumable/specifications.vue index 886bb03..8dd6d77 100644 --- a/src/views/invoicing/consumable/specifications.vue +++ b/src/views/invoicing/consumable/specifications.vue @@ -30,7 +30,8 @@
- 添加 + 选择商品规格
@@ -39,6 +40,7 @@ + @@ -78,46 +80,55 @@
- - - - - - - 去选择商品规格 - - - - - - 去选择耗材信息 - - - - - + + + + + 取 消 - 确 定 - - - - - - - - - - - - - 取 消 - 确 定 + 确 定 +
- -
- - - -
- 查询 - 重置 -
-
- - - - - - - - -
- -
+ + + + + + + 取 消 + 确 定 + + + +