@ -193,7 +193,7 @@
<d-dateRange @date="searchVal.startTime=$event[0];searchVal.endTime=$event[1];clean();search()"/>
<scroll-view scroll-y @scrolltolower="search">
<view class="card" v-for="(v,k) in list" :key="k" @click="v.growthProcess && toDetail(v)">
<template v-if="v.inputName">
@ -223,7 +223,7 @@
</view>
</template>
<u-empty v-if="list.length==0" text="为查询到相关信息" width="70%" icon="/static/noData.png"/>
<u-empty v-if="list.length==0" text="未查询到相关信息" width="70%" icon="/static/noData.png"/>
</scroll-view>
@ -298,4 +298,4 @@ import request from '@/common/request.js'
},
}
</script>
@ -279,7 +279,7 @@
</u-image>
<text class="link">>></text>
<text class="line"/>
<text class="plant-nongzi" style="margin-right:64rpx;" @click="$u.route({url:'pages/stock/mana'})">库存</text>
<text class="plant-caigou" @click="$u.route({url:'pages/purchase/apply'})">采购</text>
@ -328,7 +328,7 @@
<u-notice-bar style="padding:0rpx;" icon="" speed="45" color="#777" bgColor="" :text="`${new Date(v.time).format('yyyy-MM-dd')}:${v.userName} 完成了${v.plotName}${v.farmWorkName}任务`"/>
<u-empty :show="isEmpty" text="为查询到相关信息" width="50%" icon="/static/noData.png"/>
<u-empty :show="isEmpty" text="未查询到相关信息" width="50%" icon="/static/noData.png"/>
<u-picker v-if="isAdmin" :show="show" :columns="plantBase" keyName="baseName" closeOnClickOverlay @close="show=false" @confirm="$store.commit('setBaseId', {id:$event.value[0].id,name:$event.value[0].baseName});show=false" @cancel="show=false"/>
@ -227,7 +227,7 @@
<text class="date">{{new Date(v.sendTime).format('yyyy/MM/dd')}}</text>
<u-empty :show="list.length<=0" text="为查询到相关信息" width="50%" icon="/static/noData.png"/>
<u-empty :show="list.length<=0" text="未查询到相关信息" width="50%" icon="/static/noData.png"/>
@ -63,7 +63,7 @@
<text>{{v.goodsDetailType}}</text> <text>{{v.supplier}}</text>
@ -2,7 +2,7 @@
.container{
background:#F6F6F6;
height:100%;
scroll-view{
flex-grow: 1;
height:1rpx;
@ -81,9 +81,9 @@
<d-navbar style="--bg:#10C176;--c:#fff;" text="地块管理">
<text class="plant-xinjian" slot="right" @click="toInfo"/>
</d-navbar>
<d-search v-model="searchVal.search" @search="clean();search()" placeholder="输入地块名称或编号搜索"/>
<view class="card item" v-for="(v,k) in list" :key="k" @click="$u.route({url:'pages/massif/detail',params:{id:v.id}})">
<u-image width="220rpx" height="220rpx" radius="16rpx" :src="`${host}/${v.image}`" mode="aspectFill">
@ -103,7 +103,7 @@
@ -155,7 +155,7 @@
<text>{{v.type}}</text> <text>负责人:{{v.principal}}</text> <text>记录日期:{{new Date(v.time).format('yyyy-MM-dd')}}</text>
<u-empty v-if="list.length<=0" text="为查询到相关信息" width="70%" icon="/static/noData.png"/>
<u-empty v-if="list.length<=0" text="未查询到相关信息" width="70%" icon="/static/noData.png"/>
@ -243,4 +243,4 @@ export default {
@ -158,7 +158,7 @@
<button class="cu-btn round bg-green shadow submit" @click="addPlant">+新增种植计划</button>
@ -330,4 +330,4 @@ export default {
this.$provise.off('addFarming')
@ -147,7 +147,7 @@
@ -116,9 +116,9 @@
<u-datetime-picker
:show="show"
mode="date"
@ -198,4 +198,4 @@ export default {
@ -167,7 +167,7 @@
@ -247,4 +247,4 @@ export default {
@ -76,7 +76,7 @@
.addPest{
position:absolute;
bottom:0;
@ -116,7 +116,7 @@
<view class="items">
<text :class="{active:select.some(i=>i==v.name)}" v-for="(v,k) in list" :key="k" @click="selectPest(v)">{{v.name}}</text>
<u-empty :show="list.length<=0" text="为查询到相关信息" width="70%" icon="/static/noData.png"/>
<u-empty :show="list.length<=0" text="未查询到相关信息" width="70%" icon="/static/noData.png"/>
<u-overlay :show="show" @click="show=false">
@ -293,4 +293,4 @@ export default {
@ -67,7 +67,7 @@
<text>{{v.detailedType}}</text> <text class="over">{{v.supplier}}</text>
@ -137,4 +137,4 @@ export default {
@ -73,7 +73,7 @@
<text>{{v.detailedType}}</text> <text class="over">{{v.supplier}}</text> <text :data-total="v.heft">{{v.packing}}</text>
@ -109,4 +109,4 @@ export default {
@ -100,7 +100,7 @@
<text class="type" :style="{'--bg':({1:'#EE263A',2:'#FFCB69',3:'#FFCB69',4:'#FFCB69',5:'rgb(16, 193, 118)'})[v.applicantStatus]}">{{({1:"审核未通过",2:"待审核",3:"待审核",4:"待审核",5:"审核通过"})[v.applicantStatus]}}</text>
@ -152,4 +152,4 @@ export default {
@ -98,7 +98,7 @@
<text class="number" :data-unit="`共${v.equivalentAmount}${v.unit}`">{{v.number}}{{v.packgeUnit}}</text>
@ -149,4 +149,4 @@ export default {
@ -176,7 +176,7 @@
<button v-if="searchVal.substanceType=='nz'&& isWareMana" class="cu-btn round bg-green shadow submit" @click="toPage('agrWarehouse')">+农资入库</button>
@ -265,4 +265,4 @@ export default {
height: 100%;
background:#f6f6f6;
&>.btns{
flex-shrink: 0;
margin:0 30rpx 30rpx;
@ -130,7 +130,7 @@
</style>
<template>
<view class="container flex">
<d-search v-model="searchVal.search" @search="clean();search()"/>
<view class="btns shadow bg-white">
@ -170,7 +170,7 @@
@ -238,4 +238,4 @@ export default {
this.search()
@ -3,7 +3,7 @@
padding-bottom:20rpx;
@ -90,7 +90,7 @@
<view class="card item" v-for="(v,k) in list" :key="k" @click="toDetail(v)">
<view class="img">
@ -113,7 +113,7 @@