2 lines
10 KiB
JavaScript
2 lines
10 KiB
JavaScript
|
import{B as w,C as B,a1 as c,M as z,N as v,G as x,H as I,a2 as S,D as k,I as N}from"./element-plus.10e48c93.js";import{d as R,r as L,o as p,K as E,L as e,U as a,a as m,R as s,S as f,c as g,T as q,a7 as G,u as O,Q as T,bf as j,be as H}from"./@vue.51d7f2d8.js";import{d as K}from"./index.c35b5194.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.08438971.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.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 b=l=>(j("data-v-971b5d30"),l=l(),H(),l),M={class:"tit"},P={class:"time"},Q={key:0},J=b(()=>m("p",{class:"tit"}," \u5546\u673A\u5206\u6790",-1)),W=b(()=>m("br",null,null,-1)),X=b(()=>m("br",null,null,-1)),Y=b(()=>m("br",null,null,-1)),Z=R({__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 F=L(["\u81EA\u5DF1\u79CD","\u51FA\u79DF","\u4EE3\u79CD","\u79DF\u66F4\u591A\u5730\u6269\u5927\u79CD\u690D"]);return(V,d)=>{const i=w,u=B,o=c,y=z,C=v,n=x,r=I,D=S,A=k,U=N;return p(),E(U,{style:{"margin-top":"16px"}},{default:e(()=>[a(A,{ref:"elForm",disabled:!0,model:V.formData,size:"mini","label-width":"180px"},{default:e(()=>[m("div",M,[s(" \u79CD\u690D\u4FE1\u606F "),m("span",P,"\u66F4\u65B0\u4E8E:"+f(l.update_time),1)]),a(D,null,{default:e(()=>[a(o,{span:8},{default:e(()=>[a(u,{label:"\u571F\u5730\u603B\u9762\u79EF(\u4EA9)",prop:"cultivated_area"},{default:e(()=>[a(i,{modelValue:l.datas.datas.cultivated_area,"onUpdate:modelValue":d[0]||(d[0]=t=>l.datas.datas.cultivated_area=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u571F\u5730\u89C4\u5212",prop:"cultivated_area"},{default:e(()=>[a(C,{disabled:V.isCheck,modelValue:l.datas.datas.planning,"onUpdate:modelValue":d[1]||(d[1]=t=>l.datas.datas.planning=t),clearable:"",style:{width:"100%"}},{default:e(()=>[(p(!0),g(q,null,G(O(F),(t,_)=>(p(),E(y,{key:_,label:t,value:_+""},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u6709\u65E0\u79CD\u690D\u57F9\u8BAD",prop:"breeding_training"},{default:e(()=>[a(r,{modelValue:l.datas.datas.breeding_training,"onUpdate:modelValue":d[2]||(d[2]=t=>l.datas.datas.breeding_training=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u6709\u65E0\u6CE8\u518C\u6210\u7ACB\u79CD\u690D\u516C\u53F8",prop:"planting_company"},{default:e(()=>[a(r,{modelValue:l.datas.datas.planting_company,"onUpdate:modelValue":d[3]||(d[3]=t=>l.datas.datas.planting_company=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=
|