From 798515f544b8a7f77c1acdb8c27abb6320d71356 Mon Sep 17 00:00:00 2001
From: Teng <461587751@qq.com>
Date: Mon, 15 Dec 2025 13:36:09 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=88=E6=8F=90=E4=B8=80=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
component/public/errorshow.vue | 1 +
pages/procurement/authorization.vue | 16 +--
pages/procurement/common/submits.vue | 163 ++++++++++++++++-----------
pages/procurement/common/takeing.vue | 7 +-
pages/procurement/common/thitem.vue | 24 ++--
pages/procurement/common/thwl.vue | 138 ++++++++++++++---------
pages/procurement/material.vue | 42 +++++--
pages/procurement/retstock.vue | 125 +++++++++++++-------
8 files changed, 325 insertions(+), 191 deletions(-)
diff --git a/component/public/errorshow.vue b/component/public/errorshow.vue
index aee2989..2c96044 100644
--- a/component/public/errorshow.vue
+++ b/component/public/errorshow.vue
@@ -61,6 +61,7 @@
line-height: 1.7vw;
flex-wrap: wrap;
margin-bottom: 4vw;
+ text-align: center;
}
.qd {
diff --git a/pages/procurement/authorization.vue b/pages/procurement/authorization.vue
index a701439..e84be51 100644
--- a/pages/procurement/authorization.vue
+++ b/pages/procurement/authorization.vue
@@ -44,7 +44,7 @@
- {{ v.fqTime.replace(/-/g, '.') }}
+ {{ v.fqTime.replace(/-/g, '.')?.slice(0,10) }}
@@ -61,7 +61,7 @@
- {{ v.logList[1].opeTime?.slice(0,10) }}
+ {{ v.logList[1].opeTime?.replace(/-/g, '.').slice(0,10) }}
@@ -532,9 +532,9 @@
}
>image {
- width: 8.5vw;
+ width: 7.5vw;
height: 7.5vw;
- margin: 1.7vw auto 0.25vw;
+ margin: 0.5vw auto 0.25vw;
}
}
@@ -547,16 +547,16 @@
background: #fff;
.box{
width: 100%;
- display: grid;
- grid-template-columns: 1fr 1fr;
+ display: flex;
+ flex-wrap: wrap;
}
.fler{
- width: 30.4vw;
+ width: 31.4vw;
height: 13vw;
margin-bottom: 0.9vw;
margin-left: 0.5vw;
.carditem{
- width: 30.4vw;
+ width: 31vw;
height: 13vw;
background: rgba(245, 246, 248, 1);
border-radius: 1.1vw;
diff --git a/pages/procurement/common/submits.vue b/pages/procurement/common/submits.vue
index 7e85705..9f878e9 100644
--- a/pages/procurement/common/submits.vue
+++ b/pages/procurement/common/submits.vue
@@ -1,23 +1,24 @@
-
+
退货详情
- 请领区域:{{ uni.getStorageSync('nuName')}}
- 请领人:{{uni.getStorageSync('realname')}}
- 请领日期:{{times}}
+ 退货区域:{{ uni.getStorageSync('nuName')}}
+ 退货人:{{uni.getStorageSync('realname')}}
+ 退货日期:{{times}}
- 请领物料
+ 退货物料
-
-
+
@@ -25,22 +26,22 @@
{{v.materialInfo?.typeName}}
-
+
{{v.materialInfo?.materialName}}
- 规格型号:
+ 规格型号:
{{v.materialInfo?.specificationModel}}
{{v.thNum?v.thNum:'--'}}
- 请领数量
+ 退货数量
{{v.materialInfo?.materialUnits}}
- 请领单位
+ 退货单位
@@ -48,7 +49,7 @@
-
+
取消
@@ -60,69 +61,73 @@
+
\ No newline at end of file
diff --git a/pages/procurement/common/takeing.vue b/pages/procurement/common/takeing.vue
index d245339..8d1d031 100644
--- a/pages/procurement/common/takeing.vue
+++ b/pages/procurement/common/takeing.vue
@@ -32,14 +32,15 @@
- 数量 超过退货上限!
+ 数量
-
+
-
+
{{item}}
@@ -239,6 +240,7 @@
}
.quxiao{
background: #EDEDEF;
+ color: #999999;
}
.plsbuy-bottom-blue {
background: linear-gradient(0deg, #CAE0F9, #E9F4FF);
@@ -329,6 +331,7 @@
font-size: 1.4vw;
font-weight: 500;
text-align: center;
+ margin-left: 1.5vw;
}
.cont{
diff --git a/pages/procurement/common/thitem.vue b/pages/procurement/common/thitem.vue
index 4866835..69fdc3e 100644
--- a/pages/procurement/common/thitem.vue
+++ b/pages/procurement/common/thitem.vue
@@ -61,6 +61,7 @@
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
import taking from './takeing.vue'
import defaultr from '../components/default.vue'
+
const props = defineProps({
InvoicingList: {
type: Array,
@@ -225,7 +226,7 @@
}
}
.msitem {
- width: 11.5vw;
+ width: 11vw;
height: 100%;
position: absolute;
top:0;
@@ -309,7 +310,7 @@
font-weight: bold;
font-size: 1.6vw;
color: #222222;
- height: 3vw;
+ height: 3.1vw;
padding-top: 1.3vw;
text-overflow: ellipsis;
overflow: hidden;
@@ -340,7 +341,7 @@
left: 0;
.cardp {
width:8vw;
- height: 4vw;
+ height: 4.2vw;
display: flex;
margin: 0 auto;
align-items: center;
@@ -363,9 +364,9 @@
}
>image {
- width: 8.5vw;
+ width: 7.5vw;
height: 7.5vw;
- margin: 1.7vw auto 0.25vw;
+ margin: 0.3vw auto 0.25vw;
}
}
@@ -373,21 +374,24 @@
.itembox{
width: 100%;
- height: calc(100vh - 23vw);
+ height: calc(100vh - 22vw);
padding:1vw 0.5vw 1vw;
+
background: #fff;
.box{
width: 100%;
- display: grid;
- grid-template-columns: 1fr 1fr;
+ display: flex;
+ flex-wrap: wrap;
+ // display: grid;
+ // grid-template-columns: 1fr 1fr;
}
.fler{
- width: 30.4vw;
+ width: 31.5vw;
height: 13vw;
margin-bottom: 0.9vw;
margin-left: 0.5vw;
.carditem{
- width: 30.4vw;
+ width: 31vw;
height: 13vw;
background: rgba(245, 246, 248, 1);
border-radius: 1.1vw;
diff --git a/pages/procurement/common/thwl.vue b/pages/procurement/common/thwl.vue
index 4e41443..17f890f 100644
--- a/pages/procurement/common/thwl.vue
+++ b/pages/procurement/common/thwl.vue
@@ -3,12 +3,20 @@
退货物料
- {{Material.length}}
+
+
+
+ {{Material.length}}
+
+
+
-
-
-
+
+
{{v.materialInfo?.materialName}}
{{v.thNum}}
@@ -16,9 +24,11 @@
-
-
+
-
+
{{!qb?'更多':'收起'}}
清空列表
-
+
提交退货单
@@ -40,49 +51,49 @@
@@ -147,10 +158,12 @@
margin-top: 1vw;
position: relative;
padding-left: 1vw;
- .fff{
+
+ .fff {
background: #fff;
border-radius: 1.1vw;
}
+
.kjlt {
width: 3.2vw;
height: 10vw;
@@ -165,22 +178,30 @@
position: relative;
z-index: 10;
background: #FFFFFF;
- .mhao{
- width: 1.6vw;
- min-height: 0vw;
- border-radius: 0.8vw;
- border: 1px solid #FF4E4E;
- font-weight: 400;
- font-size: 1.1vw;
- color: #FF4E4E;
- padding: 0.4vw 0vw;
+
+ .mhao {
position: absolute;
- top: -0.8vw;
- right: -0.4vw;
- transform: rotate(-90deg);
+ top: -0.2vw;
+ /* 根据视觉需要微调 */
+ right: -0.2vw;
+ box-sizing: border-box;
+ width: 1.8vw;
+ height: 1.8vw;
+ border-radius: 50%;
+ border: 1px solid #FF4E4E;
+ color: #FF4E4E;
display: flex;
- justify-content: center;
align-items: center;
+ justify-content: center;
+ background: transparent;
+ writing-mode: horizontal-tb;
+ overflow: hidden;
+
+ .mhao-font {
+ font-size: 25rpx;
+ letter-spacing: -0.05em;
+ /* 负值 = 字符之间更近 */
+ }
}
}
@@ -229,7 +250,7 @@
right: 7.7vw;
z-index: 2;
}
-
+
&:nth-child(4) {
right: 11.6vw;
z-index: 2;
@@ -242,14 +263,15 @@
}
}
+
.kcscrol {
- width:calc(100% - 10vw);
+ width: calc(100% - 10vw);
height: 10vw;
white-space: nowrap;
margin-left: 0.6vw;
position: relative;
z-index: 9;
-
+
.yjbox {
display: inline-block;
@@ -259,14 +281,16 @@
border-radius: 1.1vw;
margin-right: 0.8vw;
position: relative;
- .zhanwei{
+
+ .zhanwei {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 200;
- view{
+
+ view {
position: absolute;
width: 2.2vw;
height: 2.2vw;
@@ -285,6 +309,7 @@
color: rgba(255, 78, 78, 1);
}
}
+
.ytj {
min-width: 1.5vw;
height: 1.8vw;
@@ -297,7 +322,7 @@
text-align: center;
line-height: 1.75vw;
position: absolute;
- padding: 0 0.8vw;
+ padding: 0 0.8vw;
top: 0.8vw;
right: 0.8vw;
}
@@ -325,6 +350,7 @@
}
}
}
+
.guodu {
transition: .4s;
-webkit-transform-style: preserve-3d;
diff --git a/pages/procurement/material.vue b/pages/procurement/material.vue
index 1a6e07c..888bb93 100644
--- a/pages/procurement/material.vue
+++ b/pages/procurement/material.vue
@@ -91,11 +91,16 @@
:status="status" @crk="crk">
-
+
- {{carnum>99?'99+':carnum}}
+
+
+
+ {{carnum}}
+
+
-
+
@@ -475,8 +480,8 @@
display: flex;
flex-direction: column;
justify-content: space-between;
-
- view {
+
+ .fiedrightview{
width: 5vw;
height: 5vw;
background: rgba(255, 255, 255, 0.86);
@@ -486,7 +491,7 @@
justify-content: center;
align-items: center;
position: relative;
-
+
text {
min-width: 1.8vw;
height: 1.8vw;
@@ -503,12 +508,13 @@
top: -0.8vw;
right: -0.8vw;
}
-
+
image {
width: 3.3vw;
height: 3.3vw;
}
}
+
}
.listcard {
@@ -971,6 +977,28 @@
z-index: 100;
background: RGBA(239, 240, 244, 0.55);
}
+ .mhao {
+ position: absolute;
+ top: -0.2vw;
+ /* 根据视觉需要微调 */
+ right: -0.2vw;
+ box-sizing: border-box;
+ width: 1.8vw;
+ height: 1.8vw;
+ border-radius: 50%;
+ border: 1px solid #FF4E4E;
+ color: #FF4E4E;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: transparent;
+ writing-mode: horizontal-tb;
+ overflow: hidden;
+ .mhao-font{
+ font-size: 25rpx;
+ letter-spacing: -0.05em; /* 负值 = 字符之间更近 */
+ }
+ }