From 6b12e375c6a0983961315556d84825b0e97c467e Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Mon, 17 Nov 2025 16:35:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Warehouse/procurecart.vue | 2 +- pages/procurement/materialcar.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/Warehouse/procurecart.vue b/pages/Warehouse/procurecart.vue index c93dff2..207e668 100644 --- a/pages/Warehouse/procurecart.vue +++ b/pages/Warehouse/procurecart.vue @@ -316,7 +316,7 @@ const form = reactive({ nuId: '', pageNo: 1, - pageSize: 13, + pageSize: 10, categoryId: '', typeId: '', medicationId: '', diff --git a/pages/procurement/materialcar.vue b/pages/procurement/materialcar.vue index 95abf06..d515e28 100644 --- a/pages/procurement/materialcar.vue +++ b/pages/procurement/materialcar.vue @@ -79,7 +79,7 @@ const queryInvo = () => { queryShoppingCartList(form).then(res => { res.result.records.forEach((item,i)=>{ - item.flag = false; + item.flag = true; item.zk = false; item.scrollleft = 0; }) From d15a8fa096537b94920bd58916f5dcbbb5c6d3a2 Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Tue, 18 Nov 2025 13:08:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=87=87=E8=B4=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Warehouse/picking.vue | 110 ++--- pages/Warehouse/procurecart.vue | 2 +- pages/procurement/api/lunpan.js | 10 +- pages/procurement/components/cgdclass.vue | 453 ++++++++++++++++++ .../procurement/components/classification.vue | 11 +- pages/procurement/materialcar.vue | 2 +- pages/procurement/purchaseorder.vue | 39 +- 7 files changed, 536 insertions(+), 91 deletions(-) create mode 100644 pages/procurement/components/cgdclass.vue diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue index 6ddbd16..5a7a988 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -608,26 +608,21 @@ - + - - - {{ tagsArray[i] }} + + {{v.status_dictText}} - - + + - {{ i == 0 ? '留置针敷贴(医用…)' - : i == 1 ? '纸尿裤-拉拉裤' - : i == 2 ? '纸尿裤' - : '纸尿裤' - }} - + {{ v.wlName }} @@ -636,30 +631,26 @@ - {{ i==0 ? '15.30' - : i==1 ? '86.16' - : i==2 ? '189.55' - : '46.80' - }} + :style="{fontWeight:Number(v.arrivalPrice)>0||Number(v.procurementPrice)>0 ?`600`:``}"> + {{v.arrivalPrice?v.arrivalPrice:v.procurementPrice }} - 20 + {{ v.purchaseQuantity }} - 片 + {{ v.wlUnits}} - 800mm*680mm + {{v.wlSpecificationModel}} @@ -668,8 +659,8 @@ - - {{ i==0 ? 0 : i==1 ? 10 : i==2 ? 5 : 5 }} + + {{v.rksl}} @@ -681,8 +672,8 @@ - - {{ i==0 ? 0 : i==1 ? 0 : i==2 ? 0 : 5 }} + + {{v.wrksl}} @@ -694,8 +685,8 @@ - - {{ i==0 ? 0 : i==1 ? 0 : i==2 ? 5 : 0 }} + + {{v.xzsl}} @@ -740,28 +731,20 @@ - + mode="aspectFill"> - - - 耗材用品 - - - 复健用品 - - - 支架 - - + {{showvalue.categoryId_dictText}} + {{showvalue.typeId_dictText}} + {{showvalue.medicationId_dictText}} - 纸尿裤-拉拉裤纸尿裤 + {{showvalue.wlName}} - ZHYP044 + {{showvalue.wlMaterialNo}} @@ -786,7 +769,7 @@ 规格型号 - 800mm*680mm + {{showvalue.wlSpecificationModel}} @@ -798,7 +781,7 @@ 采购单价 - ¥15 + ¥{{showvalue.arrivalPrice?showvalue.arrivalPrice:showvalue.procurementPrice}} @@ -806,7 +789,7 @@ 采购数量 - 200 + {{showvalue.purchaseQuantity}} @@ -814,7 +797,7 @@ 采购单位 - 片 + {{showvalue.wlUnits}} @@ -826,7 +809,7 @@ 库存数量 - 853 + {{showvalue.kcsl}} @@ -834,7 +817,7 @@ 物料上限 ↑ - 4000 + {{showvalue.wlUpperLimit}} @@ -842,7 +825,7 @@ 物料下限 ↓ - 60 + {{showvalue.wlLowerLimit}} @@ -854,7 +837,7 @@ 入库数量 - 0 + {{showvalue.rksl}} @@ -862,7 +845,7 @@ 挂账数量 - 0 + {{showvalue.wrksl}} @@ -870,7 +853,7 @@ 销账数量 - 0 + {{showvalue.xzsl}} @@ -1196,7 +1179,7 @@ const form = reactive({ nuId: '', pageNo: 1, - pageSize: 9, + pageSize: -1, categoryId: '', typeId: '', medicationId: '', @@ -1216,7 +1199,7 @@ cgdId: "", isWaring: 0 } - const tagsArray = [`待入库`, `已入库`, `已销账`, `挂账中`] + const tagsArray = [`待入库`,`挂账中`, `已入库`, `已销账`, ] const clickmiddle = (index : number) => { middletarget.value = index; showvalue.value = InvoicingList.value[index]; @@ -1230,24 +1213,12 @@ // InvoicingList.value.push(...res.result.records); // } + console.log(res.result.records) InvoicingList.value.push(...res.result.records); clickmiddle(0); }) } - const getmore = () => { - if (form.canpull) { - form.pageNo++ - queryCgdInfoList(form).then(res => { - InvoicingList.value.push(...res.result.records); - if (res.result.records.length != 10) { - form.canpull = false - } - console.log("??????", res.result.records) - }) - } - - } const search = () => { // if (!plzinfo.cgdParamInfo) return plzinfo.pageNo = 1; @@ -2072,6 +2043,7 @@ width: 250rpx; height: 250rpx; margin-left: 50rpx; + margin-top: 2vw; } .left-tags { diff --git a/pages/Warehouse/procurecart.vue b/pages/Warehouse/procurecart.vue index 207e668..44f9b14 100644 --- a/pages/Warehouse/procurecart.vue +++ b/pages/Warehouse/procurecart.vue @@ -316,7 +316,7 @@ const form = reactive({ nuId: '', pageNo: 1, - pageSize: 10, + pageSize: -1, categoryId: '', typeId: '', medicationId: '', diff --git a/pages/procurement/api/lunpan.js b/pages/procurement/api/lunpan.js index dfa5d58..3eeae90 100644 --- a/pages/procurement/api/lunpan.js +++ b/pages/procurement/api/lunpan.js @@ -180,4 +180,12 @@ export const getTreeDataWlnum = (params) => { method: 'get', data: params, }) - } \ No newline at end of file + } + //(业务)获取物料分类树可采购的物料数量(采购单列表使用) + export const getCgdTreeDataWlnum = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/getCgdTreeDataWlnum`, + method: 'get', + data: params, + }) + } diff --git a/pages/procurement/components/cgdclass.vue b/pages/procurement/components/cgdclass.vue new file mode 100644 index 0000000..9eff90a --- /dev/null +++ b/pages/procurement/components/cgdclass.vue @@ -0,0 +1,453 @@ + + + + + \ No newline at end of file diff --git a/pages/procurement/components/classification.vue b/pages/procurement/components/classification.vue index 82d6dbd..4681e0d 100644 --- a/pages/procurement/components/classification.vue +++ b/pages/procurement/components/classification.vue @@ -64,7 +64,7 @@