From c37e4efb8a78a0f1bf85cf29a9286cc312469dbe Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期六, 09 九月 2023 17:09:51 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/components/view/Processingproducts.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/components/view/Processingproducts.vue b/src/components/view/Processingproducts.vue index df007fc..d4ed2a1 100644 --- a/src/components/view/Processingproducts.vue +++ b/src/components/view/Processingproducts.vue @@ -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 @@ -312,9 +312,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