From cb6f89854253dd7387dc76711dede40ab180ff09 Mon Sep 17 00:00:00 2001
From: ljx120 <10717296+ljx120@user.noreply.gitee.com>
Date: Sat, 11 Jan 2025 17:24:54 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B7=9F=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 12 +
pages/customOrder/customOrder.vue | 1 +
pages/customOrder/detail.vue | 1 +
pages/customOrder/list.vue | 1 +
pages/distribution/detailCus.vue | 9 +-
pages/distribution/detailSpot.vue | 3 +
pages/documentary/detail.vue | 377 +++++++++++++++++++++++++++
pages/documentary/documentary.vue | 52 ++--
pages/lecher/l-flaws.vue | 1 +
pages/maintenance/m-factory.vue | 1 +
pages/maintenance/m-flow.vue | 1 +
pages/maintenance/m-process.vue | 5 +-
pages/maintenance/m-requirements.vue | 13 +-
pages/maintenance/p-details.vue | 3 +-
pages/maintenance/processOldzmd.vue | 1 +
pages/spot/audit.vue | 1 +
pages/spot/list.vue | 1 +
pages/spot/pass.vue | 1 +
pages/spot/spot.vue | 1 +
pages/whiteEmbryo/w-level.vue | 1 +
pages/whiteEmbryo/w-suppliers.vue | 1 +
pages/whiteEmbryo/w-warehouse.vue | 1 +
pages/whiteEmbryo/w-warehousing.vue | 2 +
23 files changed, 461 insertions(+), 29 deletions(-)
create mode 100644 pages/documentary/detail.vue
diff --git a/pages.json b/pages.json
index 8d15fe3..4f0ecb9 100644
--- a/pages.json
+++ b/pages.json
@@ -327,6 +327,18 @@
"bounce": "none"
}
}
+ },
+ {
+ "path" : "pages/documentary/detail",
+ "style" :
+ {
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": false,
+ "disableScroll": true,
+ "app-plus": {
+ "bounce": "none"
+ }
+ }
}
],
"globalStyle": {
diff --git a/pages/customOrder/customOrder.vue b/pages/customOrder/customOrder.vue
index f32bd95..66f951c 100644
--- a/pages/customOrder/customOrder.vue
+++ b/pages/customOrder/customOrder.vue
@@ -565,6 +565,7 @@
::v-deep .van-field__control {
border-bottom: 1px solid #d7d7d7;
text-align: center;
+ font-size: 16px;
}
::v-deep .van-field__label {
diff --git a/pages/customOrder/detail.vue b/pages/customOrder/detail.vue
index daf388b..5dd869c 100644
--- a/pages/customOrder/detail.vue
+++ b/pages/customOrder/detail.vue
@@ -709,6 +709,7 @@
::v-deep .van-field__control {
border-bottom: 1px solid #d7d7d7;
text-align: center;
+ font-size: 16px;
}
::v-deep .van-field__label {
diff --git a/pages/customOrder/list.vue b/pages/customOrder/list.vue
index a4b99cc..24486ae 100644
--- a/pages/customOrder/list.vue
+++ b/pages/customOrder/list.vue
@@ -252,6 +252,7 @@
::v-deep .van-field__control {
text-align: center;
+ font-size: 16px;
}
/*面料选择搜索框*/
diff --git a/pages/distribution/detailCus.vue b/pages/distribution/detailCus.vue
index 9a07e84..5d1718c 100644
--- a/pages/distribution/detailCus.vue
+++ b/pages/distribution/detailCus.vue
@@ -79,6 +79,8 @@
belongTo: form.value.belongTo,
zt: typeData.value,
sd: form.value.sd,
+ innerComment:form.value.interComment,
+ customerComment:form.value.customerComment,
mls: []
}
}
@@ -245,7 +247,7 @@
-
+
扫一扫
@@ -256,7 +258,7 @@
@close="handleClose">
-
+
-
+
部分配货
@@ -387,6 +389,7 @@
::v-deep .van-field__control {
border-bottom: 1px solid #d7d7d7;
text-align: center;
+ font-size: 16px;
}
::v-deep .van-field__label {
diff --git a/pages/distribution/detailSpot.vue b/pages/distribution/detailSpot.vue
index 3f3e3d3..48d1244 100644
--- a/pages/distribution/detailSpot.vue
+++ b/pages/distribution/detailSpot.vue
@@ -73,6 +73,7 @@
belongTo: '',
zt: typeData.value,
sd: form.value.sd,
+ customerComment:form.value.comment,
mls: []
}
}
@@ -382,6 +383,8 @@
::v-deep .van-field__control {
border-bottom: 1px solid #d7d7d7;
text-align: center;
+ font-size: 16px;
+
}
::v-deep .van-field__label {
diff --git a/pages/documentary/detail.vue b/pages/documentary/detail.vue
new file mode 100644
index 0000000..4940a18
--- /dev/null
+++ b/pages/documentary/detail.vue
@@ -0,0 +1,377 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 更新状态
+
+
+
+
+
+
+
+
+
+
+
+ 全部
+
+
+
+ 如果无法辨认,请选择米数相近的面料
+
+
+
+ {{item.mz}}
{{itemSecond.ms}}米/{{itemSecond.bh}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/documentary/documentary.vue b/pages/documentary/documentary.vue
index 9759063..75cc676 100644
--- a/pages/documentary/documentary.vue
+++ b/pages/documentary/documentary.vue
@@ -93,11 +93,11 @@
if (isValidJSON(l.craftComment)) {
l.craftComment = JSON.parse(l.craftComment)
}
- if (l.status === '待进厂') {
+ if (l.zt === '待进厂') {
l.butonColor = butonColor.value[0]
- } else if (l.status === '待出厂') {
+ } else if (l.zt === '待出厂') {
l.butonColor = butonColor.value[1]
- } else if (l.status === '已出厂') {
+ } else if (l.zt === '已出厂') {
l.butonColor = butonColor.value[2]
} else {
l.butonColor = butonColor.value[getRandomIntInclusive(3, 14)]
@@ -259,13 +259,6 @@
const showDialog = ref(false)
const itemList = ref({} as any)
- const toDetile = (item : any) => {
- if (item.status === '待进厂') {
- showDialog.value = true
- itemList.value = item
- }
- }
-
const submit = () => {
if (!dataItem.value.yjccts) return showToast('请填写预计出厂天数!')
dataItem.value.zt = itemList.value.status
@@ -276,6 +269,20 @@
}
})
}
+
+ //计算米数
+ const computing = (list:any) =>{
+ let total=list.reduce((accumulator:any, currentValue:any) => {
+ return accumulator + currentValue.ms*1;
+ }, 0);
+ return total
+ }
+ //工序详情
+ const toDetile = (item:any) =>{
+ uni.navigateTo({
+ url:'./detail?item='+JSON.stringify(item)
+ })
+ }
@@ -322,19 +329,24 @@
- {{itemSecond.mz}}
{{itemSecond.craft}} {{itemSecond.sd}}
+ {{itemSecond.mz}}
{{itemSecond.sh}}
- {{item.sd}}/{{item.makeUser}}/{{item.belongTo}}
{{item.qty}}匹/{{item.len}}米
+
+
+ {{item.sd}}/{{item.makeUser}}/{{item.belongTo}}
{{itemSecond.xxs.length}}匹/{{computing(itemSecond.xxs)}}米
+
+
- {{item.craft}}
{{item.craftComment.name?item.craftComment.name:item.craftComment}}
+ {{item.craft}}
{{item.craftCmt.name?item.craftCmt.name:''}}
{{item.status}}
+ @click="toDetile(item)">{{item.zt}}
@@ -416,20 +428,21 @@
display: grid;
grid-template-columns: 1.5fr 2fr 1.5fr 1fr;
padding: 0 15rpx;
-
+
.grid-item {
border: 1px solid #f2f2f2;
display: flex;
- align-items: center;
+ flex-direction: column;
text-align: center;
+ align-items: center;
justify-content: center;
-
+
.grid-container1 {
display: grid;
grid-template-columns: 1fr;
width: 100%;
height: 100%;
-
+
.grid-item2 {
display: flex;
align-items: center;
@@ -437,7 +450,7 @@
justify-content: center;
padding: 5rpx;
}
-
+
.grid-item1 {
border-bottom: 1px solid #f2f2f2;
display: flex;
@@ -495,6 +508,7 @@
::v-deep .van-field__control {
text-align: center;
+ font-size: 16px;
}
.footer-button {
diff --git a/pages/lecher/l-flaws.vue b/pages/lecher/l-flaws.vue
index f36f70b..80ed8de 100644
--- a/pages/lecher/l-flaws.vue
+++ b/pages/lecher/l-flaws.vue
@@ -112,6 +112,7 @@ const submit =()=>{
}
::v-deep .van-field__control {
border-bottom: 1px solid #d7d7d7;
+ font-size: 16px;
}
::v-deep .van-field__label {
text-align: end;
diff --git a/pages/maintenance/m-factory.vue b/pages/maintenance/m-factory.vue
index 7e2d756..697d747 100644
--- a/pages/maintenance/m-factory.vue
+++ b/pages/maintenance/m-factory.vue
@@ -233,6 +233,7 @@
::v-deep .van-field__control {
border-bottom: 1rpx solid #d7d7d7;
text-align: center;
+ font-size: 16px;
}
::v-deep .van-field__label {
diff --git a/pages/maintenance/m-flow.vue b/pages/maintenance/m-flow.vue
index 0a95f7f..7177a8d 100644
--- a/pages/maintenance/m-flow.vue
+++ b/pages/maintenance/m-flow.vue
@@ -213,6 +213,7 @@
::v-deep .van-field__control {
border-bottom: 1rpx solid #d7d7d7;
text-align: center;
+ font-size: 16px;
}
::v-deep .van-field__label {
diff --git a/pages/maintenance/m-process.vue b/pages/maintenance/m-process.vue
index f3dde7e..17d607c 100644
--- a/pages/maintenance/m-process.vue
+++ b/pages/maintenance/m-process.vue
@@ -1,12 +1,13 @@