From 2b05362eba2f989b7857349cc9a3a1c12f8181b6 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周五, 26 9月 2025 11:35:50 +0800
Subject: [PATCH] 222

---
 yiqi_pda/pages/outBound/modules/content.vue |   34 +++++++++++++++++++++++-----------
 1 files changed, 23 insertions(+), 11 deletions(-)

diff --git a/yiqi_pda/pages/outBound/modules/content.vue b/yiqi_pda/pages/outBound/modules/content.vue
index 9585b90..bbb0ccf 100644
--- a/yiqi_pda/pages/outBound/modules/content.vue
+++ b/yiqi_pda/pages/outBound/modules/content.vue
@@ -4,13 +4,12 @@
 			:name="index" @click="actionClick" style="margin-bottom: 10rpx;background-color: #fff;">
 		<view class="content" >
 			<view class="content_flex">
-				<view class="flex_index">{{index+1}}</view>
-				<view class="flex_code">OP80鎴愬搧鐮�: {{item.oP80NewCode}}</view>
-				<view class="flex_status">{{item.qualityStateName}}</view>
+				<view class="flex_index">{{workPieceData.length-index}}</view>
+				<view class="flex_code">鎴愬搧鐮�: {{item.oP80NewCode}}</view>
+				<!-- <view class="flex_status">{{item.qualityStateName}}</view> -->
 			</view>
-			<view class="content_flex">
-				<view class="flex_color" style="width: 100%;">宸ヤ欢Id: {{item.workPieceID}}</view>
-				<!-- <view class="flex_color" style="text-align: right;">褰撳墠宸ュ簭: {{item.workingProcedureCurrent}}</view> -->
+			<!-- <view class="content_flex">
+				<view class="flex_color" style="width: 100%;">宸ヤ欢鍙�: {{item.workPieceID}}</view>
 			</view>
 			<view class="content_flex">
 				<view class="flex_color" style="width: 100%;">宸ヤ欢鐘舵��: {{item.workPieceStateName}}</view>
@@ -19,8 +18,8 @@
 				<view class="flex_color" style="width: 100%;">褰撳墠宸ュ簭: {{item.workingProcedureCurrent}}</view>
 			</view>
 			<view class="content_flex">
-				<view class="flex_color" style="width: 100%;">璁惧Id: {{item.equipmentID}}</view>
-			</view>
+				<view class="flex_color" style="width: 100%;">璁惧缂栧彿: {{item.equipmentID}}</view>
+			</view> -->
 		</view>
 	</u-swipe-action-item>
 	</u-swipe-action>
@@ -37,7 +36,7 @@
 		data() {
 			return {
 				options: [{
-					text: "鍒犻櫎",
+					text: "绉婚櫎",
 					style: {
 						background: '#F08202'
 					}
@@ -46,8 +45,21 @@
 		},
 		methods:{
 			actionClick(opt){
-				console.log('鍒犻櫎',opt);
-				this.$emit('deleteData',this.workPieceData[opt.name])
+				uni.showModal({
+				title: '鎻愮ず',
+				content: '鏄惁纭绉婚櫎宸ヤ欢鍙�"'+this.workPieceData[opt.name].workPieceID+'"锛�',
+				showCancel: true,
+				cancelColor: '#333333',
+				success: (res => {
+						if (res.confirm) {
+							console.log('绉婚櫎',opt);
+							this.$emit('deleteData',this.workPieceData[opt.name])
+						} else if (res.cancel) {
+						
+						}
+					})
+				});
+				
 			}
 		}
 	}

--
Gitblit v1.9.3