From ea87c908fb6cdfc3e227a584a53e6730efb8262a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:41:12 +0800
Subject: [PATCH] 小程序代码
---
minipro_standard/pages_adjust/pages/newTransfer/newTransfer.vue | 53 +++++++++++++++++++++++++++++------------------------
1 files changed, 29 insertions(+), 24 deletions(-)
diff --git a/minipro_standard/pages_adjust/pages/newTransfer/newTransfer.vue b/minipro_standard/pages_adjust/pages/newTransfer/newTransfer.vue
index f769c68..b7d0818 100644
--- a/minipro_standard/pages_adjust/pages/newTransfer/newTransfer.vue
+++ b/minipro_standard/pages_adjust/pages/newTransfer/newTransfer.vue
@@ -31,12 +31,12 @@
<template v-if="view.MaterialList.length > 0">
<view class="zk_wl_item" v-for="(item, i) in view.MaterialList" :key="i">
<image class="shanchu" src="@/static/chuku_ic_delete@2x.png" mode="widthFix" @click="dele(i)"></image>
- <text class="material-title">{{item.materialName}}锝渰{item.materialCode}}</text>
- <text class="material-att">
- <text class="green" v-if="item.qualityType === '0'" decode>鍚堟牸<text class="c6" decode>{{ division }}</text></text>
- <text class="yellow" v-if="item.qualityType === '1'" decode>涓嶈壇<text class="c6" decode>{{ division }}</text></text>
- <text class="red" v-if="item.qualityType === '2'" decode>鎶ュ簾<text class="c6" decode>{{ division }}</text></text>
- <text decode>{{item.procedureName ? item.procedureName : '-'}}{{division}}</text>
+ <text>{{item.materialName}}锝渰{item.materialCode}}</text>
+ <text>
+ <text class="green" v-if="item.qualityType === '0'">鍚堟牸 |</text>
+ <text class="yellow" v-if="item.qualityType === '1'">涓嶈壇 |</text>
+ <text class="red" v-if="item.qualityType === '2'">鎶ュ簾 |</text>
+ <text>{{item.procedureName ? item.procedureName : '-'}} | </text>
<text>{{item.batch ? item.batch : '-'}}</text>
</text>
<view class="zk_wl_item_num">
@@ -87,7 +87,6 @@
},
data() {
return {
- division: ' / ',
data: {
type: '',
outUserId: '',
@@ -212,7 +211,6 @@
}).then(res => {
if (res.code === 200) {
uni.showToast({ title: '鍒涘缓鎴愬姛锛�', icon: 'success', duration: 2000 });
- this.$store.dispatch('getUpcomingNum')
setTimeout(() => {
uni.navigateBack({ delta: 1 });
}, 2000)
@@ -272,11 +270,13 @@
&:last-child {
border: none !important;
}
+
text {
font-size: 30rpx;
font-weight: 400;
color: #222222;
}
+
.zk_list_item_n {
display: flex;
align-items: center;
@@ -344,7 +344,7 @@
display: flex;
align-items: center;
justify-content: space-between;
- margin-top: 10rpx;
+ margin-top: 30rpx;
.zk_wl_item_input {
display: flex;
@@ -358,8 +358,7 @@
}
text {
- height: 42rpx;
- font-size: 30rpx;
+ font-size: 26rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
@@ -382,25 +381,31 @@
color: #999999;
}
}
- .material-title {
- height: 42rpx;
- font-size: 30rpx;
- font-weight: 500;
- color: #222222;
- margin-bottom: 10rpx;
- }
- .material-att {
- font-size: 28rpx;
- font-weight: 400;
- color: #333333;
- }
+
text {
&:nth-child(1) {
- font-size: 24rpx;
+ font-size: 30rpx;
font-weight: 500;
color: #222222;
margin-bottom: 24rpx;
}
+
+ &:nth-child(2) {
+ font-size: 24rpx;
+ font-weight: 400;
+ color: #666666;
+ margin-bottom: 30rpx;
+
+ text {
+ font-size: 24rpx;
+ }
+ }
+
+ &:nth-child(3) {
+ font-size: 28rpx;
+ font-weight: 400;
+ color: #333333;
+ }
}
}
}
--
Gitblit v1.9.3