WokerTask/public/admin/assets/plant.26aa0c72.js

2 lines
10 KiB
JavaScript
Raw Normal View History

2024-01-24 10:03:39 +08:00
import{C as w,D as c,a2 as B,N as z,O as v,H as x,I,a3 as k,F as S,J as N}from"./element-plus.ff90c99c.js";import{d as O,r as R,o as p,P as E,Q as e,W as a,a as m,U as s,V as f,c as g,F as q,a9 as L,u as P,T,bg as j,bf as G}from"./@vue.f8dfc830.js";import{d as H}from"./index.2c97e227.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.2e6f447e.js";import"./axios.075403c9.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.b6f240ee.js";import"./color.35874cfa.js";import"./clone.d8e67888.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.e6aad81b.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.79024f1a.js";const b=l=>(j("data-v-971b5d30"),l=l(),G(),l),J={class:"tit"},Q={class:"time"},W={key:0},K=b(()=>m("p",{class:"tit"}," \u5546\u673A\u5206\u6790",-1)),M=b(()=>m("br",null,null,-1)),X=b(()=>m("br",null,null,-1)),Y=b(()=>m("br",null,null,-1)),Z=O({__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=R(["\u81EA\u5DF1\u79CD","\u51FA\u79DF","\u4EE3\u79CD","\u79DF\u66F4\u591A\u5730\u6269\u5927\u79CD\u690D"]);return(V,d)=>{const i=w,u=c,o=B,y=z,C=v,n=x,r=I,D=k,A=S,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",J,[s(" \u79CD\u690D\u4FE1\u606F "),m("span",Q,"\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,L(P(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(()