From ed9ec61ab465b535d11ba11eddea7e46c3cd212c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Tue, 2 Jul 2024 09:43:37 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invoicing/supplier_manage/purchase_detail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/invoicing/supplier_manage/purchase_detail.vue b/src/views/invoicing/supplier_manage/purchase_detail.vue index 10e7788..33f72f3 100644 --- a/src/views/invoicing/supplier_manage/purchase_detail.vue +++ b/src/views/invoicing/supplier_manage/purchase_detail.vue @@ -121,7 +121,7 @@ {{ scope.row.paidAt && dayjs(scope.row.paidAt).format('YYYY-MM-DD HH:mm:ss') }} - + - + From 57e2eeb66da1003518b6b6f7c4c6f00ceb86d430 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 3 Jul 2024 15:01:15 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=89=A9=E4=BD=99=E6=95=B0=E9=87=8F=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=95=86=E5=93=81=E5=BA=93=E5=AD=98=E5=88=86?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 ++++-- src/views/invoicing/components/operatingDetail.vue | 11 +++++++++++ src/views/invoicing/goods_stoks.vue | 7 ++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index 7029818..f3b05e5 100644 --- a/.env.development +++ b/.env.development @@ -4,8 +4,10 @@ ENV = 'development' # VUE_APP_BASE_API = 'http://192.168.2.17:8000' # VUE_APP_BASE_API = 'http://192.168.2.42:8000' # VUE_APP_BASE_API = 'http://192.168.2.133:8000' -# VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' -VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' +# 测试 +VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' +# 线上 +# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' # VUE_APP_BASE_API = 'http://192.168.2.96:8000' VUE_APP_WS_API = 'ws://192.168.2.128:8000' diff --git a/src/views/invoicing/components/operatingDetail.vue b/src/views/invoicing/components/operatingDetail.vue index 0b09180..726a7db 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/goods_stoks.vue b/src/views/invoicing/goods_stoks.vue index 8e1a365..2585bcd 100644 --- a/src/views/invoicing/goods_stoks.vue +++ b/src/views/invoicing/goods_stoks.vue @@ -67,7 +67,7 @@
-
@@ -174,6 +174,11 @@ export default { console.log(error); } }, + // 每页条数改变是回调 + paginationSizeChange(e){ + console.log(e); + this.tableData.size = e + }, // 分页回调 paginationChange(e) { this.tableData.page = e - 1 From 6118d2ef914903ec2810304fa87fb36ab6b4eb1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Wed, 3 Jul 2024 17:52:57 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E6=9B=B4=E6=94=B9size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invoicing/goods_stoks.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/invoicing/goods_stoks.vue b/src/views/invoicing/goods_stoks.vue index 0196801..62feeab 100644 --- a/src/views/invoicing/goods_stoks.vue +++ b/src/views/invoicing/goods_stoks.vue @@ -149,7 +149,7 @@ export default { warnLine: null, // 警戒线 tableData: { page: 0, - size: 5, + size: 10, total: 0, sort: 'id', loading: false, @@ -301,9 +301,12 @@ export default { paginationSizeChange(e){ console.log(e); this.tableData.size = e + this.getTableData() + }, // 分页回调 paginationChange(e) { + console.log(e) this.tableData.page = e - 1 this.tableData.list = [] this.getTableData() From 6dd4146cc61ad8c54715adbe20ad7da5b310257c Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Thu, 4 Jul 2024 09:55:05 +0800 Subject: [PATCH 6/6] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/consumable.js | 19 ++ .../invoicing/consumable/specifications.vue | 288 ++++++++++-------- 2 files changed, 179 insertions(+), 128 deletions(-) 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/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 @@ - - - - - - - 去选择商品规格 - - - - - - 去选择耗材信息 - - - - - + + + + + 取 消 - 确 定 - - - - - - - - - - - - - 取 消 - 确 定 + 确 定 +
- -
- - - -
- 查询 - 重置 -
-
- - - - - - - - -
- -
+ + + + + + + 取 消 + 确 定 + + + +