From dec09546294047e54c0531d6047d0685cbb45ddd Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期一, 09 十二月 2024 18:30:31 +0800 Subject: [PATCH] 总检 --- src/views/sampling/sampling/index.vue | 28 +++++++++++++++++----------- 1 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/views/sampling/sampling/index.vue b/src/views/sampling/sampling/index.vue index 8fcccea..d156fd2 100644 --- a/src/views/sampling/sampling/index.vue +++ b/src/views/sampling/sampling/index.vue @@ -111,7 +111,12 @@ <el-button type="primary" :disabled="!disabled" @click="Cancellation" >鎾ら攢鍚堝苟</el-button > - <el-button type="primary" @click="Confirmreceipt" :disabled="!selectList.length">閲囨牱鎵撶爜</el-button> + <el-button + type="primary" + @click="Confirmreceipt" + :disabled="!selectList.length" + >閲囨牱鎵撶爜</el-button + > </el-col> <el-col :span="12" @@ -189,11 +194,7 @@ </el-table> </div> <div style="width: 50%"> - <!-- :default-sort="{ prop: 'specimenType', order: 'ascending' }" :default-sort="{ prop: 'specimenType', order: 'ascending' }" - @sort-change="handleSortChange" - :span-method="objectSpanMethod" - @selection-change="handleChange" ref="tab1" - :row-class-name="tableRowClassName"--> + <!-- v-if="this.rightTabShow" --> <el-table v-loading="loading" :data="tableList" @@ -458,12 +459,14 @@ form: {}, // 琛ㄥ崟鏍¢獙 rules: {}, + // rightTabShow: false }; }, created() { // this.getNowTime(); getTxmmccd().then((res) => { this.msg = Number(res.msg); + console.log(res, 444); }); this.getdate(); }, @@ -598,6 +601,8 @@ this.$nextTick(() => { this.$refs.tb.toggleRowSelection(this.samplingList[0], true); // this.fetchData(this.samplingList[0].tjNumber); + // ddddddddddddddd + // this.rightTabShow = true }); } this.total = response.data.total; @@ -917,11 +922,11 @@ } .last p { // font-weight: bold; - margin-left: 10px; + margin-left: 1px; // font-family: "Arial Black", sans-serif !important; } p { - margin-left: 10px; + margin-left: 1px; // font-weight: bold; // font-family: "Arial Black", sans-serif !important; } @@ -934,7 +939,7 @@ font-family: "Arial Black", sans-serif !important; } .tj span { - margin-left: 10px; + margin-left: 1px; } } </style> @@ -963,9 +968,10 @@ // console.log(selection); this.selectList = selection; - console.log(this.selectList, 5555); + // console.log(this.selectList, 5555); + var array = selection; - this.ids = selection.map((item) => item.id); + this.ids = array.map((item) => item.id); }, // 绂侀�� -- Gitblit v1.8.0