From 5cafe90e9e91127889a948ecb44dec61d6185bd4 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期五, 18 八月 2023 09:18:51 +0800 Subject: [PATCH] 8.18 --- src/components/view/rawInsDetail.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/view/rawInsDetail.vue b/src/components/view/rawInsDetail.vue index cfb744d..7676e68 100644 --- a/src/components/view/rawInsDetail.vue +++ b/src/components/view/rawInsDetail.vue @@ -89,7 +89,7 @@ <el-option v-for="item in materialOptions" :key="item.id" :label="item.name" :value="item.name"></el-option> </el-select> </el-form-item> - + </el-col> <el-col :span="7"> <el-form-item label="瑙勬牸鍨嬪彿:"> @@ -134,13 +134,13 @@ </el-form-item> </el-col> <el-col :span="3"> - <el-form-item v-show="detailId===null" label="" label-width="100px"> + <el-form-item v-show="detailId===null" label="" label-width="50px"> <el-button @click="addNewRawInspect">淇濆瓨鎻愪氦</el-button> </el-form-item> </el-col> </el-row> <el-row> - + <el-col :span="7"> <el-form-item v-show="detailId!==null" label="鎶ユ鏃ユ湡:"> <el-input :disabled="detailId!==null" v-model="detailInfo.createTime"></el-input> @@ -151,7 +151,7 @@ <el-input :disabled="detailId!==null" v-model="detailInfo.userName"></el-input> </el-form-item> </el-col> - + </el-row> </el-form> <!-- <el-form v-show="detailId ===null" v-model="rawInsParams" label-position="right" label-width="120px" > @@ -190,7 +190,7 @@ <el-input placeholder="浜у搧缂栫爜" disabled v-model="code"></el-input> </el-form-item> </el-col> - + </el-row> <el-row> <el-col :span="7"> @@ -345,7 +345,7 @@ this.getDetailInfo() }else{ this.getOptions() - } + } }, mounted(){ }, @@ -422,9 +422,9 @@ this.getDetailInfo() }, async getOptions() { - // const {data} = await this.$axios.get(this.$api.url.listMaterial) + // const {data} = await this.$axios.get(this.$api.url.listMaterial) // this.materialOptions = data - const {data} = await this.$axios.get(this.$api.url.selectRawMaterial) + const {data} = await this.$axios.get(this.$api.url.selectRawMaterial) this.materialOptions = data console.log(this.materialOptions) }, @@ -436,7 +436,7 @@ this.detailInfo.code = item.code this.$axios.get(this.$api.url.selectSpBySt,{params:{id:item.id}}).then(res=>{ this.specificationOptions= res.data - }) + }) } }) } -- Gitblit v1.9.3