import{B as D,C as U,a1 as w,M as A,N as B,G as z,H as x,a2 as v,D as c,I as k}from"./element-plus.9816852d.js";import{d as I,r as N,o as r,K as f,L as a,U as e,a as V,R as n,S as R,c as S,T as L,a7 as G,u as O}from"./@vue.51d7f2d8.js";import{d as T}from"./index.4eaf9bd5.js";import"./@vueuse.ec90c285.js";import"./@element-plus.a074d1f6.js";import"./lodash-es.29c53eac.js";import"./dayjs.576af3ba.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.675f209e.js";import"./axios.54f807ba.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.0a5c0f85.js";import"./color.e5eb3bba.js";import"./clone.546d9b81.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.aee266dc.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";const j={class:"tit"},H={class:"time"},K=I({__name:"plant",props:{datas:{type:Object,defualt:function(){return{cultivated_area:"",planning:"",breeding_training:"",breeding_company:"",notes:"",breeding_type:"",breeding_time:"",mature_time:"",yield:"",estimated_income:"",farm_tools:"",ecological_farming:"",modernization:"",pre_price:"",method_sales:"",processing_storage:"",promote:"",transportation:"",expand_business_needs:"",demand:"",policy_subsidies:""}}},update_time:{type:String,defualt:""}},setup(l){const _=N(["\u81EA\u5DF1\u79CD","\u51FA\u79DF","\u4EE3\u79CD","\u79DF\u66F4\u591A\u5730\u6269\u5927\u79CD\u690D"]);return(p,u)=>{const m=D,d=U,o=w,E=A,g=B,i=z,s=x,y=v,F=c,C=k;return r(),f(C,{style:{"margin-top":"16px"}},{default:a(()=>[e(F,{ref:"elForm",disabled:!0,model:p.formData,size:"mini","label-width":"180px"},{default:a(()=>[V("div",j,[n(" \u79CD\u690D\u4FE1\u606F "),V("span",H,"\u66F4\u65B0\u4E8E:"+R(l.update_time),1)]),e(y,null,{default:a(()=>[e(o,{span:8},{default:a(()=>[e(d,{label:"\u571F\u5730\u603B\u9762\u79EF(\u4EA9)",prop:"cultivated_area"},{default:a(()=>[e(m,{modelValue:l.datas.cultivated_area,"onUpdate:modelValue":u[0]||(u[0]=t=>l.datas.cultivated_area=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u571F\u5730\u89C4\u5212",prop:"cultivated_area"},{default:a(()=>[e(g,{disabled:p.isCheck,modelValue:l.datas.planning,"onUpdate:modelValue":u[1]||(u[1]=t=>l.datas.planning=t),clearable:"",style:{width:"100%"}},{default:a(()=>[(r(!0),S(L,null,G(O(_),(t,b)=>(r(),f(E,{key:b,label:t,value:b+""},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u6709\u65E0\u79CD\u690D\u57F9\u8BAD",prop:"breeding_training"},{default:a(()=>[e(s,{modelValue:l.datas.breeding_training,"onUpdate:modelValue":u[2]||(u[2]=t=>l.datas.breeding_training=t),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[n("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[n("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u6709\u65E0\u6CE8\u518C\u6210\u7ACB\u79CD\u690D\u516C\u53F8",prop:"planting_company"},{default:a(()=>[e(s,{modelValue:l.datas.planting_company,"onUpdate:modelValue":u[3]||(u[3]=t=>l.datas.planting_company=t),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[n("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[n("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u5907\u6CE8",prop:"notes"},{default:a(()=>[e(m,{modelValue:l.datas.notes,"onUpdate:modelValue":u[4]||(u[4]=t=>l.datas.notes=t),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u79CD\u690D\u7C7B\u578B",prop:"breeding_type"},{default:a(()=>[e(m,{modelValue:l.datas.breeding_type,"onUpdate:modelValue":u[5]||(u[5]=t=>l.datas.breeding_type=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u79CD\u690D\u9762\u79EF(\u4EA9)",prop:"area"},{default:a(()=>[e(m,{modelValue:l.datas.area,"onUpdate:modelValue":u[6]||(u[6]=t=>l.datas.area=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u5F00\u59CB\u65F6\u95F4",prop:"breeding_time"},{default:a(()=>[e(m,{modelValue:l.datas.breeding_time,"onUpdate:modelValue":u[7]||(u[7]=t=>l.datas.breeding_time=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u4E0A\u5E02\u65F6\u95F4",prop:"mature_time"},{default:a(()=>[e(m,{modelValue:l.datas.mature_time,"onUpdate:modelValue":u[8]||(u[8]=t=>l.datas.mature_time=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u4EA7\u91CF(\u65A4)",prop:"yield"},{default:a(()=>[e(m,{modelValue:l.datas.yield,"onUpdate:modelValue":u[9]||(u[9]=t=>l.datas.yield=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u9884\u8BA1\u6536\u76CA(\u5143)",prop:"estimated_income"},{default:a(()=>[e(m,{modelValue:l.datas.estimated_income,"onUpdate:modelValue":u[10]||(u[10]=t=>l.datas.estimated_income=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u519C\u8D44\u519C\u5177\u4F7F\u7528\u60C5\u51B5","label-width":"180px",prop:"farm_tools"},{default:a(()=>[e(m,{modelValue:l.datas.farm_tools,"onUpdate:modelValue":u[11]||(u[11]=t=>l.datas.farm_tools=t),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u662F\u5426\u751F\u6001\u79CD\u690D",prop:"ecological_farming"},{default:a(()=>[e(s,{modelValue:l.datas.ecological_farming,"onUpdate:modelValue":u[12]||(u[12]=t=>l.datas.ecological_farming=t),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[n("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[n("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u73B0\u4EE3\u5316\u7A0B\u5EA6(%)",prop:"modernization"},{default:a(()=>[e(m,{modelValue:l.datas.modernization,"onUpdate:modelValue":u[13]||(u[13]=t=>l.datas.modernization=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u9884\u552E\u5356\u4EF7\u683C(\u5143/500g)",prop:"pre_price"},{default:a(()=>[e(m,{modelValue:l.datas.pre_price,"onUpdate:modelValue":u[14]||(u[14]=t=>l.datas.pre_price=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u9500\u552E\u65B9\u5F0F",prop:"method_sales"},{default:a(()=>[e(s,{modelValue:l.datas.method_sales,"onUpdate:modelValue":u[15]||(u[15]=t=>l.datas.method_sales=t),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[n("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[n("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u6709\u65E0\u52A0\u5DE5\u4ED3\u50A8",prop:"processing_storage"},{default:a(()=>[e(s,{modelValue:l.datas.processing_storage,"onUpdate:modelValue":u[16]||(u[16]=t=>l.datas.processing_storage=t),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[n("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[n("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u6709\u65E0\u5BA3\u4F20\u63A8\u5E7F",prop:"promote"},{default:a(()=>[e(s,{modelValue:l.datas.promote,"onUpdate:modelValue":u[17]||(u[17]=t=>l.datas.promote=t),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[n("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[n("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u6709\u65E0\u8FD0\u8F93",prop:"transportation"},{default:a(()=>[e(s,{modelValue:l.datas.transportation,"onUpdate:modelValue":u[18]||(u[18]=t=>l.datas.transportation=t),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[n("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[n("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u662F\u5426\u6709\u6269\u5927\u7ECF\u8425\u9700\u6C42",prop:"expand_business_needs"},{default:a(()=>[e(s,{modelValue:l.datas.expand_business_needs,"onUpdate:modelValue":u[19]||(u[19]=t=>l.datas.expand_business_needs=t),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[n("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[n("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u9700\u6C42\u63CF\u8FF0",prop:"demand"},{default:a(()=>[e(m,{modelValue:l.datas.demand,"onUpdate:modelValue":u[20]||(u[20]=t=>l.datas.demand=t),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u653F\u7B56\u8865\u52A9",prop:"policy_subsidies"},{default:a(()=>[e(m,{modelValue:l.datas.policy_subsidies,"onUpdate:modelValue":u[21]||(u[21]=t=>l.datas.policy_subsidies=t),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})}}});const we=T(K,[["__scopeId","data-v-25eb6ea0"]]);export{we as default};