邓宏 2 years ago
parent
commit
4b711438f9
  1. 10
      pages/home/index.vue

10
pages/home/index.vue

@ -309,13 +309,13 @@
<view style="display:flex;">
<view class="card stock" style="margin-right:0px;--c:#10C176;" @click="$u.route({url:'pages/stock/mana'})">
<view class="title">库存管理</view>
<view class="item meansAgrProd">农资库存</view>
<view class="item agrProd">农产品库存</view>
</view>
<view class="card stock" style="--c:#ffc353;" @click="$u.route({url:'pages/purchase/apply'})">
<view class="title">采购申请</view>
<view class="item warehousing">入库管理</view>
<view class="item lssue">出库管理</view>
</view>
@ -328,15 +328,15 @@
<text class="plant-jilu" :class="{active:baseIndex=='record'}" style="--c:16, 193, 118;margin-right:40px;" @click="baseIndex=='record'?baseIndex='':baseIndex='record'">农事记录</text>
<text class="plant-tourupin" :class="{active:baseIndex=='input'}" style="--c:255, 195, 83;" @click="baseIndex=='input'?baseIndex='':baseIndex='input'">投入品</text>
</view>
<template v-if="!baseIndex || baseIndex=='record'">
<view v-for="(v,k) in baseInfo.farmWork||[]" :key="`${k}_work`" class="item" style="--c:16, 193, 118;">
<text>农事</text> <text class="over">{{new Date(v.time).format('yyyy-MM-dd')}}{{v.userName}}{{v.plotName}}{{v.farmWorkName}}</text>
<text>农事</text> <text class="over">{{v.userName}}{{new Date(v.time).format('yyyy-MM-dd')}}日完成了{{v.plotName}}{{v.farmWorkName}}任务</text>
</view>
</template>
<template v-if="!baseIndex || baseIndex=='input'">
<view v-for="(v,k) in baseInfo.farmingInput||[]" :key="`${k}_input`" class="item" style="--c:255, 195, 83;">
<text>投入品</text> <text class="over">{{new Date(v.time).format('yyyy-MM-dd')}}{{v.userName}}{{v.plotName}}{{v.farmWorkName}}</text>
<text>投入品</text> <text class="over">{{v.userName}}{{new Date(v.time).format('yyyy-MM-dd')}}日完成了{{v.plotName}}{{v.farmWorkName}}任务</text>
</view>
</template>
<u-empty v-if="isEmpty" width="70%" icon="/static/noData.png"/>

Loading…
Cancel
Save