WokerTask/public/admin/assets/plant.6861ea9a.js

2 lines
9.7 KiB
JavaScript
Raw Normal View History

2023-12-27 14:06:33 +08:00
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.fdc772f5.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"])]