From 43990ed65849f401bc334e23b7587749b24e2909 Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Tue, 9 Dec 2025 15:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/pleasetake/api/api.js | 14 + .../component/pleasetake/common/addwl.vue | 6 +- .../component/pleasetake/common/carditem.vue | 2 +- .../component/pleasetake/common/htditem.vue | 395 ++++++++++++++++++ .../component/pleasetake/common/medetails.vue | 2 +- .../component/pleasetake/common/submits.vue | 12 +- .../component/pleasetake/common/takeing.vue | 11 +- .../pleasetake/common/takerecord.vue | 2 +- .../pleasetake/component/requestform.vue | 8 +- .../pleasetake/component/returnorder.vue | 353 ++++------------ pages/Warehouse/finish.vue | 2 +- pages/Warehouse/picking.vue | 15 +- pages/procurement/authorization.vue | 4 +- pages/procurement/common/submits.vue | 10 +- pages/procurement/common/takeing.vue | 8 +- pages/procurement/common/thitem.vue | 19 +- pages/procurement/common/thwl.vue | 2 +- .../components/inboundoutbound.vue | 111 ++++- pages/procurement/material.vue | 22 +- pages/procurement/materialcar.vue | 12 +- pages/procurement/retstock.vue | 4 +- 21 files changed, 665 insertions(+), 349 deletions(-) create mode 100644 pages/NursingNew/component/pleasetake/common/htditem.vue diff --git a/pages/NursingNew/component/pleasetake/api/api.js b/pages/NursingNew/component/pleasetake/api/api.js index a8a912e..58b7542 100644 --- a/pages/NursingNew/component/pleasetake/api/api.js +++ b/pages/NursingNew/component/pleasetake/api/api.js @@ -127,3 +127,17 @@ export const requireTH = (params) => { data: params, }) } +export const updateQldWlSl = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/qld/updateQldWlSl`, + method: 'post', + data: params, + }) +} +export const deleteQldWl = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/qld/deleteQldWl`, + method: 'post', + data: params, + }) +} diff --git a/pages/NursingNew/component/pleasetake/common/addwl.vue b/pages/NursingNew/component/pleasetake/common/addwl.vue index 15fc6ce..6f12f74 100644 --- a/pages/NursingNew/component/pleasetake/common/addwl.vue +++ b/pages/NursingNew/component/pleasetake/common/addwl.vue @@ -8,9 +8,9 @@ - - {{v.materialInfo.materialName}} + {{v.materialInfo?.materialName}} {{v.qlNum}} - @@ -18,7 +18,7 @@ - + {{!qb?'更多':'收起'}} - diff --git a/pages/NursingNew/component/pleasetake/common/htditem.vue b/pages/NursingNew/component/pleasetake/common/htditem.vue new file mode 100644 index 0000000..3f60e47 --- /dev/null +++ b/pages/NursingNew/component/pleasetake/common/htditem.vue @@ -0,0 +1,395 @@ + + + + + diff --git a/pages/NursingNew/component/pleasetake/common/medetails.vue b/pages/NursingNew/component/pleasetake/common/medetails.vue index 0355e35..7963e45 100644 --- a/pages/NursingNew/component/pleasetake/common/medetails.vue +++ b/pages/NursingNew/component/pleasetake/common/medetails.vue @@ -5,7 +5,7 @@ 物料详情 - + 耗材用品 复健用品 diff --git a/pages/NursingNew/component/pleasetake/common/submits.vue b/pages/NursingNew/component/pleasetake/common/submits.vue index 2fa179d..e30750c 100644 --- a/pages/NursingNew/component/pleasetake/common/submits.vue +++ b/pages/NursingNew/component/pleasetake/common/submits.vue @@ -17,21 +17,21 @@ - - {{v.materialInfo.categoryName}} - {{v.materialInfo.typeName}} + {{v.materialInfo?.categoryName}} + {{v.materialInfo?.typeName}} - {{v.materialInfo.materialName}} + {{v.materialInfo?.materialName}} 规格型号: - {{v.materialInfo.specificationModel}} + {{v.materialInfo?.specificationModel}} @@ -39,7 +39,7 @@ 请领数量 - {{v.materialInfo.materialUnits}} + {{v.materialInfo?.materialUnits}} 请领单位 diff --git a/pages/NursingNew/component/pleasetake/common/takeing.vue b/pages/NursingNew/component/pleasetake/common/takeing.vue index 102ce1c..f56eab0 100644 --- a/pages/NursingNew/component/pleasetake/common/takeing.vue +++ b/pages/NursingNew/component/pleasetake/common/takeing.vue @@ -9,7 +9,7 @@ - + {{objtake.materialName}} @@ -82,7 +82,10 @@ }, show: { type: Boolean - } + }, + num:{ + type:Number + } }) const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/') const emit = defineEmits([ 'fill' ,'right']) @@ -90,7 +93,7 @@ watch(()=>props.show, ()=>{ if(props.show==true){ - relNumber.value = 1; + relNumber.value = props.num ? props.num : 1; stringShow.value = toFixed4ByPadStart(relNumber.value) setTimeout(()=>{ showbox.value = true @@ -117,7 +120,7 @@ stringShow.value = toFixed4ByPadStart(relNumber.value); return } - if(isZero.value == false){ + if(isZero.value == false&&item>0){ isZero.value = true; relNumber.value = item; stringShow.value = toFixed4ByPadStart(relNumber.value); diff --git a/pages/NursingNew/component/pleasetake/common/takerecord.vue b/pages/NursingNew/component/pleasetake/common/takerecord.vue index 8d4a2b7..a95a30b 100644 --- a/pages/NursingNew/component/pleasetake/common/takerecord.vue +++ b/pages/NursingNew/component/pleasetake/common/takerecord.vue @@ -8,7 +8,7 @@ - + 耗材用品 复健用品 diff --git a/pages/NursingNew/component/pleasetake/component/requestform.vue b/pages/NursingNew/component/pleasetake/component/requestform.vue index 46eac5b..11f5497 100644 --- a/pages/NursingNew/component/pleasetake/component/requestform.vue +++ b/pages/NursingNew/component/pleasetake/component/requestform.vue @@ -164,7 +164,7 @@ 耗材用品 @@ -175,13 +175,13 @@ - {{ item.materialInfo.materialName }} + {{ item.materialInfo?.materialName }} 规格型号 - {{ item.materialInfo.materialNo }} + {{ item.materialInfo?.materialNo }} @@ -195,7 +195,7 @@ - {{ item.materialInfo.materialUnits }} + {{ item.materialInfo?.materialUnits }} 请领单位 diff --git a/pages/NursingNew/component/pleasetake/component/returnorder.vue b/pages/NursingNew/component/pleasetake/component/returnorder.vue index 6d85c07..83e7062 100644 --- a/pages/NursingNew/component/pleasetake/component/returnorder.vue +++ b/pages/NursingNew/component/pleasetake/component/returnorder.vue @@ -1,27 +1,9 @@ \ No newline at end of file diff --git a/pages/Warehouse/finish.vue b/pages/Warehouse/finish.vue index d41a200..abe45cc 100644 --- a/pages/Warehouse/finish.vue +++ b/pages/Warehouse/finish.vue @@ -676,7 +676,7 @@ {{v.status_dictText}} diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue index 0c04948..e298159 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -504,16 +504,16 @@ 单据状态 - + 全部 - + 待入库 - + 待完结 @@ -1310,7 +1310,8 @@ startTime: "", endTime: "", cgBy: "", - nuId: uni.getStorageSync('nuId') + nuId: uni.getStorageSync('nuId'), + status:'' }) const mobanplzinfo = { pageNo: 1, diff --git a/pages/procurement/authorization.vue b/pages/procurement/authorization.vue index c8eeedd..6c5ab09 100644 --- a/pages/procurement/authorization.vue +++ b/pages/procurement/authorization.vue @@ -107,8 +107,8 @@ mode="aspectFill"> - {{v.materialInfo.categoryName}} - {{v.materialInfo.typeName}} + {{v.materialInfo?.categoryName}} + {{v.materialInfo?.typeName}} diff --git a/pages/procurement/common/submits.vue b/pages/procurement/common/submits.vue index 9457534..7e85705 100644 --- a/pages/procurement/common/submits.vue +++ b/pages/procurement/common/submits.vue @@ -21,17 +21,17 @@ mode="aspectFill"> - {{v.materialInfo.categoryName}} - {{v.materialInfo.typeName}} + {{v.materialInfo?.categoryName}} + {{v.materialInfo?.typeName}} - {{v.materialInfo.materialName}} + {{v.materialInfo?.materialName}} 规格型号: - {{v.materialInfo.specificationModel}} + {{v.materialInfo?.specificationModel}} @@ -39,7 +39,7 @@ 请领数量 - {{v.materialInfo.materialUnits}} + {{v.materialInfo?.materialUnits}} 请领单位 diff --git a/pages/procurement/common/takeing.vue b/pages/procurement/common/takeing.vue index 7a70a9c..6ffd26c 100644 --- a/pages/procurement/common/takeing.vue +++ b/pages/procurement/common/takeing.vue @@ -12,21 +12,21 @@ - {{objtake.materialInfo.materialName}} + {{objtake.materialInfo?.materialName}} 物料编码 - {{objtake.materialInfo.materialNo}} + {{objtake.materialInfo?.materialNo}} 请购单位 - {{objtake.materialInfo.materialUnits}} + {{objtake.materialInfo?.materialUnits}} 规格型号 - {{objtake.materialInfo.specificationModel}} + {{objtake.materialInfo?.specificationModel}} diff --git a/pages/procurement/common/thitem.vue b/pages/procurement/common/thitem.vue index 446a4f8..4866835 100644 --- a/pages/procurement/common/thitem.vue +++ b/pages/procurement/common/thitem.vue @@ -14,17 +14,17 @@ mode="aspectFill"> - {{v.materialInfo.categoryName}} - {{v.materialInfo.typeName}} + {{v.materialInfo?.categoryName}} + {{v.materialInfo?.typeName}} - {{v.materialInfo.materialName}} + {{v.materialInfo?.materialName}} 规格型号: - {{v.materialInfo.specificationModel}} + {{v.materialInfo?.specificationModel}} @@ -32,7 +32,7 @@ 退货数量 - {{v.materialInfo.materialUnits}} + {{v.materialInfo?.materialUnits}} 退货单位 @@ -53,7 +53,7 @@ - + @@ -70,6 +70,8 @@ type: String } }) + const openerror = ref(false) + const errmsg = ref('') const carnum = ref(0) const caigouobj = ref({}) const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/') @@ -90,6 +92,11 @@ const tuihuoshow = ref(false) const tuihuoobj = ref({}) const comfig=(v,i,t)=>{ + if(props.status == '0'){ + errmsg.value = '未开始服务不能添加退货物料!'; + openerror.value = true; + return + } tuihuoobj.value = v; tuihuoshow.value = true; diff --git a/pages/procurement/common/thwl.vue b/pages/procurement/common/thwl.vue index 27b6e10..4e41443 100644 --- a/pages/procurement/common/thwl.vue +++ b/pages/procurement/common/thwl.vue @@ -10,7 +10,7 @@ - {{v.materialInfo.materialName}} + {{v.materialInfo?.materialName}} {{v.thNum}} - diff --git a/pages/procurement/components/inboundoutbound.vue b/pages/procurement/components/inboundoutbound.vue index e4a027b..c3e966d 100644 --- a/pages/procurement/components/inboundoutbound.vue +++ b/pages/procurement/components/inboundoutbound.vue @@ -6,17 +6,29 @@ - + 总计:{{wlobjs.crkzl}}笔 + 出库:{{wlobjs.cksl}} + 入库:{{wlobjs.rksl}} + + + + {{crkarr[cr].name}} + + + + + + {{v.name}} + + + + + {{actv?'日期从近到远':'日期从远到近'}} - - 总计:{{wlobjs.crkzl}}笔 - 出库:{{wlobjs.cksl}} - 入库:{{wlobjs.rksl}} - @@ -31,6 +43,7 @@ + @@ -42,6 +55,7 @@