From f2d05ad289280fec72e58372723db68c6d72a866 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 19 6月 2024 18:43:46 +0800 Subject: [PATCH] PDA问题- 出库执行 --- yiqi_pda/pages/outBound/modules/content.vue | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/yiqi_pda/pages/outBound/modules/content.vue b/yiqi_pda/pages/outBound/modules/content.vue index 9585b90..23fb066 100644 --- a/yiqi_pda/pages/outBound/modules/content.vue +++ b/yiqi_pda/pages/outBound/modules/content.vue @@ -9,7 +9,7 @@ <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="width: 100%;">宸ヤ欢鍙�: {{item.workPieceID}}</view> <!-- <view class="flex_color" style="text-align: right;">褰撳墠宸ュ簭: {{item.workingProcedureCurrent}}</view> --> </view> <view class="content_flex"> @@ -19,7 +19,7 @@ <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 class="flex_color" style="width: 100%;">璁惧缂栧彿: {{item.equipmentID}}</view> </view> </view> </u-swipe-action-item> @@ -37,7 +37,7 @@ data() { return { options: [{ - text: "鍒犻櫎", + text: "绉婚櫎", style: { background: '#F08202' } @@ -46,8 +46,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