| | |
| | | </el-row> |
| | | </el-form-item> |
| | | <el-form-item label="车号" prop="position" class="form-item"> |
| | | <el-input v-model="form.position" placeholder="请输入"> |
| | | <el-input v-model.number="form.position" placeholder="请输入"> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | <!-- <CommonSearch :show-add="false" :show-download="false" :amount-view="false" :show-action-btn="false" |
| | | placeholder="请输入关键词" @searchClick="onFilterSearch"> |
| | | <template slot="leftButton"> --> |
| | | <el-button size="small" type="primary" @click="cancelClickTwo" |
| | | <el-button size="small" type="primary" @click="cancelClickOne" |
| | | >放弃</el-button |
| | | > |
| | | <el-button |
| | |
| | | show-overflow-tooltip |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="valueRange" label="野纤" width="120"> |
| | | <el-table-column prop="finenessGradeye" label="野纤" width="120"> |
| | | </el-table-column> |
| | | <el-table-column prop="unit" label="大野" show-overflow-tooltip> |
| | | <el-table-column prop="finenessGradebig" label="大野" show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column prop="valueRange" label="特野" width="120"> |
| | | <el-table-column prop="finenessGradeSpecial" label="特野" width="120"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="finenessGrade" |
| | |
| | | this.tableList.tableData = config.finenessList |
| | | ? config.finenessList |
| | | : []; |
| | | this.tableData=this.tableList.tableData |
| | | } |
| | | } |
| | | ); |
| | |
| | | : []; |
| | | for(let i in arr){ |
| | | let round=arr[i].finenessRoundingItems |
| | | if(arr[i].finenessGrade){ |
| | | if(arr[i].finenessGrade.indexOf('野纤')>-1){ |
| | | arr[i].finenessGradeye=arr[i].finenessGrade |
| | | }else if(arr[i].finenessGrade.indexOf('大野')>-1){ |
| | | arr[i].finenessGradebig=arr[i].finenessGrade |
| | | }else if(arr[i].finenessGrade.indexOf('特野')>-1){ |
| | | arr[i].finenessGradeSpecial=arr[i].finenessGrade |
| | | } |
| | | } |
| | | if(round){ |
| | | for(let j in round){ |
| | | arr[i][round[j].fineness]=round[j].quantity |
| | |
| | | sum: "", |
| | | }, |
| | | ]; |
| | | }else{ |
| | | this.form.measureFineness='' |
| | | this.form.twiceChange='' |
| | | this.form.cleanliness='' |
| | | this.form.purity='' |
| | | this.form.marketProcessOrderNumber='' |
| | | this.form.inspector='' |
| | | } |
| | | }, |
| | | // 纤度检验表 |
| | | cancelClickTwo() {}, |
| | | // 保存 |
| | | saveClickOne(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | // params.workshopGroup=Number(params.workshopGroup) |
| | | this.isAddloading = true; |
| | | if (this.activeName == "first") { |
| | | delete form.circle; |
| | | delete form.circleTwo; |
| | | let finenessList = JSON.parse( |
| | | JSON.stringify(this.tableList.tableData) |
| | | ); |
| | |
| | | message: "保存成功!", |
| | | type: "success", |
| | | }); |
| | | this.getDetailsData() |
| | | } |
| | | this.isAddloading = false; |
| | | }) |
| | |
| | | .body-l { |
| | | background-color: #fff; |
| | | border-radius: 12px; |
| | | height: calc(100% - 180px - 20px); |
| | | height: calc(100% - 20px); |
| | | width: calc(100% - 420px); |
| | | float: left; |
| | | overflow: hidden; |
| | |
| | | } |
| | | |
| | | .list-view { |
| | | height: calc(100% - 0px); |
| | | height: calc(100% - 180px); |
| | | min-height: 200px; |
| | | overflow: hidden; |
| | | overflow-y: auto; |
| | | } |
| | | } |
| | | |