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

6246
yifengdian-company-report/yarn.lock

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