| | |
| | | v-model="searchData.date" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | style="width: 10vw;" |
| | | placeholder="选择日期"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="产品名称:"> |
| | | <el-form-item label="产品名称:" style="margin-right: 24px;"> |
| | | <el-input v-model="searchData.name" ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="编制状态:" > |
| | | <el-select v-model="searchData.type" size="small" placeholder="全部" style="width: 250px;"> |
| | | <el-select v-model="searchData.type" size="small" placeholder="全部" style="width: 10vw;"> |
| | | <el-option label="待编制" :value="0"></el-option> |
| | | <el-option label="已编制" :value="1"></el-option> |
| | | </el-select> |
| | |
| | | <div class="technical-table"> |
| | | <div class="table-box"> |
| | | <el-table |
| | | height="500" |
| | | border style="width: 100%" |
| | | border |
| | | height="calc(90vh - 250px)" |
| | | :data="technicalTable" |
| | | > |
| | | <el-table-column |
| | |
| | | label="交货日期"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="note" |
| | | label="备注"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="状态" |
| | | width="85" |
| | | > |
| | |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="showDetails(scope.row)">查看详情</el-button> |
| | | <el-button type="text" size="small">编辑附件</el-button> --> |
| | | <el-button type="text" size="small" @click="authorizedstrength(scope.row)">编制</el-button> |
| | | <el-button v-if="scope.row.type===0" type="text" size="small" @click="authorizedstrength(scope.row)">编制</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | id:this.compiledata.id |
| | | }).then( res =>{ |
| | | this.$message.success('编制完成') |
| | | }) |
| | | this.getTechnicalTableData() |
| | | }) |
| | | }, |
| | | |
| | | async showDetails(row){ |
| | |
| | | font-size: 20px; |
| | | } |
| | | .search-header .el-form-item:nth-child(1){ |
| | | margin-right: 48px; |
| | | margin-right: 24px; |
| | | } |
| | | .search-header .el-form-item:nth-child(2){ |
| | | margin-right: 24px; |
| | |
| | | } |
| | | /* 输入框的样式 */ |
| | | .search-header .el-form-item .el-input >>>.el-input__inner{ |
| | | width: 224px; |
| | | width: 10vw; |
| | | height: 32px ; |
| | | box-sizing: border-box; |
| | | background: rgb(255, 255, 255); |
| | |
| | | /* 技术文件表格样式 */ |
| | | .technical-table{ |
| | | margin-top: 11px; |
| | | height: calc(100% - 140px); |
| | | /* height: calc(100% - 140px); */ |
| | | background: #fff; |
| | | padding: 23px 21px ; |
| | | font-size: 14px; |
| | |
| | | } */ |
| | | .technical-table .table-box { |
| | | flex: 1; |
| | | /* overflow-y: scroll; */ |
| | | overflow-y: scroll; |
| | | } |
| | | .technical-table .el-pagination{ |
| | | margin-top: 23px; |