|
@@ -143,7 +143,7 @@
|
|
|
<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"
|
|
|
+ <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> -->
|
|
@@ -165,7 +165,7 @@
|
|
|
<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"
|
|
|
+ <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> -->
|
|
@@ -267,53 +267,53 @@ export default {
|
|
|
return {
|
|
|
isRoleEdit: [],
|
|
|
planBeforeDayList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
name:this.$t('supplier.no') }], // 是否可取前一天计划
|
|
|
planNextDayList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
name:this.$t('supplier.no') }], // 是否可取后一天计划
|
|
|
isSupplementList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
name:this.$t('supplier.no') }], // 是否启用补料
|
|
|
isLeftoverMaterialList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+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',
|
|
|
+ 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: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:this.$t('supplier.yes')}, { id: '0',
|
|
|
name:this.$t('supplier.no') }], // 是否启用饲料合同
|
|
|
- leftoverMaterialList: [{ id: '0',
|
|
|
-name:this.$t('supplier.defb') }, { id: '1',
|
|
|
+ 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',
|
|
|
+ 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',
|
|
|
+ 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:this.$t('supplier.yes')}, { id: '0',
|
|
|
name:this.$t('supplier.no') }], // 小料是否称量
|
|
|
dataSynchronizationList: [{ id: '1',
|
|
|
-name:this.$t('supplier.yes')}, { id: '0',
|
|
|
+name:this.$t('supplier.yes')}, { id: '0',
|
|
|
name:this.$t('supplier.no') }], // 是否启用数据同步
|
|
|
- accuracyList: [{ id: '1',
|
|
|
-name:this.$t('supplier.pfyxwczql') }, { id: '0',
|
|
|
+ accuracyList: [{ id: '1',
|
|
|
+name:this.$t('supplier.pfyxwczql') }, { id: '0',
|
|
|
name:this.$t('supplier.pfyxwczql1') }], //混料准确率
|
|
|
- yhautosecondList:[{ id: '1',
|
|
|
+ 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') }}
|
|
@@ -337,7 +337,7 @@ name:this.$t('supplier.jy') }, { id: '2', name: '3秒' }, { id: '3', name: '6秒
|
|
|
dialogStatus: ''
|
|
|
},
|
|
|
textMap: {
|
|
|
-
|
|
|
+
|
|
|
description:this.$t('supplier.cssm')
|
|
|
},
|
|
|
isokDisable: false,
|
|
@@ -383,7 +383,7 @@ description:this.$t('supplier.cssm')
|
|
|
this.isokDisable = false
|
|
|
}, 1000)
|
|
|
if(this.createTemp.anyCar == '' || this.createTemp.anyCar == 0){
|
|
|
- this.$message({ type: 'error', message: '任意车数量不能为空或为0', duration: 2000 })
|
|
|
+ this.$message({ type: 'error', message: this.$t('message.msg269'), duration: 2000 })
|
|
|
}
|
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
|
this.requestParam.data = []
|