From 44b339e2d2810393b7796a39a4ba05c068edff52 Mon Sep 17 00:00:00 2001 From: Teng <461587751@qq.com> Date: Thu, 20 Nov 2025 10:50:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Warehouse/picking.vue | 4 +- pages/procurement/purchaseorder.vue | 122 +++++++++++++------ unpackage/dist/dev/.nvue/pages/camera.js | 2 +- unpackage/dist/dev/.nvue/pages/fullcamera.js | 2 +- 4 files changed, 86 insertions(+), 44 deletions(-) diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue index d1dcb63..fac8169 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -809,9 +809,9 @@ {{showvalue.categoryId_dictText}} {{showvalue.typeId_dictText}} - + diff --git a/pages/procurement/purchaseorder.vue b/pages/procurement/purchaseorder.vue index 08cb05b..d2466f6 100644 --- a/pages/procurement/purchaseorder.vue +++ b/pages/procurement/purchaseorder.vue @@ -3,10 +3,10 @@ - - + + 检索 @@ -45,68 +45,103 @@ - {{ v.createTime?.split(' ')[0] }} + {{ v.qgDate }} - - + + + + + - + + 采购 - - [ {{ v.createBy_dictText }} ] + + {{ "[ " + v.qgBy + " ]" }} + {{ v.jhTime?.slice(0,10) }} - + --> + + :style="Number(v.status)>0?{backgroundColor: `#1083F8`}:{} "> + + + - + 拣货 - + + {{ "[ " + v.jhBy + " ]" }} + {{ v.wjTime?.slice(0,10) }} - - - + + + :style="Number(v.status)>1?{backgroundColor: `#1083F8`}:{} "> + + + - + + 完结 + + + {{ "[ " + v.wjBy + " ]" }} + + + @@ -116,8 +151,12 @@ {{ v.gysName }} - + + + + {{ v?.cgdType=='9' ?`已作废`:tagesstatues[Number(v.status)] }} @@ -127,7 +166,8 @@ - + 筛选 @@ -141,7 +181,7 @@ - + {{ showvalue?.typeId_dictText }} - + @@ -356,7 +396,8 @@ - + + @@ -371,7 +412,7 @@ firstgetqueryCgdList(); serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/'; }) - + const tagesstatues = ["待入库", "待完结", "已完结"]; const searchValue = ref(""); const middletarget = ref(0); @@ -392,7 +433,7 @@ const firstgetqueryCgdList = () => { queryCgdList(plzinfo).then((res : any) => { plsbuy.value.push(...res.result.records) - // console.log("zzzz", plsbuy.value) + console.log("zzzz", plsbuy.value) if (res.result.records.length) { form.cgdId = plsbuy.value[0].id queryInvo(); @@ -404,13 +445,13 @@ }) } - const confirm =(e:any)=>{ + const confirm = (e : any) => { form.categoryId = e.categoryId; form.typeId = e.typeId; form.medicationId = e.medicationId; form.suppliers = e.suppliers; form.cgdId = e.cgdId; - form.pageNo=1; + form.pageNo = 1; InvoicingList.value = []; queryInvo(); ification.value = false @@ -462,7 +503,7 @@ typeId: '', medicationId: '', wlParamInfo: '', - suppliers:'', + suppliers: '', cgdId: "", isWaring: 0, canpull: true, @@ -487,12 +528,13 @@ const InvoicingList = ref([]) const queryInvo = () => { queryCgdInfoList(form).then(res => { - console.log(res.result.records) + // console.log(res.result.records) + InvoicingList.value = []; InvoicingList.value.push(...res.result.records); clickmiddle(middletarget.value); }) } - + const search = () => { // if (!searchValue.value) return form.pageNo = 1; @@ -501,7 +543,7 @@ // form.wlParamInfo = searchValue.value; // form.cgdId = plsbuy.value[lefttarget.value].id // queryInvo(); - + plzinfo.pageNo = 1; plsbuy.value = []; queryCgdList(plzinfo).then((res : any) => { @@ -562,7 +604,7 @@ const badshow = ref(false); const donghuacs = ref(false) const bebad = (v) => { - if(Number(v.status)==1){ + if (Number(v.status) == 1) { setTimeout(() => { uni.showToast({ title: '只有采购阶段的单据才能作废', diff --git a/unpackage/dist/dev/.nvue/pages/camera.js b/unpackage/dist/dev/.nvue/pages/camera.js index 04100f2..12310ff 100644 --- a/unpackage/dist/dev/.nvue/pages/camera.js +++ b/unpackage/dist/dev/.nvue/pages/camera.js @@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]); +const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]); export { camera as default }; diff --git a/unpackage/dist/dev/.nvue/pages/fullcamera.js b/unpackage/dist/dev/.nvue/pages/fullcamera.js index c959abe..dd59bdc 100644 --- a/unpackage/dist/dev/.nvue/pages/fullcamera.js +++ b/unpackage/dist/dev/.nvue/pages/fullcamera.js @@ -577,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]); +const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]); export { fullcamera as default };