Browse Source

完善

master
lichao 11 months ago
parent
commit
f50db1a887
  1. 26
      yifengdian-company-report/src/views/vegetableDetails.vue
  2. 6246
      yifengdian-company-report/yarn.lock

26
yifengdian-company-report/src/views/vegetableDetails.vue

@ -3,13 +3,13 @@
<!-- <van-tabs color="#3974F6" title-active-color="#3974F6"> <!-- <van-tabs color="#3974F6" title-active-color="#3974F6">
<van-tab title="信息填报"> <van-tab title="信息填报">
</van-tab> </van-tab>
</van-tabs> --> </van-tabs> -->
<div class="flex flex-y"> <div class="flex flex-y">
<div class="header font-size17 font-pingfangB text-center flex flex-center2 "> <div class="header font-size17 font-pingfangB text-center flex flex-center2 ">
<div class="m-left25">青岛德龙种业有限公司</div> <div class="m-left25">青岛德龙种业有限公司</div>
</div> </div>
<div class="list"> <div class="list">
<div <div
@ -49,6 +49,13 @@
readonly readonly
@click="onDisplay(i)" @click="onDisplay(i)"
/> />
<van-field
label="面积(亩)"
right-icon="arrow"
v-model="item.area"
placeholder="请输入面积"
required
/>
<van-field <van-field
label="上市时间" label="上市时间"
right-icon="arrow" right-icon="arrow"
@ -103,7 +110,7 @@
:value="new Date(vegetableList[index].growTime)" :value="new Date(vegetableList[index].growTime)"
/> />
</div> </div>
<div v-show="timeShow1" class="picker-box"> <div v-show="timeShow1" class="picker-box">
<van-datetime-picker <van-datetime-picker
type="date" type="date"
@ -114,7 +121,7 @@
:value="new Date(vegetableList[index].marketTime)" :value="new Date(vegetableList[index].marketTime)"
/> />
</div> </div>
<div class="flex flex-x flex-center1 flex-center2"> <div class="flex flex-x flex-center1 flex-center2">
<button @click="onSubmit" class="login-btn">上报</button></div> <button @click="onSubmit" class="login-btn">上报</button></div>
</div> </div>
@ -152,7 +159,7 @@ export default {
timeShow: false, timeShow: false,
timeShow1: false, timeShow1: false,
timeShow3: false, timeShow3: false,
placeOrgName: null, placeOrgName: null,
columns: ["白菜", "土豆", "温州", "嘉兴", "湖州"], columns: ["白菜", "土豆", "温州", "嘉兴", "湖州"],
list: [], list: [],
@ -361,6 +368,9 @@ export default {
if (item.growTime == null || item.growTime == "") { if (item.growTime == null || item.growTime == "") {
bool = true; bool = true;
} }
if (item.area == null || item.area == "") {
bool = true;
}
if (item.marketTime == null || item.marketTime == "") { if (item.marketTime == null || item.marketTime == "") {
bool = true; bool = true;
} }
@ -465,7 +475,7 @@ export default {
border: none; border: none;
cursor: pointer; cursor: pointer;
} }
.login-btn1 { .login-btn1 {
padding: 10px; padding: 10px;
@ -480,7 +490,7 @@ export default {
color: white; color: white;
border: none; border: none;
cursor: pointer; cursor: pointer;
} }
.bottom { .bottom {
width: calc(100% - 48px); width: calc(100% - 48px);

6246
yifengdian-company-report/yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save