From da245c6f1995c5668866184d8068794c27622f62 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期三, 24 九月 2025 11:05:20 +0800
Subject: [PATCH] 首检,巡检,入库检的数值判断
---
pages/QC/XJ/Add.vue | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/pages/QC/XJ/Add.vue b/pages/QC/XJ/Add.vue
index 6190db1..02dfc45 100644
--- a/pages/QC/XJ/Add.vue
+++ b/pages/QC/XJ/Add.vue
@@ -137,6 +137,10 @@
<!-- 鎿嶄綔鎸夐挳鍖� -->
<view class="action-buttons">
<button v-if="isUpdate && !isShowTable" class="secondary-btn" @click="getItem">鍒涘缓妫�楠屽崟骞剁敓鎴愰儴鍒嗛粯璁ゅ��</button>
+
+ <!-- <button class="secondary-btn" @click="toYzxSubmitFrom(formData.releaseNo)">涓�鑷存�ф牳瀵�</button> -->
+
+ <button v-if="!isUpdate && !isShowTable" class="secondary-btn" @click="toYzxSubmitFrom(formData.releaseNo)">涓�鑷存�ф牳瀵�</button>
<button v-if="!isUpdate && !isShowTable" class="secondary-btn" @click="toImage">涓婁紶/鏌ョ湅鍥剧墖</button>
<button v-if="!isUpdate && !formData.fsubmit && !isShowTable" class="secondary-btn" @click="removeXJ">
鍒犻櫎鍗曟嵁
@@ -216,9 +220,14 @@
},
onLoad(options) {
//options涓寘鍚簡url闄勫甫鐨勫弬鏁�
-
+
let params = options;
-
+if(params["current"]==='A')
+ {
+ this.current=true;
+ }else if(params["current"]==='B'){
+ this.current=false;
+ }
if (params["id"]) {
this.isUpdate = false;
this.formData.id = params["id"];
@@ -427,7 +436,11 @@
}
});
});
- },
+ }, toYzxSubmitFrom(releaseNo){
+ uni.navigateTo({
+ url: 'yzxFrom?id=' +this.formData.id+'¤t='+this.current
+ });
+ },
init() {
this.$post({
url: "/XJ/getPage",
--
Gitblit v1.9.3