WokerTask/public/admin/assets/breeding.2cd0e956.js

2 lines
8.5 KiB
JavaScript

import{G as _,H as g,C as E,a1 as y,B as F,a2 as B,D as C,I as U}from"./element-plus.9816852d.js";import{d as z,o as w,K as x,L as a,U as e,a as r,R as i,S as A}from"./@vue.51d7f2d8.js";import{d as D}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 v={class:"tit"},I={class:"time"},R=z({__name:"breeding",props:{datas:{type:Object,defualt:function(){return{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){return(p,t)=>{const m=_,s=g,d=E,o=y,n=F,f=B,b=C,V=U;return w(),x(V,{style:{"margin-top":"16px"}},{default:a(()=>[e(b,{ref:"elForm",disabled:!0,model:p.formData,size:"mini","label-width":"180px"},{default:a(()=>[r("div",v,[i(" \u517B\u6B96\u4FE1\u606F "),r("span",I,"\u66F4\u65B0\u4E8E:"+A(l.update_time),1)]),e(f,null,{default:a(()=>[e(o,{span:8},{default:a(()=>[e(d,{label:"\u6709\u65E0\u517B\u6B96\u57F9\u8BAD",prop:"breeding_training"},{default:a(()=>[e(s,{modelValue:l.datas.breeding_training,"onUpdate:modelValue":t[0]||(t[0]=u=>l.datas.breeding_training=u),size:"medium"},{default:a(()=>[e(m,{label:"1"},{default:a(()=>[i("\u6709")]),_:1}),e(m,{label:"0"},{default:a(()=>[i("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u6709\u65E0\u6CE8\u518C\u6210\u7ACB\u517B\u6B96\u516C\u53F8",prop:"breeding_company"},{default:a(()=>[e(s,{modelValue:l.datas.breeding_company,"onUpdate:modelValue":t[1]||(t[1]=u=>l.datas.breeding_company=u),size:"medium"},{default:a(()=>[e(m,{label:"1"},{default:a(()=>[i("\u6709")]),_:1}),e(m,{label:"0"},{default:a(()=>[i("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u5907\u6CE8",prop:"notes"},{default:a(()=>[e(n,{modelValue:l.datas.notes,"onUpdate:modelValue":t[2]||(t[2]=u=>l.datas.notes=u),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(d,{label:"\u517B\u6B96\u7C7B\u578B",prop:"breeding_type"},{default:a(()=>[e(n,{modelValue:l.datas.breeding_type,"onUpdate:modelValue":t[3]||(t[3]=u=>l.datas.breeding_type=u),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(n,{modelValue:l.datas.breeding_time,"onUpdate:modelValue":t[4]||(t[4]=u=>l.datas.breeding_time=u),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(n,{modelValue:l.datas.mature_time,"onUpdate:modelValue":t[5]||(t[5]=u=>l.datas.mature_time=u),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(n,{modelValue:l.datas.yield,"onUpdate:modelValue":t[6]||(t[6]=u=>l.datas.yield=u),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(n,{modelValue:l.datas.estimated_income,"onUpdate:modelValue":t[7]||(t[7]=u=>l.datas.estimated_income=u),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(n,{modelValue:l.datas.farm_tools,"onUpdate:modelValue":t[8]||(t[8]=u=>l.datas.farm_tools=u),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\u517B\u6B96",prop:"ecological_farming"},{default:a(()=>[e(s,{modelValue:l.datas.ecological_farming,"onUpdate:modelValue":t[9]||(t[9]=u=>l.datas.ecological_farming=u),size:"medium"},{default:a(()=>[e(m,{label:"1"},{default:a(()=>[i("\u6709")]),_:1}),e(m,{label:"0"},{default:a(()=>[i("\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(n,{modelValue:l.datas.modernization,"onUpdate:modelValue":t[10]||(t[10]=u=>l.datas.modernization=u),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(n,{modelValue:l.datas.pre_price,"onUpdate:modelValue":t[11]||(t[11]=u=>l.datas.pre_price=u),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":t[12]||(t[12]=u=>l.datas.method_sales=u),size:"medium"},{default:a(()=>[e(m,{label:"1"},{default:a(()=>[i("\u6709")]),_:1}),e(m,{label:"0"},{default:a(()=>[i("\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":t[13]||(t[13]=u=>l.datas.processing_storage=u),size:"medium"},{default:a(()=>[e(m,{label:"1"},{default:a(()=>[i("\u6709")]),_:1}),e(m,{label:"0"},{default:a(()=>[i("\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":t[14]||(t[14]=u=>l.datas.promote=u),size:"medium"},{default:a(()=>[e(m,{label:"1"},{default:a(()=>[i("\u6709")]),_:1}),e(m,{label:"0"},{default:a(()=>[i("\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":t[15]||(t[15]=u=>l.datas.transportation=u),size:"medium"},{default:a(()=>[e(m,{label:"1"},{default:a(()=>[i("\u6709")]),_:1}),e(m,{label:"0"},{default:a(()=>[i("\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":t[16]||(t[16]=u=>l.datas.expand_business_needs=u),size:"medium"},{default:a(()=>[e(m,{label:"1"},{default:a(()=>[i("\u6709")]),_:1}),e(m,{label:"0"},{default:a(()=>[i("\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(n,{modelValue:l.datas.demand,"onUpdate:modelValue":t[17]||(t[17]=u=>l.datas.demand=u),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(n,{modelValue:l.datas.policy_subsidies,"onUpdate:modelValue":t[18]||(t[18]=u=>l.datas.policy_subsidies=u),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})}}});const fe=D(R,[["__scopeId","data-v-46f89663"]]);export{fe as default};