From 15fc2eb2a1e0a92efb877d96f7c72ba7fbed3ecd Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 20 三月 2024 15:49:02 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master --- src/components/view/b1-inspection-order.vue | 44 +++++++++++++++++++++++--------------------- 1 files changed, 23 insertions(+), 21 deletions(-) diff --git a/src/components/view/b1-inspection-order.vue b/src/components/view/b1-inspection-order.vue index d9a4091..0200bd6 100644 --- a/src/components/view/b1-inspection-order.vue +++ b/src/components/view/b1-inspection-order.vue @@ -54,7 +54,7 @@ border-radius: 8px 0 0 8px; } - .tab li:nth-child(4) { + .tab li:nth-child(5) { border-radius: 0 8px 8px 0; } @@ -218,7 +218,7 @@ entity: { entrustCode: null, sample: null, - state: 1, + state: 0, orderBy: { field: 'id', order: 'asc' @@ -260,17 +260,17 @@ return row.state == 2 || row.state == 3 } }, { - font: '涓嬪彂', + font: '鍒嗛厤', type: 'text', method: 'handleIssued', disabFun: (row, index) => { return row.state != 1 || row.sendTime != null } }], - linkEvent:{ - entrustCode:{ - method:'selectAllByOne' - } + linkEvent: { + entrustCode: { + method: 'selectAllByOne' + } }, tagField: { type: { @@ -333,12 +333,15 @@ addPower: true, upLoad: false, tabList: [{ - label: '妫�楠屽鐞�', + label: '寰呭鏍�', + value: 0 + }, { + label: '寰呮楠�', value: 1 }, { - label: '寰呭鏍�', - value: 0 + label: '宸叉楠�', + value: 4 }, { label: '閫�鍥�', @@ -350,8 +353,8 @@ }, ], tabIndex: 0, - active: 0,//1锛氫笅鍗曪紝2锛氭煡鐪嬶紝3锛氬鏍� - currentId:null + active: 0, //1锛氫笅鍗曪紝2锛氭煡鐪嬶紝3锛氬鏍� + currentId: null } }, mounted() { @@ -415,27 +418,26 @@ }, // 璇︽儏 selectAllByOne(row) { - this.active = 2; + this.active = 2; // console.log(row); // //鎵撳紑寮规 // this.dialogVisible = true; // //row = 鐐瑰嚮瀵瑰簲琛屽�� // //澶嶅埗缁檉ormData // this.formData = this.HaveJson(row); - this.currentId = row.id + this.currentId = row.id }, // 鏁版嵁鏌ョ湅 handleDataLook(row) { this.dataDialogVisible = true; }, // 涓嬭浇鎶ュ憡 - download(row) { - }, + download(row) {}, // 瀹℃牳 handleVerify(row) { // this.verifyDialogVisible = true; - this.active = 3; - this.currentId = row.id + this.active = 3; + this.currentId = row.id }, // 鎾ら攢 handlEquash(row) { @@ -444,9 +446,9 @@ // 涓嬪彂 handleIssued(row) { this.issuedDialogVisible = true; - this.$axios.post(this.$api.insOrder.selectOrderManDay,{ + this.$axios.post(this.$api.insOrder.selectOrderManDay, { id: row.sampleId - }).then(res=>{ + }).then(res => { this.distributeData.orderId = row.id this.distributeData.sampleId = row.sampleId this.distributeData.appointed = res.data @@ -454,7 +456,7 @@ }) }, submitForm2() { - if(this.distributeData.appointed==null||this.distributeData.appointed==''){ + if (this.distributeData.appointed == null || this.distributeData.appointed == '') { this.$message.error('绾﹀畾鏃堕棿鏈~鍐�') return } -- Gitblit v1.9.3