spring
15 小时以前 20dbdee5a002544f6a4e12b5e39e338052418782
src/components/product_card/index.vue
@@ -3,6 +3,13 @@
    <template #title>
      <view class="flex justify-between w-full">
        <text class="font-medium text-[#252525]">设备编号: {{ data[map.deviceModel] }}</text>
        <wd-tag
          :color="data[map.isMonofil] == 1 ? '#0D867F' : '#e6a23c'"
          :bg-color="data[map.isMonofil] == 1 ? '#E7F4EC' : '#fdf6ec'"
        >
          <text class="text-xs">{{ data[map.isMonofil] == 1 ? "成品" : "半成品" }}</text>
        </wd-tag>
        <!-- #fdf6ec #e6a23c-->
        <wd-tag color="#0D867F" bg-color="#E7F4EC">
          <text class="text-xs">{{ data[map.model] }}</text>
        </wd-tag>
@@ -60,6 +67,19 @@
        </view>
      </wd-col>
    </wd-row>
    <wd-row class="my-2" v-if="data.type === '拉丝' && data.contractNo && data[map.isMonofil] == 1">
      <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.totalWeight }} kg</text>
          </text>
        </view>
      </wd-col>
    </wd-row>
    <wd-row class="my-2">
      <wd-col :span="12">
        <view class="flex">