新购验收编辑
This commit is contained in:
		
							parent
							
								
									fda2238a9c
								
							
						
					
					
						commit
						1edf7f2a0a
					
				
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| 
						 | 
					@ -92,7 +92,7 @@
 | 
				
			||||||
<!--            </template>-->
 | 
					<!--            </template>-->
 | 
				
			||||||
        </el-table-column>
 | 
					        </el-table-column>
 | 
				
			||||||
        <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/>
 | 
					        <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/>
 | 
				
			||||||
        <el-table-column label="操作" align="center" width="200" fixed="right">
 | 
					        <el-table-column label="操作" align="center" width="230" fixed="right">
 | 
				
			||||||
                        <template slot-scope="scope">
 | 
					                        <template slot-scope="scope">
 | 
				
			||||||
                            <el-button
 | 
					                            <el-button
 | 
				
			||||||
                                size="mini"
 | 
					                                size="mini"
 | 
				
			||||||
| 
						 | 
					@ -100,6 +100,13 @@
 | 
				
			||||||
                            >
 | 
					                            >
 | 
				
			||||||
                                查看
 | 
					                                查看
 | 
				
			||||||
                            </el-button>
 | 
					                            </el-button>
 | 
				
			||||||
 | 
					                            <el-button
 | 
				
			||||||
 | 
					                                size="mini"
 | 
				
			||||||
 | 
					                                type="primary"
 | 
				
			||||||
 | 
					                                @click="handleEdit(scope.row)"
 | 
				
			||||||
 | 
					                            >
 | 
				
			||||||
 | 
					                                编辑
 | 
				
			||||||
 | 
					                            </el-button>
 | 
				
			||||||
                            <el-button
 | 
					                            <el-button
 | 
				
			||||||
                                size="mini"
 | 
					                                size="mini"
 | 
				
			||||||
                                type="primary" v-if="scope.row.taskStatusName == '未完成' && deptName.includes(signLevelDeptMap[scope.row.signLevel])"
 | 
					                                type="primary" v-if="scope.row.taskStatusName == '未完成' && deptName.includes(signLevelDeptMap[scope.row.signLevel])"
 | 
				
			||||||
| 
						 | 
					@ -357,6 +364,13 @@
 | 
				
			||||||
                query,
 | 
					                query,
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
					        // 编辑
 | 
				
			||||||
 | 
					        handleEdit(row) {
 | 
				
			||||||
 | 
					            this.$router.push({
 | 
				
			||||||
 | 
					                path: '/purchase/editTools',
 | 
				
			||||||
 | 
					                query: { taskId: row.taskId, id: row.id }
 | 
				
			||||||
 | 
					            })
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        //批量合格
 | 
					        //批量合格
 | 
				
			||||||
        acceptancePurchase(){
 | 
					        acceptancePurchase(){
 | 
				
			||||||
            let param={
 | 
					            let param={
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1186,7 +1186,7 @@ export default {
 | 
				
			||||||
                }else{
 | 
					                }else{
 | 
				
			||||||
                    this.rowData.bmFileInfos.push(obj)
 | 
					                    this.rowData.bmFileInfos.push(obj)
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                uploadPurchaseFile(param).then((response) => {
 | 
					                uploadPurchaseFile(obj).then((response) => {
 | 
				
			||||||
                    this.$modal.msgSuccess('上传成功')
 | 
					                    this.$modal.msgSuccess('上传成功')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                }).catch(() => {
 | 
					                }).catch(() => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue