Jelajahi Sumber

修改零件新增传参id

Reiskuchen 5 tahun lalu
induk
melakukan
0832490452

+ 3 - 2
ys_vue/src/views/mold/moldDetail.vue

@@ -211,7 +211,6 @@
                         <el-table-column prop="part3dFile.fileName" label="3D图档" width="200" sortable>
                             <template slot-scope="scope" v-if="scope.row.part3dFile != null">
                                 <a class="download" :href="scope.row.part3dFile.fileUrl" target="_blank">{{scope.row.part3dFile.fileName}}</a> 
-                                <!--  :download="scope.row.part3dFile.fileName" -->
                             </template>
                         </el-table-column>
                         <el-table-column prop="part2dFile.fileName" label="2D图档" width="200" sortable>
@@ -633,6 +632,7 @@
                 centerDialog5Visible: false, //批量导出操作界面
                 editPortVisible: false,//编辑零件界面
 
+                editLoading: false,
                 listLoading: false,
                 activeTab: 0,
                 activePage: 0,
@@ -1144,7 +1144,8 @@
                             partNo: this.editParts.number,
                             partName: this.editParts.name,
                             partLife: this.editParts.life,
-                            mouldId: this.detailId
+                            mouldId: this.detailId,
+                            id: this.editParts.id
                         },
                         res => {
                             this.editLoading = false;

+ 0 - 1
ys_vue/src/views/project/staff.vue

@@ -253,7 +253,6 @@
                 }, res => {
                     if (res.code == "ok") {
                         this.allCompanies = res.data;
-                        console.log(this.allCompanies);
                     } else {
                         this.$message({
                             message: res.msg,