From 039d01c3ee6217e18ef3bcaec263fd2ad59e6f68 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 20 九月 2023 16:19:51 +0800
Subject: [PATCH] modified: src/components/view/equipmentmaintain.vue modified: src/components/view/standard-table/material.vue modified: src/components/view/standard-table/product.vue modified: src/components/view/standard-table/target.vue modified: src/components/view/standard-table/technology.vue
---
src/components/view/Processingproducts.vue | 36 +++++++++++++++++++++++-------------
1 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/src/components/view/Processingproducts.vue b/src/components/view/Processingproducts.vue
index df007fc..4530c83 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: 13vw;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: 13vw;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: 13vw;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: 13vw;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="
@@ -280,6 +284,7 @@
})
.then(res => {
this.updateEditList = res.data;
+ this.getDetailInfo();
});
},
// 鐐瑰嚮缂栬緫鎰忚
@@ -312,12 +317,17 @@
// 鐐瑰嚮纭畾鎸夐挳
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;
+ this.getDetailInfo();
});
}
},
--
Gitblit v1.9.3