From 88859106604b03bed968f2f55508e3a5b83f4ce9 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期二, 19 九月 2023 10:21:38 +0800 Subject: [PATCH] modified: src/components/view/Processingproducts.vue modified: src/components/view/Technicalindex.vue modified: src/components/view/finishedProductInspectionUp.vue modified: src/components/view/processInspectionUpdate.vue modified: src/components/view/raw-ins.vue modified: src/components/view/rawUnqualified/raw.vue modified: src/components/view/record-content.vue modified: src/components/view/self-inspection.vue modified: src/components/view/technical.vue modified: src/main.js --- src/components/view/Processingproducts.vue | 34 +++++++++++++++++++++------------- 1 files changed, 21 insertions(+), 13 deletions(-) diff --git a/src/components/view/Processingproducts.vue b/src/components/view/Processingproducts.vue index df007fc..0c03853 100644 --- a/src/components/view/Processingproducts.vue +++ b/src/components/view/Processingproducts.vue @@ -15,7 +15,7 @@ <el-input size="small" v-model="search.productName" - style="width: 224px;margin-right: 30px;" + style="width: 14vw;margin-right: 5px;" placeholder="璇疯緭鍏�" clearable ></el-input> @@ -23,7 +23,7 @@ <el-input size="small" v-model="search.specificationModel" - style="width: 224px;margin-right: 30px;" + style="width: 14vw;margin-right: 5px;" placeholder="璇疯緭鍏�" clearable ></el-input> @@ -32,7 +32,7 @@ v-model="search.productCategories" size="small" placeholder="璇烽�夋嫨" - style="width: 224px;margin-right: 30px;" + style="width: 14vw;margin-right: 5px;" > <el-option label="鍘熸潗鏂�" :value="0"></el-option> <el-option label="鎴愬搧" :value="1"></el-option> @@ -43,7 +43,7 @@ v-model="search.state" size="small" placeholder="璇烽�夋嫨" - style="width: 224px;margin-right: 30px;" + style="width: 14vw;margin-right: 5px;" > <el-option label="杩斾慨涓�" :value="1"></el-option> <el-option label="寰呭鐞�" :value="0"></el-option> @@ -74,12 +74,12 @@ > <el-table-column type="selection" min-width="50"> </el-table-column> <el-table-column type="index" label="搴忓彿" width="60"> - <template scope="scope"> + <template slot-scope="scope"> {{ (search.pageSize - 1) * search.countSize + scope.$index + 1 }} </template> </el-table-column> <el-table-column prop="dateArrival" label="浜у搧澶х被"> - <template scope="scope"> + <template slot-scope="scope"> <span v-if="scope.row.type == 0">鍘熸潗鏂�</span> <span v-if="scope.row.type == 1">鎴愬搧</span> <span v-if="scope.row.type == 2">鍗婃垚鍝�</span> @@ -97,7 +97,7 @@ <el-table-column prop="number" label="涓嶅悎鏍煎搧鏁伴噺"> </el-table-column> <el-table-column label="鐜板儚鎻忚堪" min-width="150"> - <template scope="scope"> + <template slot-scope="scope"> <el-input size="small" v-model="scope.row.description" @@ -106,7 +106,7 @@ </template> </el-table-column> <el-table-column label="澶勭疆鎰忚"> - <template scope="scope"> + <template slot-scope="scope"> <el-button type="text" @click="showDisposalOpinions(scope)" >鏌ョ湅澶勭疆鎰忚</el-button > @@ -125,7 +125,7 @@ </template> </el-table-column> <el-table-column label="鎿嶄綔" width="130"> - <template scope="scope"> + <template slot-scope="scope"> <div style="display: flex;"> <el-button type="text" siae="small" size="mini">闄勪欢</el-button> <el-button @@ -157,7 +157,11 @@ </el-card> </div> <el-dialog title="鎻愮ず" :visible.sync="dialogVisible" width="30%"> - <el-form label-width="130px"> + <el-form label-width="130px" style="height: 500px; overflow: auto ;"> + <el-empty + v-if="updateEditList.length == 0" + :image-size="200" + ></el-empty> <div v-for="item in updateEditList" :key="item.$index"> <el-form-item :label=" @@ -312,9 +316,13 @@ // 鐐瑰嚮纭畾鎸夐挳 updateEditDevided() { this.$axios - .post(this.$api.url.addOpinion, this.updateEditList, { - headers: { "Content-Type": "application/json" } - }) + .post( + this.$api.url.addOpinion, + { opinion: this.updateEditList }, + { + headers: { "Content-Type": "application/json" } + } + ) .then(res => { console.log(`output->res`, res); this.dialogVisible = false; -- Gitblit v1.9.3