fix: 导体会存在每隔一段距离需要标记的情况,需要通知工人进行标记。
已修改2个文件
16 ■■■■■ 文件已修改
src/components/product_card/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/production/detail/twistDetail.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/product_card/index.vue
@@ -84,6 +84,19 @@
        </view>
      </wd-col>
    </wd-row>
    <wd-row class="my-2" v-if="data[map.segmentLengthNote]">
      <wd-col :span="24">
        <view class="flex">
          <view class="icon_box">
            <wd-icon name="folder" color="#0D867F"></wd-icon>
          </view>
          <text class="text-[#646874] mx-2">
            段长备注:
            <text class="text-[#252525]">{{ data[map.segmentLengthNote] }}</text>
          </text>
        </view>
      </wd-col>
    </wd-row>
  </wd-card>
</template>
src/pages/production/detail/twistDetail.vue
@@ -9,6 +9,7 @@
        totalAmount: 'totalAmount',
        amount: 'amount',
        unAmount: 'unAmount',
        segmentLengthNote: 'segmentLengthNote',
      }"
    />
    <view class="mx-3">
@@ -52,6 +53,7 @@
  totalAmount: undefined,
  amount: undefined,
  unAmount: undefined,
  segmentLengthNote: undefined,
});
const detailData = ref<any>({});
@@ -66,6 +68,7 @@
  cardData.totalAmount = data.totalLength;
  cardData.amount = data.length;
  cardData.unAmount = data.unLength;
  cardData.segmentLengthNote = data.segmentLengthNote;
};
// 获取并缓存生产准备ID