From 676db89a661ba8af8da04f4503c39b1bc0d2c25e Mon Sep 17 00:00:00 2001 From: xwt <2740516069@qq.com> Date: 星期二, 10 六月 2025 16:11:04 +0800 Subject: [PATCH] bug修改 --- pages/QC/LLJ/Add.vue | 32 +++++++++++--------------------- 1 files changed, 11 insertions(+), 21 deletions(-) diff --git a/pages/QC/LLJ/Add.vue b/pages/QC/LLJ/Add.vue index fd7fe3e..3d0778d 100644 --- a/pages/QC/LLJ/Add.vue +++ b/pages/QC/LLJ/Add.vue @@ -101,26 +101,11 @@ <!-- 鎿嶄綔鎸夐挳鍖� --> <view class="action-buttons" v-if="this.current"> - <button class="secondary-btn" @click="openPermissionModal">鏉冮檺绠$悊</button> - <button v-if="hasEmergencyPermission" class="secondary-btn" @click="handleEmergencyRelease">绱ф�ユ斁琛�</button> - <button v-if="hasEmergencyPermission" class="secondary-btn" @click="handleWithdraw">鎾ゅ洖</button> + <button class="secondary-btn" @click="handleEmergencyRelease">绱ф�ユ斁琛�</button> + <button class="secondary-btn" @click="handleWithdraw">鎾ゅ洖</button> <button class="secondary-btn" @click="getInspectionItems">鑾峰彇妫�楠岄」鐩�</button> - </view> - <!-- 鏉冮檺鍒嗛厤妯℃�佹 --> - <view v-if="permissionModalVisible" class="overlay"> - <view class="popup"> - <h3>鏉冮檺鍒嗛厤</h3> - <form> - <view class="form-group"> - <label class="form-label">鍒嗛厤鏉冮檺鐨勮处鍙�:</label> - <input class="form-input" type="text" v-model="permissionAccount" /> - </view> - </form> - <button class="updateBut" @click="savePermission">淇濆瓨</button> - <button @click="permissionModalVisible = false">鍙栨秷</button> - </view> - </view> - + </view> + <!-- 妫�楠岄」鐩〃鏍� --> @@ -238,7 +223,9 @@ emergency:'', permissionModalVisible: false, permissionAccount: '', - hasEmergencyPermission: false + hasEmergencyPermission: false, + showPopup: false, + }, tableData: [], remarksPopup: false, @@ -261,13 +248,16 @@ onLoad(options) { //options涓寘鍚簡url闄勫甫鐨勫弬鏁� let params = options; - + + + if (params["id"]) { this.formData.id = params["id"]; this.formData.releaseNo = params["releaseNo"]; this.formData.lotNo = params["lotNo"]; this.msgId = params["msgId"]; this.emergency = params["emergency"] + this.meom = params["meom"] if (params["current"] === 'A') { this.current = true; -- Gitblit v1.9.3