|
@@ -4,15 +4,17 @@
|
|
|
<el-form ref="createTemp" :rules="rules" :model="createTemp" label-position="right" label-width="250px" style="margin-top: 40px;margin-bottom:30px;">
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="是否可取前一天计划:" prop="isGetLastPlan">
|
|
|
- <el-select v-model="createTemp.isGetLastPlan" :disabled="isRoleEdit==false" filterable placeholder="是否可取前一天计划" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.sfkqqytjh')" prop="isGetLastPlan">
|
|
|
+ <el-select v-model="createTemp.isGetLastPlan" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.sfkqqytjh')"class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in planBeforeDayList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="是否可取后一天计划:" prop="isGetNextPlan">
|
|
|
- <el-select v-model="createTemp.isGetNextPlan" :disabled="isRoleEdit==false" filterable placeholder="是否可取后一天计划" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.sfkqqytjh1')" prop="isGetNextPlan">
|
|
|
+ <el-select v-model="createTemp.isGetNextPlan" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.sfkqqytjh1')"class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in planNextDayList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -20,15 +22,17 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="班次数量:" prop="times">
|
|
|
- <el-select v-model="createTemp.times" :disabled="isRoleEdit==false" filterable placeholder="水分调节选项" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.bcsl')" prop="times">
|
|
|
+ <el-select v-model="createTemp.times" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.bcsl')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in numberList" :key="item.id" :label="item.name" :value="item.name" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="重量小数点位数:" prop="decimalPlaces">
|
|
|
- <el-select v-model="createTemp.decimalPlaces" :disabled="isRoleEdit==false" filterable placeholder="重量小数点位数" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.zlxsdws')" prop="decimalPlaces">
|
|
|
+ <el-select v-model="createTemp.decimalPlaces" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.zlxsdws')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in weightDecimalPlacesList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -36,15 +40,17 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="比例小数点位数:" prop="decimalRate">
|
|
|
- <el-select v-model="createTemp.decimalRate" :disabled="isRoleEdit==false" filterable placeholder="比例小数点位数" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.blxsdws')" prop="decimalRate">
|
|
|
+ <el-select v-model="createTemp.decimalRate" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.blxsdws')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in rateDecimalPlacesList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="是否启用饲料合同:" prop="isEnableContract">
|
|
|
- <el-select v-model="createTemp.isEnableContract" :disabled="isRoleEdit==false" filterable placeholder="启用饲料合同" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.sfqyslht')" prop="isEnableContract">
|
|
|
+ <el-select v-model="createTemp.isEnableContract" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.sfqyslht')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in feedontractList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -52,27 +58,31 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="启用饲料锁定牛头数:" prop="isLockCount">
|
|
|
- <el-select v-model="createTemp.isLockCount" :disabled="isRoleEdit==false" filterable placeholder="启用饲料锁定牛头数" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.qyslsdnts')" prop="isLockCount">
|
|
|
+ <el-select v-model="createTemp.isLockCount" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.qyslsdnts')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in isLockBullsList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="车辆载重超出重量提醒比例(%):" prop="remainOptRate">
|
|
|
- <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item" placeholder="剩料分配占比原混料" type="text" />
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.clzzcszltxbl')" prop="remainOptRate">
|
|
|
+ <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('defaultParameter.clzzcszltxbl')" type="text" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="车辆载重超出重量禁止比例(%):" prop="remainOptRate">
|
|
|
- <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item" placeholder="剩料分配占比原混料" type="text" />
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.clzdzczlzzbl')" prop="remainOptRate">
|
|
|
+ <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('defaultParameter.clzdzczlzzbl')" type="text" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="是否启用补料:" prop="isEnableSupplyFeed">
|
|
|
- <el-select v-model="createTemp.isEnableSupplyFeed" :disabled="isRoleEdit==false" filterable placeholder="是否启用补料" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.sfqybl')" prop="isEnableSupplyFeed">
|
|
|
+ <el-select v-model="createTemp.isEnableSupplyFeed" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.sfqybl')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in isSupplementList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -80,15 +90,17 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="是否启用剩料:" prop="isEnableRemainFeed">
|
|
|
- <el-select v-model="createTemp.isEnableRemainFeed" :disabled="isRoleEdit==false" filterable placeholder="是否启用剩料" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.sfqysl')" prop="isEnableRemainFeed">
|
|
|
+ <el-select v-model="createTemp.isEnableRemainFeed" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.sfqysl')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in isLeftoverMaterialList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="剩料处理选项:" prop="remainOpt">
|
|
|
- <el-select v-model="createTemp.remainOpt" :disabled="isRoleEdit==false" filterable placeholder="剩料处理选项" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.slclxx')" prop="remainOpt">
|
|
|
+ <el-select v-model="createTemp.remainOpt" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.slclxx')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in disposalList" :key="item.id" :label="item.fname" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -96,29 +108,33 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="剩料分配方式:" prop="remainOptDis">
|
|
|
- <el-select v-model="createTemp.remainOptDis" :disabled="isRoleEdit==false" filterable placeholder="剩料分配方式" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.slfbfs')" prop="remainOptDis">
|
|
|
+ <el-select v-model="createTemp.remainOptDis" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.slfbfs')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in leftoverMaterialList" :key="item.id" :label="item.name" :value="item.name" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="剩料分配占比原料(%):" prop="remainOptRate">
|
|
|
- <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item" placeholder="剩料分配占比原混料" type="text" />
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.slfbzbyl')" prop="remainOptRate">
|
|
|
+ <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('defaultParameter.slfbzbyl')" type="text" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="小料是否称量:" prop="isSmallMaterial">
|
|
|
- <el-select v-model="createTemp.isSmallMaterial" :disabled="isRoleEdit==false" filterable placeholder="小料是否称量" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.xlsfcz')" prop="isSmallMaterial">
|
|
|
+ <el-select v-model="createTemp.isSmallMaterial" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.xlsfcz')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in smallMaterialList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="是否启用数据同步:" prop="isDataSync">
|
|
|
- <el-select v-model="createTemp.isDataSync" :disabled="isRoleEdit==false" filterable placeholder="是否启用数据同步" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.sfqysjtb')" prop="isDataSync">
|
|
|
+ <el-select v-model="createTemp.isDataSync" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.sfqysjtb')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in dataSynchronizationList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -127,16 +143,19 @@
|
|
|
<el-row>
|
|
|
<!-- <el-col :span="12">
|
|
|
<el-form-item label="设备运转标准时间(分钟):" prop="remainOptRate">
|
|
|
- <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item" placeholder="剩料分配占比原混料" type="text" />
|
|
|
+ <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item"
|
|
|
+:placeholder="$t('defaultParameter.slfpzb')" type="text" />
|
|
|
</el-form-item>
|
|
|
</el-col> -->
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="任意车数量:" prop="anyCar">
|
|
|
- <el-input ref="anyCar" v-model="createTemp.anyCar" :disabled="isRoleEdit==false" class="filter-item" placeholder="任意车数量" type="text" />
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.rycsl')" prop="anyCar">
|
|
|
+ <el-input ref="anyCar" v-model="createTemp.anyCar" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('defaultParameter.rycsl')" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="混料准确率:" prop="accuracy">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.hlzql')" prop="accuracy">
|
|
|
<el-select v-model="createTemp.accuracy" :disabled="isRoleEdit==false" filterable :placeholder="$t('processAnalysis.hlzq')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in accuracyList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
@@ -146,37 +165,44 @@
|
|
|
<el-row>
|
|
|
<!-- <el-col :span="12">
|
|
|
<el-form-item label="设备运转标准时间(分钟):" prop="remainOptRate">
|
|
|
- <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item" placeholder="剩料分配占比原混料" type="text" />
|
|
|
+ <el-input ref="remainOptRate" v-model="createTemp.remainOptRate" :disabled="isRoleEdit==false" class="filter-item"
|
|
|
+:placeholder="$t('defaultParameter.slfpzb')" type="text" />
|
|
|
</el-form-item>
|
|
|
</el-col> -->
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="允许撒料时间误差(分钟):" prop="sprinkleFeedTimeAllow">
|
|
|
- <el-input ref="sprinkleFeedTimeAllow" v-model="createTemp.sprinkleFeedTimeAllow" :disabled="isRoleEdit==false" class="filter-item" placeholder="允许撒料时间误差" type="text" />
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.yxslsjwc')" prop="sprinkleFeedTimeAllow">
|
|
|
+ <el-input ref="sprinkleFeedTimeAllow" v-model="createTemp.sprinkleFeedTimeAllow" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('defaultParameter.yxslsjwc')" type="text" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="集团端域名或IP:" prop="domain">
|
|
|
- <el-input ref="domain" v-model="createTemp.domain" :disabled="isRoleEdit==false" class="filter-item" placeholder="集团端域名或IP" type="text" />
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.jtymip')" prop="domain">
|
|
|
+ <el-input ref="domain" v-model="createTemp.domain" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('defaultParameter.jtymip')" type="text" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="tmr容量上限(%):" prop="tmrUpper">
|
|
|
- <el-input ref="tmrUpper" v-model="createTemp.tmrUpper" :disabled="isRoleEdit==false" class="filter-item" placeholder="tmr容量上限(%)" type="number" />
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.tmrrl')" prop="tmrUpper">
|
|
|
+ <el-input ref="tmrUpper" v-model="createTemp.tmrUpper" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('defaultParameter.tmrrl')" type="number" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="tmr容量下限(%):" prop="tmrUnder">
|
|
|
- <el-input ref="tmrUnder" v-model="createTemp.tmrUnder" :disabled="isRoleEdit==false" class="filter-item" placeholder="tmr容量下限(%)" type="number" />
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.tmrrl1')" prop="tmrUnder">
|
|
|
+ <el-input ref="tmrUnder" v-model="createTemp.tmrUnder" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('defaultParameter.tmrrl1')" type="number" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="预混料允许误差:" prop="yhfeedtemplet">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.yhlyxwc')" prop="yhfeedtemplet">
|
|
|
<el-input ref="yhfeedtemplet" v-model="createTemp.yhfeedtemplet" :disabled="isRoleEdit==false" class="filter-item" placeholder="kg" type="number" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="预混跳转延时:" prop="yhautosecond">
|
|
|
- <el-select v-model="createTemp.yhautosecond" :disabled="isRoleEdit==false" filterable placeholder="预混跳转延时" class="filter-item" style="width:100%">
|
|
|
+ <el-form-item
|
|
|
+:label="$t('defaultParameter.yhtzys')" prop="yhautosecond">
|
|
|
+ <el-select v-model="createTemp.yhautosecond" :disabled="isRoleEdit==false" filterable :placeholder="$t('defaultParameter.yhtzys')" class="filter-item" style="width:100%">
|
|
|
<el-option v-for="item in yhautosecondList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -185,43 +211,43 @@
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer" style="bottom: 10px;">
|
|
|
<el-button v-if="isRoleEdit" class="save" :disabled="isokDisable" @click="handleSave">{{$t('formulationEvaluation.save')}}</el-button>
|
|
|
- <el-button v-if="isRoleEdit" class="warning" :disabled="isokDisable" @click="handleRecovery">恢复默认</el-button>
|
|
|
+ <el-button v-if="isRoleEdit" class="warning" :disabled="isokDisable" @click="handleRecovery">{{$t('defaultParameter.hfmr')}}</el-button>
|
|
|
</div>
|
|
|
|
|
|
<el-dialog :title="textMap[description.dialogStatus]" :destroy-on-close="true" :visible.sync="description.dialogFormVisible" :close-on-click-modal="false" width="70%">
|
|
|
<div class="app-description dialogMinHeight">
|
|
|
<div class="content">
|
|
|
- 1、是否可取前一天计划:若选择是,代表在当天过了凌晨12点仍可以取到昨天的料。
|
|
|
+ {{$t('defaultParameter.msg1')}}
|
|
|
<br>
|
|
|
- 2、是否可取后一天计划:若当天做完全部的料需要预备第二天的料的时候可以选择是。
|
|
|
+ {{$t('defaultParameter.msg2')}}
|
|
|
<br>
|
|
|
- 3、班次数量:控制栏舍配方,计划等页面班次数量。
|
|
|
+ {{$t('defaultParameter.msg3')}}
|
|
|
<br>
|
|
|
- 4、重量小数点位数:控制栏舍配方、撒料计划等页面重量小数位数。
|
|
|
+ {{$t('defaultParameter.msg4')}}
|
|
|
<br>
|
|
|
- 5、是否启用饲料合同:若选择是,则开启库存管理中饲料合同页面。
|
|
|
+ {{$t('defaultParameter.msg5')}}
|
|
|
<br>
|
|
|
- 6、启用饲料锁定牛头数:开启后则配方模板中饲料表显示此字段。
|
|
|
+ {{$t('defaultParameter.msg6')}}
|
|
|
<br>
|
|
|
- 7、车辆载重超出重量提醒比例:撒料计划中车次分配栏舍重量,当分配的合计重量超出车辆最大重量*此比例时,进行提示。限制输入正整数。
|
|
|
+ {{$t('defaultParameter.msg7')}}
|
|
|
<br>
|
|
|
- 8、车辆载重超出重量禁止比例:撒料计划中车次分配栏舍重量,当分配的合计重量超出车辆最大重量*此比例时,禁止分配。限制输入正整数。
|
|
|
+ {{$t('defaultParameter.msg8')}}
|
|
|
<br>
|
|
|
- 9、是否启用补料:若选择是,则栏舍配方中启用此字段。
|
|
|
+ {{$t('defaultParameter.msg9')}}
|
|
|
<br>
|
|
|
- 10、是否启用剩料:若选择否则剩料计划不可用,剩料量不影响原计划。
|
|
|
+ {{$t('defaultParameter.msg10')}}
|
|
|
<br>
|
|
|
- 11、剩料处理选项:①若选择转为饲料,按饲料配方整体替换扣减;②如果选择替换某饲料,则此剩料替换待饲喂中的对应饲料量,扣完为止;③不处理:不做剩料计算处理。
|
|
|
+ {{$t('defaultParameter.msg11')}}
|
|
|
<br>
|
|
|
- 12、剩料分配方式:①顶额分配:按栏舍原撒料量的百分比进行计算,剩料分配为此值,依次计算分配满栏舍,若剩料量未分配完,则剩余剩料不计入内;
|
|
|
+ {{$t('defaultParameter.msg12')}}
|
|
|
<br>
|
|
|
- ②平均分配,按收集的总剩料量平均分配值,若分配值超出栏舍原料量的百分比,剩余值累加到未分配满的栏舍中,最终剩余剩料不计入内。
|
|
|
+ {{$t('defaultParameter.msg121')}}
|
|
|
<br>
|
|
|
- 13、剩料分配占比原料:剩料应分配量不超出此比例计算出的值,与剩料分配方式关联使用。限制输入正整数。
|
|
|
+ {{$t('defaultParameter.msg13')}}
|
|
|
<br>
|
|
|
- 14、小料是否称量:若选择是,则饲料表中饲料可选小料称,撒料计划中可设置是否提前称量。
|
|
|
+ {{$t('defaultParameter.msg14')}}
|
|
|
<br>
|
|
|
- 15、是否启用数据同步:启用后日执行页面开启数据同步按钮,用于与第三方系统数据对接。
|
|
|
+ {{$t('defaultParameter.msg15')}}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
@@ -241,29 +267,54 @@ export default {
|
|
|
return {
|
|
|
isRoleEdit: [],
|
|
|
planBeforeDayList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 是否可取前一天计划
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.no') }], // 是否可取前一天计划
|
|
|
planNextDayList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 是否可取后一天计划
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.no') }], // 是否可取后一天计划
|
|
|
isSupplementList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 是否启用补料
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.no') }], // 是否启用补料
|
|
|
isLeftoverMaterialList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 是否启用剩料
|
|
|
- decimalPlacesList: [{ id: '0', name: '整数' }, { id: '1', name: '一位小数' }, { id: '2', name: '两位小数' }, { id: '3', name: '三位小数' }], // 日计划报表小数点位数
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.no') }], // 是否启用剩料
|
|
|
+ decimalPlacesList: [{ id: '0',
|
|
|
+name:this.$t('supplier.zs') }, { id: '1',
|
|
|
+name:this.$t('supplier.xs1') }, { id: '2',
|
|
|
+name:this.$t('supplier.xs2') }, { id: '3',
|
|
|
+name:this.$t('supplier.xs3') }], // 日计划报表小数点位数
|
|
|
isLockBullsList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 启用饲料锁定牛头数
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.no') }], // 启用饲料锁定牛头数
|
|
|
disposalList: [], // 剩料处理选项
|
|
|
numberList: [{ id: '0', name: '1' }, { id: '1', name: '2' }, { id: '2', name: '3' }, { id: '3', name: '4' },{ id: '4', name: '5' },{ id: '5', name: '6' }], // 班次数量
|
|
|
feedontractList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 是否启用饲料合同
|
|
|
- leftoverMaterialList: [{ id: '0', name: '顶额分配' }, { id: '1', name: '剩料分配' }],
|
|
|
- weightDecimalPlacesList: [{ id: '0', name: '整数' }, { id: '1', name: '一位小数' }, { id: '2', name: '两位小数' }, { id: '3', name: '三位小数' }, { id: '4', name: '四位小数' }], // 重量小数点位数
|
|
|
- rateDecimalPlacesList: [{ id: '0', name: '整数' }, { id: '1', name: '一位小数' }, { id: '2', name: '两位小数' }],//比例小数点位数
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.no') }], // 是否启用饲料合同
|
|
|
+ leftoverMaterialList: [{ id: '0',
|
|
|
+name:this.$t('supplier.defb') }, { id: '1',
|
|
|
+name:this.$t('supplier.slfb') }],
|
|
|
+ weightDecimalPlacesList: [{ id: '0',
|
|
|
+name:this.$t('supplier.zs') }, { id: '1',
|
|
|
+name:this.$t('supplier.xs1') }, { id: '2',
|
|
|
+name:this.$t('supplier.xs2') }, { id: '3',
|
|
|
+name:this.$t('supplier.xs3') }, { id: '4',
|
|
|
+name:this.$t('supplier.xs4') }], // 重量小数点位数
|
|
|
+ rateDecimalPlacesList: [{ id: '0',
|
|
|
+name:this.$t('supplier.zs') }, { id: '1',
|
|
|
+name:this.$t('supplier.xs1') }, { id: '2',
|
|
|
+name:this.$t('supplier.xs2') }],//比例小数点位数
|
|
|
smallMaterialList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 小料是否称量
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.no') }], // 小料是否称量
|
|
|
dataSynchronizationList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 是否启用数据同步
|
|
|
- accuracyList: [{ id: '1', name: '排除允许误差准确率' }, { id: '0', name: '不排除允许误差准确率' }], //混料准确率
|
|
|
- yhautosecondList:[{ id: '1', name: '禁用' }, { id: '2', name: '3秒' }, { id: '3', name: '6秒' }, { id: '4', name: '9秒' }], //预混跳转延时
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.no') }], // 是否启用数据同步
|
|
|
+ accuracyList: [{ id: '1',
|
|
|
+name:this.$t('supplier.pfyxwczql') }, { id: '0',
|
|
|
+name:this.$t('supplier.pfyxwczql1') }], //混料准确率
|
|
|
+ yhautosecondList:[{ id: '1',
|
|
|
+name:this.$t('supplier.jy') }, { id: '2', name: '3秒' }, { id: '3', name: '6秒' }, { id: '4', name: '9秒' }], //预混跳转延时
|
|
|
requestParams: [
|
|
|
{ name: 'getRemainFeedList', offset: 0, pagecount: 0, parammaps: { pastureid: Cookies.get('pastureid') }}
|
|
|
],
|
|
@@ -286,7 +337,8 @@ name:this.$t('supplier.yes')}, { id: '0', name: '否' }], // 是否启用数据
|
|
|
dialogStatus: ''
|
|
|
},
|
|
|
textMap: {
|
|
|
- description: '参数说明'
|
|
|
+
|
|
|
+description:this.$t('supplier.cssm')
|
|
|
},
|
|
|
isokDisable: false,
|
|
|
requestParam: {}
|