更新了页面
This commit is contained in:
parent
f9bf59b355
commit
2af8c0c62b
@ -39,6 +39,8 @@
|
||||
<el-input
|
||||
v-model="datas.notes"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
@ -79,9 +81,9 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="产量" prop="yeild">
|
||||
<el-form-item label="产量" prop="yield">
|
||||
<el-input
|
||||
v-model="datas.yeild"
|
||||
v-model="datas.yield"
|
||||
clearable
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
@ -101,10 +103,16 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="农资农具使用情况" prop="farm_tools">
|
||||
<el-form-item
|
||||
label="农资农具使用情况"
|
||||
label-width="160px"
|
||||
prop="farm_tools"
|
||||
>
|
||||
<el-input
|
||||
v-model="datas.farm_tools"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
@ -192,7 +200,7 @@
|
||||
<el-col :span="6">
|
||||
<el-form-item
|
||||
label="是否有扩大经营需求"
|
||||
label-width="120px"
|
||||
label-width="160px"
|
||||
prop="expand_business_needs"
|
||||
>
|
||||
<el-radio-group v-model="datas.expand_business_needs" size="medium">
|
||||
@ -206,6 +214,8 @@
|
||||
<el-input
|
||||
v-model="datas.demand"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
@ -217,6 +227,8 @@
|
||||
<el-input
|
||||
v-model="datas.policy_subsidies"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
|
@ -14,6 +14,34 @@
|
||||
</div>
|
||||
|
||||
<el-row>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="土地总面积" prop="cultivated_area">
|
||||
<el-input
|
||||
v-model="datas.cultivated_area"
|
||||
clearable
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="土地规划" prop="cultivated_area">
|
||||
<el-select
|
||||
:disabled="isCheck"
|
||||
v-model="datas.planning"
|
||||
clearable
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
<el-option
|
||||
v-for="(item, index) in landPlanList"
|
||||
:key="index"
|
||||
:label="item"
|
||||
:value="index + ''"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="有无种植培训" prop="breeding_training">
|
||||
<el-radio-group v-model="datas.breeding_training" size="medium">
|
||||
@ -26,9 +54,9 @@
|
||||
<el-form-item
|
||||
label="有无注册成立种植公司"
|
||||
label-width="200px"
|
||||
prop="breeding_company"
|
||||
prop="planting_company"
|
||||
>
|
||||
<el-radio-group v-model="datas.breeding_company" size="medium">
|
||||
<el-radio-group v-model="datas.planting_company" size="medium">
|
||||
<el-radio label="1">有</el-radio>
|
||||
<el-radio label="0">无</el-radio>
|
||||
</el-radio-group>
|
||||
@ -39,6 +67,8 @@
|
||||
<el-input
|
||||
v-model="datas.notes"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
@ -56,6 +86,17 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="种植面积" prop="area">
|
||||
<el-input
|
||||
v-model="datas.area"
|
||||
clearable
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="开始时间" prop="breeding_time">
|
||||
<el-input
|
||||
@ -79,9 +120,9 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="产量" prop="yeild">
|
||||
<el-form-item label="产量" prop="yield">
|
||||
<el-input
|
||||
v-model="datas.yeild"
|
||||
v-model="datas.yield"
|
||||
clearable
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
@ -101,10 +142,16 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="农资农具使用情况" prop="farm_tools">
|
||||
<el-form-item
|
||||
label="农资农具使用情况"
|
||||
label-width="160px"
|
||||
prop="farm_tools"
|
||||
>
|
||||
<el-input
|
||||
v-model="datas.farm_tools"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
@ -192,7 +239,7 @@
|
||||
<el-col :span="6">
|
||||
<el-form-item
|
||||
label="是否有扩大经营需求"
|
||||
label-width="120px"
|
||||
label-width="160px"
|
||||
prop="expand_business_needs"
|
||||
>
|
||||
<el-radio-group v-model="datas.expand_business_needs" size="medium">
|
||||
@ -206,6 +253,8 @@
|
||||
<el-input
|
||||
v-model="datas.demand"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
@ -217,6 +266,8 @@
|
||||
<el-input
|
||||
v-model="datas.policy_subsidies"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
@ -228,14 +279,18 @@
|
||||
</el-card>
|
||||
</template>
|
||||
|
||||
<script setup lang='ts'>
|
||||
<script setup lang='ts'>
|
||||
import { ref, defineProps } from "vue";
|
||||
|
||||
const landPlanList = ref(["自己种", "出租", "代种", "租更多地扩大种植"]);
|
||||
|
||||
const props = defineProps({
|
||||
datas: {
|
||||
type: Object,
|
||||
defualt: function () {
|
||||
return {
|
||||
cultivated_area: "", //耕地总面积
|
||||
planning: "", //土地规划
|
||||
breeding_training: "", //有无种植培训
|
||||
breeding_company: "", //有无注册成立种殖公司
|
||||
notes: "", //备注
|
||||
@ -265,7 +320,7 @@ const props = defineProps({
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped lang='scss'>
|
||||
<style scoped lang='scss'>
|
||||
.tit {
|
||||
font-size: 1.2rem;
|
||||
translate: 1vw -1vw;
|
||||
|
@ -46,13 +46,19 @@
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="经营类型" prop="type">
|
||||
<el-input
|
||||
<el-select
|
||||
:disabled="isCheck"
|
||||
v-model="datas.type"
|
||||
clearable
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
</el-input>
|
||||
<el-option
|
||||
v-for="(item, index) in storeTypeList"
|
||||
:key="index"
|
||||
:label="item"
|
||||
:value="index + ''"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
@ -109,9 +115,9 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="商品来源" prop="online_display">
|
||||
<el-form-item label="商品来源" prop="source">
|
||||
<el-input
|
||||
v-model="datas.online_display"
|
||||
v-model="datas.source"
|
||||
clearable
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
@ -137,13 +143,10 @@
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="库存情况" prop="repertory">
|
||||
<el-input
|
||||
v-model="datas.repertory"
|
||||
clearable
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
</el-input>
|
||||
<el-radio-group v-model="datas.repertory" size="medium">
|
||||
<el-radio label="1">有</el-radio>
|
||||
<el-radio label="0">无</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
@ -151,6 +154,8 @@
|
||||
<el-input
|
||||
v-model="datas.appeal"
|
||||
clearable
|
||||
autosize
|
||||
type="textarea"
|
||||
:disabled="true"
|
||||
:style="{ width: '100%' }"
|
||||
>
|
||||
@ -165,6 +170,17 @@
|
||||
<script setup lang='ts'>
|
||||
import { ref, defineProps } from "vue";
|
||||
|
||||
const storeTypeList = ref([
|
||||
"超市",
|
||||
"生鲜",
|
||||
"饭店",
|
||||
"五金",
|
||||
"杂货",
|
||||
"服装",
|
||||
"文具",
|
||||
"其他",
|
||||
]);
|
||||
|
||||
const props = defineProps({
|
||||
datas: {
|
||||
type: Object,
|
||||
|
@ -318,6 +318,11 @@
|
||||
:datas="item.datas"
|
||||
:update_time="item.update_time"
|
||||
></store>
|
||||
<plant
|
||||
v-if="item.category_child == 7"
|
||||
:datas="item.datas"
|
||||
:update_time="item.update_time"
|
||||
></plant>
|
||||
<breeding
|
||||
v-if="item.category_child == 32"
|
||||
:datas="item.datas"
|
||||
@ -325,14 +330,18 @@
|
||||
></breeding>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="test">
|
||||
import { ref, reactive } from "vue";
|
||||
import store from "./component/store.vue";
|
||||
import breeding from "./component/breeding.vue";
|
||||
import plant from "./component/plant.vue";
|
||||
|
||||
import { fileManagelist, fileManageDetil } from "@/api/informationg";
|
||||
const route = useRoute();
|
||||
|
||||
const componentList = ref(["store", "breeding", "plant"]);
|
||||
|
||||
const formData = reactive({
|
||||
name: "",
|
||||
phone: "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user