spring
2025-09-23 ab27e3ac8c7e90fd267bd6c3f0c0e06f25469697
src/pages/production/twist/report/index.vue
@@ -4,7 +4,7 @@
      <template #top>
        <CardTitle title="报工信息" :hideAction="true" :full="false" @action="addReport" />
      </template>
      <wd-card v-for="(item, index) in twistReportList" type="rectangle" custom-class="round">
      <wd-card v-for="item in twistReportList" :key="item.id" type="rectangle" custom-class="round">
        <template #title>
          <view class="flex justify-between">
            <view>
@@ -17,6 +17,9 @@
        </template>
        <ProductionCard :data="cardAttr" :value="item" />
        <template #footer>
          <wd-button size="small" plain @click="toAttachment(item.id)" style="margin-right: 10px">
            附件
          </wd-button>
          <wd-button size="small" plain @click="toCheck(item.id)">自检</wd-button>
        </template>
      </wd-card>
@@ -100,6 +103,12 @@
  dialog.visible = false;
};
const toAttachment = (id: number) => {
  uni.navigateTo({
    url: `/pages/production/twist/attachment/index?reportId=${id}`,
  });
};
const toCheck = (id: number) => {
  uni.navigateTo({
    url: `/pages/production/twist/selfInspect/index?id=${id}`,