This commit is contained in:
		
							parent
							
								
									8145feb1dc
								
							
						
					
					
						commit
						35f4b67d5b
					
				| 
						 | 
					@ -90,9 +90,20 @@
 | 
				
			||||||
              </span>
 | 
					              </span>
 | 
				
			||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
          </el-table-column>
 | 
					          </el-table-column>
 | 
				
			||||||
 | 
					        <el-table-column label="定损数量" align="center" prop="dsNum" :show-overflow-tooltip="true">
 | 
				
			||||||
 | 
					          <template slot-scope="scope">
 | 
				
			||||||
 | 
					              <span v-if="scope.$index !== 0" class="clickText" @click="openRepairRecords(scope.row,1)">
 | 
				
			||||||
 | 
					              {{ scope.row.dsNum }}
 | 
				
			||||||
 | 
					              </span>
 | 
				
			||||||
 | 
					            <!-- 否则,直接显示数字 -->
 | 
				
			||||||
 | 
					            <span v-else>
 | 
				
			||||||
 | 
					                {{ scope.row.dsNum }}
 | 
				
			||||||
 | 
					              </span>
 | 
				
			||||||
 | 
					          </template>
 | 
				
			||||||
 | 
					        </el-table-column>
 | 
				
			||||||
          <el-table-column label="在修数量" align="center" prop="repairNum" :show-overflow-tooltip="true">
 | 
					          <el-table-column label="在修数量" align="center" prop="repairNum" :show-overflow-tooltip="true">
 | 
				
			||||||
            <template slot-scope="scope">
 | 
					            <template slot-scope="scope">
 | 
				
			||||||
              <span v-if="scope.$index !== 0" class="clickText" @click="openRepairRecords(scope.row)">
 | 
					              <span v-if="scope.$index !== 0" class="clickText" @click="openRepairRecords(scope.row,2)">
 | 
				
			||||||
              {{ scope.row.repairNum }}
 | 
					              {{ scope.row.repairNum }}
 | 
				
			||||||
              </span>
 | 
					              </span>
 | 
				
			||||||
              <!-- 否则,直接显示数字 -->
 | 
					              <!-- 否则,直接显示数字 -->
 | 
				
			||||||
| 
						 | 
					@ -101,6 +112,17 @@
 | 
				
			||||||
              </span>
 | 
					              </span>
 | 
				
			||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
          </el-table-column>
 | 
					          </el-table-column>
 | 
				
			||||||
 | 
					        <el-table-column label="修试待审核数量" align="center" prop="repairAuditNum" :show-overflow-tooltip="true">
 | 
				
			||||||
 | 
					          <template slot-scope="scope">
 | 
				
			||||||
 | 
					              <span v-if="scope.$index !== 0" class="clickText" @click="openRepairRecords(scope.row,3)">
 | 
				
			||||||
 | 
					              {{ scope.row.repairAuditNum }}
 | 
				
			||||||
 | 
					              </span>
 | 
				
			||||||
 | 
					            <!-- 否则,直接显示数字 -->
 | 
				
			||||||
 | 
					            <span v-else>
 | 
				
			||||||
 | 
					                {{ scope.row.repairAuditNum }}
 | 
				
			||||||
 | 
					              </span>
 | 
				
			||||||
 | 
					          </template>
 | 
				
			||||||
 | 
					        </el-table-column>
 | 
				
			||||||
          <el-table-column label="新购待入库数量" align="center" prop="inputNum" :show-overflow-tooltip="true">
 | 
					          <el-table-column label="新购待入库数量" align="center" prop="inputNum" :show-overflow-tooltip="true">
 | 
				
			||||||
            <template slot-scope="scope">
 | 
					            <template slot-scope="scope">
 | 
				
			||||||
              <span v-if="scope.$index !== 0" class="clickText" @click="openPurchaseRecords(scope.row)">
 | 
					              <span v-if="scope.$index !== 0" class="clickText" @click="openPurchaseRecords(scope.row)">
 | 
				
			||||||
| 
						 | 
					@ -303,7 +325,7 @@
 | 
				
			||||||
          </el-table-column>
 | 
					          </el-table-column>
 | 
				
			||||||
          <el-table-column label="机具名称" align="center" prop="typeName" :show-overflow-tooltip="true"/>
 | 
					          <el-table-column label="机具名称" align="center" prop="typeName" :show-overflow-tooltip="true"/>
 | 
				
			||||||
          <el-table-column label="规格型号" align="center" prop="typeModelName" :show-overflow-tooltip="true"/>
 | 
					          <el-table-column label="规格型号" align="center" prop="typeModelName" :show-overflow-tooltip="true"/>
 | 
				
			||||||
          <el-table-column label="在修数量" align="center" prop="repairNum" :show-overflow-tooltip="true"/>
 | 
					          <el-table-column label="数量" align="center" prop="repairNum" :show-overflow-tooltip="true"/>
 | 
				
			||||||
          <el-table-column label="原值(元)" align="center" prop="buyPrice" :show-overflow-tooltip="true"/>
 | 
					          <el-table-column label="原值(元)" align="center" prop="buyPrice" :show-overflow-tooltip="true"/>
 | 
				
			||||||
          <el-table-column label="设备编码" align="center" prop="maCode" :show-overflow-tooltip="true"/>
 | 
					          <el-table-column label="设备编码" align="center" prop="maCode" :show-overflow-tooltip="true"/>
 | 
				
			||||||
          <el-table-column label="维修员" align="center" prop="repairer" :show-overflow-tooltip="true"/>
 | 
					          <el-table-column label="维修员" align="center" prop="repairer" :show-overflow-tooltip="true"/>
 | 
				
			||||||
| 
						 | 
					@ -868,7 +890,7 @@ export default {
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
// ------------------
 | 
					// ------------------
 | 
				
			||||||
      //查看在修设备
 | 
					      //查看在修设备
 | 
				
			||||||
      openRepairRecords(row) {
 | 
					      openRepairRecords(row,type) {
 | 
				
			||||||
        this.openRepairRecord = true
 | 
					        this.openRepairRecord = true
 | 
				
			||||||
        this.dialogRepairQuery.typeId= row.typeId
 | 
					        this.dialogRepairQuery.typeId= row.typeId
 | 
				
			||||||
        this.dialogRepairQuery.pageNum = 1;
 | 
					        this.dialogRepairQuery.pageNum = 1;
 | 
				
			||||||
| 
						 | 
					@ -876,6 +898,7 @@ export default {
 | 
				
			||||||
        this.dialogRepairQuery.pageNum = 1
 | 
					        this.dialogRepairQuery.pageNum = 1
 | 
				
			||||||
        this.dialogRepairQuery.pageSize = 10
 | 
					        this.dialogRepairQuery.pageSize = 10
 | 
				
			||||||
        this.repairRecordList = []
 | 
					        this.repairRecordList = []
 | 
				
			||||||
 | 
					        this.dialogRepairQuery.type=type
 | 
				
			||||||
        this.getRepairRecords()
 | 
					        this.getRepairRecords()
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      /** 查询在修设备列表 */
 | 
					      /** 查询在修设备列表 */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue