charles
2024-04-29 b95cf940af8e01e4eca30b2599b029c2f645bd1e
src/views/dashboard/components/ReportingRecordModal.vue
@@ -11,12 +11,14 @@
      </template>
      <div class="table-content">
        <el-table class="table" :data="reportingRecordList" border style="width: 100%" :scrollbar-always-on="true">
          <template #empty> 无数据 </template>
          <el-table-column type="index" label="序号" width="56" align="center" :resizable="false"></el-table-column>
          <el-table-column prop="deviceId" label="报工来源" align="center" :resizable="false">
            <template #default="scope">
              {{ scope?.row?.workerName ?? '--' }}/{{ scope?.row?.deviceName ?? '--' }}
            </template>
          </el-table-column>
          <el-table-column prop="workerName" label="人员姓名" align="center" :resizable="false" />
          <el-table-column prop="barCode" label="条码" align="center" :resizable="false">条码</el-table-column>
          <el-table-column prop="reportAmount" label="报工数量" align="center" :resizable="false" />
          <el-table-column prop="finishAmount" label="完成数量" align="center" :resizable="false" />
@@ -76,7 +78,7 @@
    return
  }
  apiGetReportingRecordList({
    procedureId: procedureId
    workOrderProcedureID: procedureId
  })
    .then((res) => {
      if (res.code === 200) {