|
@@ -2,10 +2,10 @@
|
|
<div class="app-container">
|
|
<div class="app-container">
|
|
<div class="search" ref="search">
|
|
<div class="search" ref="search">
|
|
<el-input v-model="table.getdataListParm.parammaps.fname":placeholder="$t('InventoryManagement.silc')" style="width: 130px;" class="filter-item" clearable />
|
|
<el-input v-model="table.getdataListParm.parammaps.fname":placeholder="$t('InventoryManagement.silc')" style="width: 130px;" class="filter-item" clearable />
|
|
- <el-select v-model="table.getdataListParm.parammaps.fclassid" filterable placeholder="饲料类别" class="filter-item" style="width: 150px;" clearable>
|
|
|
|
|
|
+ <el-select v-model="table.getdataListParm.parammaps.fclassid" filterable :placeholder="$t('feedChart.sllb')" class="filter-item" style="width: 150px;" clearable>
|
|
<el-option v-for="item in feedTypeList" :key="item.id" :label="item.mixname" :value="item.id" />
|
|
<el-option v-for="item in feedTypeList" :key="item.id" :label="item.mixname" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
- <el-select v-model="table.getdataListParm.parammaps.source" filterable placeholder="饲料来源" class="filter-item" style="width: 120px;" clearable>
|
|
|
|
|
|
+ <el-select v-model="table.getdataListParm.parammaps.source" filterable :placeholder="$t('feedChart.slly')" class="filter-item" style="width: 120px;" clearable>
|
|
<el-option v-for="item in feedSourcesList" :key="item.id" :label="item.name" :value="item.id" />
|
|
<el-option v-for="item in feedSourcesList" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
<el-select v-model="table.getdataListParm.parammaps.enable" filterable :placeholder="$t('formulationEvaluation.sfqy')" class="filter-item" style="width: 120px;" clearable>
|
|
<el-select v-model="table.getdataListParm.parammaps.enable" filterable :placeholder="$t('formulationEvaluation.sfqy')" class="filter-item" style="width: 120px;" clearable>
|
|
@@ -37,16 +37,16 @@
|
|
</div>
|
|
</div>
|
|
<div class="operation" ref="operation">
|
|
<div class="operation" ref="operation">
|
|
<el-button v-if="isRoleEdit" class="success" icon="el-icon-plus" @click="handleCreate">{{$t('formulationEvaluation.add')}}</el-button>
|
|
<el-button v-if="isRoleEdit" class="success" icon="el-icon-plus" @click="handleCreate">{{$t('formulationEvaluation.add')}}</el-button>
|
|
- <el-button v-if="isRoleEdit" class="success" icon="el-icon-plus" @click="handleSet">设置</el-button>
|
|
|
|
|
|
+ <el-button v-if="isRoleEdit" class="success" icon="el-icon-plus" @click="handleSet">{{$t('feedChart.sz')}}</el-button>
|
|
<el-button v-if="isRoleEdit" class="success" icon="el-icon-plus" @click="handleGetSapCode">{{$t('driver.hqspanccode')}}</el-button>
|
|
<el-button v-if="isRoleEdit" class="success" icon="el-icon-plus" @click="handleGetSapCode">{{$t('driver.hqspanccode')}}</el-button>
|
|
<el-button v-if="isRoleEdit" class="danger" icon="el-icon-delete" @click="form_delete">{{$t('formulationEvaluation.del')}}</el-button>
|
|
<el-button v-if="isRoleEdit" class="danger" icon="el-icon-delete" @click="form_delete">{{$t('formulationEvaluation.del')}}</el-button>
|
|
- <el-button class="success" icon="el-icon-receiving" @click="handleFeedBank">{{$t('formulationEvaluation.feed')}}库</el-button>
|
|
|
|
|
|
+ <el-button class="success" icon="el-icon-receiving" @click="handleFeedBank">{{$t('feedChart.slk')}}</el-button>
|
|
<el-button v-if="isOrder && isRoleEdit" icon="el-icon-sort" class="success" @click="handleChangeOrder">{{$t('formulationEvaluation.ggsx')}}</el-button>
|
|
<el-button v-if="isOrder && isRoleEdit" icon="el-icon-sort" class="success" @click="handleChangeOrder">{{$t('formulationEvaluation.ggsx')}}</el-button>
|
|
<div v-else style="display: inline-block;">
|
|
<div v-else style="display: inline-block;">
|
|
<el-button v-if="isRoleEdit" icon="el-icon-folder-checked" class="success" @click="saveChangeOrder">{{$t('formulationEvaluation.save')}}</el-button>
|
|
<el-button v-if="isRoleEdit" icon="el-icon-folder-checked" class="success" @click="saveChangeOrder">{{$t('formulationEvaluation.save')}}</el-button>
|
|
<el-button v-if="isRoleEdit" icon="el-icon-close" class="sortCancel" @click="cancelChangeOrder">{{$t('formulationEvaluation.cancel')}}</el-button>
|
|
<el-button v-if="isRoleEdit" icon="el-icon-close" class="sortCancel" @click="cancelChangeOrder">{{$t('formulationEvaluation.cancel')}}</el-button>
|
|
</div>
|
|
</div>
|
|
- <el-button v-if="isRoleEdit && ispalyUd" class="success" icon="el-icon-plus" @click="handleGetUd">获取UD饲料</el-button>
|
|
|
|
|
|
+ <el-button v-if="isRoleEdit && ispalyUd" class="success" icon="el-icon-plus" @click="handleGetUd">{{$t('feedChart.hqudsl')}}</el-button>
|
|
<el-upload style="float: right;" :headers="headers" :data="uploadData" :action="uploadExcelUrl" :show-file-list="false" :before-upload="beforeImport" :on-success="handleImportSuccess">
|
|
<el-upload style="float: right;" :headers="headers" :data="uploadData" :action="uploadExcelUrl" :show-file-list="false" :before-upload="beforeImport" :on-success="handleImportSuccess">
|
|
<el-button v-if="isRoleEdit" class="import" icon="el-icon-download" style="float: right;">{{$t('formulationEvaluation.enter')}}</el-button>
|
|
<el-button v-if="isRoleEdit" class="import" icon="el-icon-download" style="float: right;">{{$t('formulationEvaluation.enter')}}</el-button>
|
|
</el-upload>
|
|
</el-upload>
|
|
@@ -84,30 +84,30 @@
|
|
<u-table-column :label="$t('formulationEvaluation.xh')" type="index" align="center" width="50" fixed="left"/>
|
|
<u-table-column :label="$t('formulationEvaluation.xh')" type="index" align="center" width="50" fixed="left"/>
|
|
<u-table-column :label="$t('InventoryManagement.silc')" min-width="80px" align="center" prop="fname" fixed="left"/>
|
|
<u-table-column :label="$t('InventoryManagement.silc')" min-width="80px" align="center" prop="fname" fixed="left"/>
|
|
<u-table-column :label="$t('feedChart.slflmc')" min-width="80px" align="center" prop="fclass" fixed="left"/>
|
|
<u-table-column :label="$t('feedChart.slflmc')" min-width="80px" align="center" prop="fclass" fixed="left"/>
|
|
- <u-table-column label="物料类型" min-width="90px" align="center" prop="sapMaterialtypeName" />
|
|
|
|
|
|
+ <u-table-column :label="$t('feedChart.wllx')" min-width="90px" align="center" prop="sapMaterialtypeName" />
|
|
<!-- <u-table-column label="SAP货位" min-width="90px" align="center" prop="goods" /> -->
|
|
<!-- <u-table-column label="SAP货位" min-width="90px" align="center" prop="goods" /> -->
|
|
- <u-table-column label="唯一编码" min-width="80px" align="center" prop="feedcode" />
|
|
|
|
|
|
+ <u-table-column :label="$t('feedChart.wybm')" min-width="80px" align="center" prop="feedcode" />
|
|
<u-table-column :label="$t('driver.udname')" min-width="80px" align="center" prop="udname" />
|
|
<u-table-column :label="$t('driver.udname')" min-width="80px" align="center" prop="udname" />
|
|
<!-- <u-table-column label="SAP编码" min-width="90px" align="center" prop="sapCode" /> -->
|
|
<!-- <u-table-column label="SAP编码" min-width="90px" align="center" prop="sapCode" /> -->
|
|
- <u-table-column label="饲料来源" min-width="80px" align="center" prop="source" />
|
|
|
|
|
|
+ <u-table-column :label="$t('feedChart.slly')" min-width="80px" align="center" prop="source" />
|
|
<u-table-column :label="$t('dailyExecutionPlan.jhlx')" min-width="80px" align="center" prop="printgroup" />
|
|
<u-table-column :label="$t('dailyExecutionPlan.jhlx')" min-width="80px" align="center" prop="printgroup" />
|
|
- <u-table-column v-if="isInforvalue" label="小料秤" min-width="90px" align="center" prop="smtmrname" />
|
|
|
|
- <u-table-column label="允许误差数(kg)" min-width="80px" align="center" prop="allowratio" />
|
|
|
|
- <u-table-column label="包装单位重量(kg)" min-width="80px" align="center" prop="unitweight" />
|
|
|
|
- <u-table-column label="单价" min-width="80px" align="center" prop="uprice" />
|
|
|
|
- <u-table-column :label="$t('formulationEvaluation.tzzly')"" min-width="80px" align="center" prop="autozone" />
|
|
|
|
|
|
+ <u-table-column v-if="isInforvalue" :label="$t('feedChart.xkc')" min-width="90px" align="center" prop="smtmrname" />
|
|
|
|
+ <u-table-column :label="$t('feedChart.yxwcs')" min-width="80px" align="center" prop="allowratio" />
|
|
|
|
+ <u-table-column :label="$t('feedChart.bzdwzl')" min-width="80px" align="center" prop="unitweight" />
|
|
|
|
+ <u-table-column :label="$t('feedChart.dj')" min-width="80px" align="center" prop="uprice" />
|
|
|
|
+ <u-table-column :label="$t('formulationEvaluation.tzzly')"min-width="80px" align="center" prop="autozone" />
|
|
<u-table-column :label="$t('driver.tzys1')" min-width="80px" align="center" prop="autosecondname" />
|
|
<u-table-column :label="$t('driver.tzys1')" min-width="80px" align="center" prop="autosecondname" />
|
|
<u-table-column :label="$t('driver.qrks')" min-width="80px" align="center" prop="confirmstartname" />
|
|
<u-table-column :label="$t('driver.qrks')" min-width="80px" align="center" prop="confirmstartname" />
|
|
- <u-table-column label="继电器位置" min-width="80px" align="center" prop="trgaddress" />
|
|
|
|
- <u-table-column label="无上域" min-width="60px" align="center">
|
|
|
|
|
|
+ <u-table-column :label="$t('feedChart.jdq')" min-width="80px" align="center" prop="trgaddress" />
|
|
|
|
+ <u-table-column :label="$t('feedChart.wsy')" min-width="60px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span v-if="scope.row.jmp == 0">否</span>
|
|
|
|
- <span v-else>是</span>
|
|
|
|
|
|
+ <span v-if="scope.row.jmp == 0">{{$t('feedChart.no')}}</span>
|
|
|
|
+ <span v-else>{{$t('feedChart.yes')}}</span>
|
|
</template>
|
|
</template>
|
|
</u-table-column>
|
|
</u-table-column>
|
|
- <u-table-column label="备用字段01" min-width="90px" align="center" prop="backup1" />
|
|
|
|
- <u-table-column label="备用字段02" min-width="90px" align="center" prop="backup2" />
|
|
|
|
- <u-table-column label="备用字段03" min-width="90px" align="center" prop="backup3" />
|
|
|
|
|
|
+ <u-table-column :label="$t('feedChart.byzd1')" min-width="90px" align="center" prop="backup1" />
|
|
|
|
+ <u-table-column :label="$t('feedChart.byzd2')" min-width="90px" align="center" prop="backup2" />
|
|
|
|
+ <u-table-column :label="$t('feedChart.byzd3')" min-width="90px" align="center" prop="backup3" />
|
|
<u-table-column :label="$t('formulationEvaluation.sfqy')" min-width="80px" align="center">
|
|
<u-table-column :label="$t('formulationEvaluation.sfqy')" min-width="80px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-switch v-model="scope.row.enable" disabled active-color="#13ce66" inactive-color="#ff4949" :active-value="1" :inactive-value="0" />
|
|
<el-switch v-model="scope.row.enable" disabled active-color="#13ce66" inactive-color="#ff4949" :active-value="1" :inactive-value="0" />
|
|
@@ -115,9 +115,9 @@
|
|
</u-table-column>
|
|
</u-table-column>
|
|
<u-table-column :label="$t('errorAnalysis.cz')" align="center" width="180" class-name="small-padding fixed-width" fixed="right">
|
|
<u-table-column :label="$t('errorAnalysis.cz')" align="center" width="180" class-name="small-padding fixed-width" fixed="right">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
- <a class="correcting" @click="handleNutritive (row)">营养价值</a>
|
|
|
|
|
|
+ <a class="correcting" @click="handleNutritive (row)">{{$t('feedChart.yyjz')}}</a>
|
|
<span class="centerSpan">|</span>
|
|
<span class="centerSpan">|</span>
|
|
- <a v-if="isRoleEdit" class="correcting" @click="handleRelation(row)">关联</a>
|
|
|
|
|
|
+ <a v-if="isRoleEdit" class="correcting" @click="handleRelation(row)">{{$t('feedChart.gl')}}</a>
|
|
<span v-if="isRoleEdit" class="centerSpan">|</span>
|
|
<span v-if="isRoleEdit" class="centerSpan">|</span>
|
|
<el-button v-if="isRoleEdit" icon="el-icon-edit-outline" class="miniSuccess" @click="handleUpdate(row)" />
|
|
<el-button v-if="isRoleEdit" icon="el-icon-edit-outline" class="miniSuccess" @click="handleUpdate(row)" />
|
|
<span v-if="isRoleEdit" class="centerSpan">|</span>
|
|
<span v-if="isRoleEdit" class="centerSpan">|</span>
|
|
@@ -149,71 +149,71 @@
|
|
<el-form ref="temp" :rules="create.rules" :model="create.temp" label-position="right" label-width="155px" style="width: 100%;margin:0 auto 50px">
|
|
<el-form ref="temp" :rules="create.rules" :model="create.temp" label-position="right" label-width="155px" style="width: 100%;margin:0 auto 50px">
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
- <h3 style="width: 160px;text-align: right;">基础信息</h3>
|
|
|
|
|
|
+ <h3 style="width: 160px;text-align: right;">{{$t('feedChart.jcxx')}}</h3>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="饲料名称:" prop="fname">
|
|
|
|
- <el-input ref="fname" v-model="create.temp.fname" class="filter-item" placeholder="请输入饲料名称" type="textarea" :autosize="{ minRows:1}" maxlength="32" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.slmc')" prop="fname">
|
|
|
|
+ <el-input ref="fname" v-model="create.temp.fname" class="filter-item" :placeholder="$t('feedChart.slmc')" type="textarea" :autosize="{ minRows:1}" maxlength="32" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="饲料类别:" prop="fclassid">
|
|
<el-form-item label="饲料类别:" prop="fclassid">
|
|
- <el-select v-model="create.temp.fclassid" filterable placeholder="饲料类别" class="filter-item" style="width: 100%;" @change="changeFeedList">
|
|
|
|
|
|
+ <el-select v-model="create.temp.fclassid" filterable :placeholder="$t('feedChart.sllb')" class="filter-item" style="width: 100%;" @change="changeFeedList">
|
|
<el-option v-for="item in feedTypeList" :key="item.id" :label="item.mixname" :value="item.id" />
|
|
<el-option v-for="item in feedTypeList" :key="item.id" :label="item.mixname" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="唯一编码:" prop="feedcode">
|
|
|
|
- <el-input ref="feedcode" v-model="create.temp.feedcode" class="filter-item" placeholder="请输入唯一编码" type="text" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.wybm')" prop="feedcode">
|
|
|
|
+ <el-input ref="feedcode" v-model="create.temp.feedcode" class="filter-item" :placeholder="$t('feedChart.wybm')" type="text" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="饲料来源:" prop="source">
|
|
|
|
- <el-input ref="source" v-model="create.temp.source" class="filter-item" disabled placeholder="用户自定义" type="text" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.slly')" prop="source">
|
|
|
|
+ <el-input ref="source" v-model="create.temp.source" class="filter-item" disabled :placeholder="$t('feedChart.slly')" type="text" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="计划类型:" prop="printgroupid">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.jhlx')" prop="printgroupid">
|
|
<el-select v-model="create.temp.printgroupid" filterable
|
|
<el-select v-model="create.temp.printgroupid" filterable
|
|
-:placeholder="$t('processAnalysis.planType')"class="filter-item" style="width: 100%;" @change="changePlanList">
|
|
|
|
|
|
+ :placeholder="$t('processAnalysis.planType')" class="filter-item" style="width: 100%;" @change="changePlanList">
|
|
<el-option v-for="item in planTypeList" :key="item.value" :label="item.label" :value="item.value" />
|
|
<el-option v-for="item in planTypeList" :key="item.value" :label="item.label" :value="item.value" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="包装单位重量(kg):" prop="unitweight">
|
|
|
|
- <el-input ref="unitweight" v-model="create.temp.unitweight" class="filter-item" placeholder="正整数" type="number" style="width: 100%;" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.bzdwzl')" prop="unitweight">
|
|
|
|
+ <el-input ref="unitweight" v-model="create.temp.unitweight" class="filter-item" :placeholder="$t('feedChart.bzdwzl')" type="number" style="width: 100%;" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="单价:" prop="uprice">
|
|
|
|
- <el-input ref="uprice" v-model="create.temp.uprice" class="filter-item" placeholder="最多俩位小数" type="number" step="0.01" style="width: 100%;" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.dj')" prop="uprice">
|
|
|
|
+ <el-input ref="uprice" v-model="create.temp.uprice" class="filter-item" :placeholder="$t('feedChart.dj')" type="number" step="0.01" style="width: 100%;" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="物料类型:" prop="sapMaterialtype">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.wllx')" prop="sapMaterialtype">
|
|
<el-select v-model="create.temp.sapMaterialtype" filterable placeholder="物料类型" class="filter-item" style="width: 100%;">
|
|
<el-select v-model="create.temp.sapMaterialtype" filterable placeholder="物料类型" class="filter-item" style="width: 100%;">
|
|
<el-option v-for="item in materialtypeList" :key="item.id" :label="item.distName" :value="item.distCode" />
|
|
<el-option v-for="item in materialtypeList" :key="item.id" :label="item.distName" :value="item.distCode" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="SAP货位:" prop="sapGoods">
|
|
|
|
- <el-select v-model="create.temp.sapGoods" filterable placeholder="SAP货位" class="filter-item" style="width: 100%;">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.spalh')" prop="sapGoods">
|
|
|
|
+ <el-select v-model="create.temp.sapGoods" filterable :placeholder="$t('feedChart.spalh')" class="filter-item" style="width: 100%;">
|
|
<el-option v-for="item in sapGoodsList" :key="item.id" :label="item.distName" :value="item.distCode" />
|
|
<el-option v-for="item in sapGoodsList" :key="item.id" :label="item.distName" :value="item.distCode" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="SAP编码:" prop="sapCode">
|
|
|
|
- <el-input ref="sapCode" v-model="create.temp.sapCode" class="filter-item" disabled placeholder="SAP编码" type="text" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.spabm')" prop="sapCode">
|
|
|
|
+ <el-input ref="sapCode" v-model="create.temp.sapCode" class="filter-item" disabled :placeholder="$t('feedChart.spabm')" type="text" />
|
|
<!-- <el-select v-model="create.temp.sapcode" filterable placeholder="SAP编码" class="filter-item" style="width: 100%;">
|
|
<!-- <el-select v-model="create.temp.sapcode" filterable placeholder="SAP编码" class="filter-item" style="width: 100%;">
|
|
<el-option v-for="item in sapCodeList" :key="item.id" :label="item.mixname" :value="item.id" />
|
|
<el-option v-for="item in sapCodeList" :key="item.id" :label="item.mixname" :value="item.id" />
|
|
</el-select> -->
|
|
</el-select> -->
|
|
@@ -222,30 +222,30 @@
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
- <h3 style="width: 160px;text-align: right;">搅拌参数</h3>
|
|
|
|
|
|
+ <h3 style="width: 160px;text-align: right;">{{$t('feedChart.jbcs')}}</h3>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="允许误差数(kg):" prop="allowratio">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.yxwcs')" prop="allowratio">
|
|
<el-input ref="allowratio" v-model="create.temp.allowratio" class="filter-item" placeholder="正整数" type="text" />
|
|
<el-input ref="allowratio" v-model="create.temp.allowratio" class="filter-item" placeholder="正整数" type="text" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="跳转重量域(kg):" prop="autozone">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.tzzly')" prop="autozone">
|
|
<el-input ref="autozone" v-model="create.temp.autozone" :disabled="create.temp.autosecond=='0'" class="filter-item" placeholder="0-50之间的整数" type="text" />
|
|
<el-input ref="autozone" v-model="create.temp.autozone" :disabled="create.temp.autosecond=='0'" class="filter-item" placeholder="0-50之间的整数" type="text" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="跳转延时:" prop="autosecond">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.tzys')" prop="autosecond">
|
|
<el-select v-model="create.temp.autosecond" filterable :placeholder="$t('driver.tzys1')" class="filter-item" style="width: 100%;" @change="changeAutosecond">
|
|
<el-select v-model="create.temp.autosecond" filterable :placeholder="$t('driver.tzys1')" class="filter-item" style="width: 100%;" @change="changeAutosecond">
|
|
<el-option v-for="item in jumpDelayList" :key="item.value" :label="item.label" :value="item.value" />
|
|
<el-option v-for="item in jumpDelayList" :key="item.value" :label="item.label" :value="item.value" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="确认开始:" prop="confirmstart">
|
|
|
|
- <el-select v-model="create.temp.confirmstart" filterabler placeholde="确认开始" class="filter-item" style="width: 100%;" @change="changeConfirmstart">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.qrks')" prop="confirmstart">
|
|
|
|
+ <el-select v-model="create.temp.confirmstart" filterabler :placeholde="$t('feedChart.qrks')" class="filter-item" style="width: 100%;" @change="changeConfirmstart">
|
|
<el-option v-for="item in confirmStartList" :key="item.id" :label="item.name" :value="item.id" />
|
|
<el-option v-for="item in confirmStartList" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -253,27 +253,27 @@
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="是否启用:" prop="enable">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.sfqy')" prop="enable">
|
|
<el-select v-model="create.temp.enable" filterable :placeholder="$t('formulationEvaluation.sfqy')" class="filter-item" style="width: 100%;">
|
|
<el-select v-model="create.temp.enable" filterable :placeholder="$t('formulationEvaluation.sfqy')" class="filter-item" style="width: 100%;">
|
|
<el-option v-for="item in enableList" :key="item.id" :label="item.name" :value="item.id" />
|
|
<el-option v-for="item in enableList" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="继电器位置:" prop="trgaddress">
|
|
|
|
- <el-input ref="trgaddress" v-model="create.temp.trgaddress" class="filter-item" placeholder="继电器位置" type="number" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.jdq')" prop="trgaddress">
|
|
|
|
+ <el-input ref="trgaddress" v-model="create.temp.trgaddress" class="filter-item" :placeholder="$t('feedChart.jdq')" type="number" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col v-if="isInforvalue" :span="6">
|
|
<el-col v-if="isInforvalue" :span="6">
|
|
- <el-form-item label="小料秤:" prop="smtmrid">
|
|
|
|
- <el-select v-model="create.temp.smtmrid" filterable placeholder="小料秤" clearable class="filter-item" style="width: 100%;" @change="changeSmallMaterial">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.xkc')" prop="smtmrid">
|
|
|
|
+ <el-select v-model="create.temp.smtmrid" filterable :placeholder="$t('feedChart.xkc')" clearable class="filter-item" style="width: 100%;" @change="changeSmallMaterial">
|
|
<el-option v-for="item in smallMaterialList" :key="item.id" :label="item.tname" :value="item.id" />
|
|
<el-option v-for="item in smallMaterialList" :key="item.id" :label="item.tname" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="无上域:" prop="jmp">
|
|
|
|
- <el-select v-model="create.temp.jmp" placeholder="无上域" class="filter-item" style="width: 100%;" @change="changeSmallMaterial">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.wsy')" prop="jmp">
|
|
|
|
+ <el-select v-model="create.temp.jmp" :placeholder="$t('feedChart.wsy')" class="filter-item" style="width: 100%;" @change="changeSmallMaterial">
|
|
<el-option v-for="item in jmpList" :key="item.id" :label="item.name" :value="item.id" />
|
|
<el-option v-for="item in jmpList" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -281,22 +281,22 @@
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
<el-row>
|
|
<el-row>
|
|
- <h3 style="width: 160px;text-align: right;">备用字段</h3>
|
|
|
|
|
|
+ <h3 style="width: 160px;text-align: right;">{{$t('feedChart.byzd')}}</h3>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="备用字段01:" prop="backup1">
|
|
|
|
- <el-input ref="backup1" v-model="create.temp.backup1" class="filter-item" placeholder="备用字段01" type="text" onkeyup="value=value.replace(/[^\x00-\xff]/g, '')" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.byzd1')" prop="backup1">
|
|
|
|
+ <el-input ref="backup1" v-model="create.temp.backup1" class="filter-item" :placeholder="备用字段01" type="text" onkeyup="value=value.replace(/[^\x00-\xff]/g, '')" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="备用字段02:" prop="backup2">
|
|
|
|
- <el-input ref="backup2" v-model="create.temp.backup2" class="filter-item" placeholder="备用字段02" type="text" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.byzd2')" prop="backup2">
|
|
|
|
+ <el-input ref="backup2" v-model="create.temp.backup2" class="filter-item" :placeholder="$t('feedChart.byzd2')" type="text" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="备用字段03:" prop="backup3">
|
|
|
|
- <el-input ref="backup3" v-model="create.temp.backup3" class="filter-item" placeholder="备用字段03" type="text" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.byzd3')" prop="backup3">
|
|
|
|
+ <el-input ref="backup3" v-model="create.temp.backup3" class="filter-item" :placeholder="$t('feedChart.byzd3')" type="text" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -324,8 +324,8 @@
|
|
</template>
|
|
</template>
|
|
<div class="app-add">
|
|
<div class="app-add">
|
|
<div class="search">
|
|
<div class="search">
|
|
- <el-input v-model="feedBank.getdataListParm.parammaps.fname":placeholder="$t('InventoryManagement.silc')" style="width: 130px;" class="filter-item" clearable />
|
|
|
|
- <el-select v-model="feedBank.getdataListParm.parammaps.statue" filterabler placeholder="关联状态" class="filter-item" style="width: 120px;" clearable>
|
|
|
|
|
|
+ <el-input v-model="feedBank.getdataListParm.parammaps.fname" :placeholder="$t('InventoryManagement.silc')" style="width: 130px;" class="filter-item" clearable />
|
|
|
|
+ <el-select v-model="feedBank.getdataListParm.parammaps.statue" filterabler :placeholder="$t('formulationEvaluation.glzt')" class="filter-item" style="width: 120px;" clearable>
|
|
<el-option v-for="item in associationStatusList" :key="item.id" :label="item.name" :value="item.id" />
|
|
<el-option v-for="item in associationStatusList" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
<el-button class="successBorder" @click="handleFeedBankSearch">{{$t('common.query')}}</el-button>
|
|
<el-button class="successBorder" @click="handleFeedBankSearch">{{$t('common.query')}}</el-button>
|
|
@@ -351,7 +351,7 @@
|
|
<span>{{ scope.row.sources }}</span>
|
|
<span>{{ scope.row.sources }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="中国饲料号" min-width="70px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.zgslh')" min-width="70px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.feedcode }}</span>
|
|
<span>{{ scope.row.feedcode }}</span>
|
|
</template>
|
|
</template>
|
|
@@ -361,17 +361,17 @@
|
|
<span>{{ scope.row.fname }}</span>
|
|
<span>{{ scope.row.fname }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="价格" min-width="50px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.price')" min-width="50px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.price }}</span>
|
|
<span>{{ scope.row.price }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="样品说明" min-width="50px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.ypsm')" min-width="50px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.remark }}</span>
|
|
<span>{{ scope.row.remark }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="干物质(DM%)" min-width="65px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.wgz')" min-width="65px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.dry }}</span>
|
|
<span>{{ scope.row.dry }}</span>
|
|
</template>
|
|
</template>
|
|
@@ -381,22 +381,22 @@
|
|
<span>{{ scope.row.starch }}</span>
|
|
<span>{{ scope.row.starch }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="粗蛋白(CP%DM)" min-width="70px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.cdb')" min-width="70px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.cp }}</span>
|
|
<span>{{ scope.row.cp }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="钙(Ca%DM)" min-width="85px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.gai')" min-width="85px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.ca }}</span>
|
|
<span>{{ scope.row.ca }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="磷(P%DM)" min-width="85px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.lin')" min-width="85px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.p }}</span>
|
|
<span>{{ scope.row.p }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="产奶净能(%DM)" min-width="75px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.cnjn')" min-width="75px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.n }}</span>
|
|
<span>{{ scope.row.n }}</span>
|
|
</template>
|
|
</template>
|
|
@@ -421,20 +421,20 @@
|
|
<span>{{ scope.row.ndip }}</span>
|
|
<span>{{ scope.row.ndip }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="粗灰分(Ash%)" min-width="65px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.chf')" min-width="65px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.ash }}</span>
|
|
<span>{{ scope.row.ash }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="粗料" min-width="50px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.cl')" min-width="50px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.iscu }}</span>
|
|
<span>{{ scope.row.iscu }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="关联状态" min-width="50px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.glzt')" min-width="50px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span v-if="scope.row.statue==0">否</span>
|
|
|
|
- <span v-if="scope.row.statue==1">是</span>
|
|
|
|
|
|
+ <span v-if="scope.row.statue==0">{{$t('feedChart.no')}}</span>
|
|
|
|
+ <span v-if="scope.row.statue==1">{{$t('feedChart.yes')}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -484,7 +484,7 @@
|
|
<span>{{ scope.row.sources }}</span>
|
|
<span>{{ scope.row.sources }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="中国饲料号" min-width="80px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.zgslh')" min-width="80px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.feedcode }}</span>
|
|
<span>{{ scope.row.feedcode }}</span>
|
|
</template>
|
|
</template>
|
|
@@ -494,17 +494,17 @@
|
|
<span>{{ scope.row.fname }}</span>
|
|
<span>{{ scope.row.fname }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="价格" min-width="50px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.price')" min-width="50px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.price }}</span>
|
|
<span>{{ scope.row.price }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="样品说明" min-width="50px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.ypsm')" min-width="50px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.remark }}</span>
|
|
<span>{{ scope.row.remark }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="干物质(DM%)" min-width="65px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.wgz')" min-width="65px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.dry }}</span>
|
|
<span>{{ scope.row.dry }}</span>
|
|
</template>
|
|
</template>
|
|
@@ -514,22 +514,22 @@
|
|
<span>{{ scope.row.starch }}</span>
|
|
<span>{{ scope.row.starch }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="粗蛋白(CP%DM)" min-width="75px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.cdb')" min-width="75px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.cp }}</span>
|
|
<span>{{ scope.row.cp }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="钙(Ca%DM)" min-width="83px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.gai')" min-width="83px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.ca }}</span>
|
|
<span>{{ scope.row.ca }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="磷(P%DM)" min-width="80px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.lin')" min-width="80px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.p }}</span>
|
|
<span>{{ scope.row.p }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="产奶净能(%DM)" min-width="75px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.cnjn')" min-width="75px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.n }}</span>
|
|
<span>{{ scope.row.n }}</span>
|
|
</template>
|
|
</template>
|
|
@@ -554,20 +554,20 @@
|
|
<span>{{ scope.row.ndip }}</span>
|
|
<span>{{ scope.row.ndip }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="粗灰分(Ash%)" min-width="65px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.chf')" min-width="65px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.ash }}</span>
|
|
<span>{{ scope.row.ash }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="粗料" min-width="50px" align="center">
|
|
|
|
|
|
+ <el-table-column :label="$t('feedChart.cl')" min-width="50px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.iscu }}</span>
|
|
<span>{{ scope.row.iscu }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column :label="$t('errorAnalysis.cz')" min-width="50px" align="center" class-name="small-padding fixed-width" fixed="right">
|
|
<el-table-column :label="$t('errorAnalysis.cz')" min-width="50px" align="center" class-name="small-padding fixed-width" fixed="right">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
- <a v-if="row.statueRelation == '1'" class="correcting" :disabled="isokDisable" @click="disassociateData(row)">取消关联</a>
|
|
|
|
- <a v-if="row.statueRelation == '0'" class="correcting" :disabled="isokDisable" @click="relationData(row)">关联</a>
|
|
|
|
|
|
+ <a v-if="row.statueRelation == '1'" class="correcting" :disabled="isokDisable" @click="disassociateData(row)">{{$t('feedChart.qxgl')}}</a>
|
|
|
|
+ <a v-if="row.statueRelation == '0'" class="correcting" :disabled="isokDisable" @click="relationData(row)">{{$t('feedChart.gl')}}</a>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -595,62 +595,62 @@
|
|
<el-form ref="temp" :rules="nutritive.rules" :model="nutritive.temp" label-position="right" label-width="160px" style="width: 100%;margin:0 auto 50px">
|
|
<el-form ref="temp" :rules="nutritive.rules" :model="nutritive.temp" label-position="right" label-width="160px" style="width: 100%;margin:0 auto 50px">
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="干物质(DM%):" prop="dry">
|
|
|
|
- <el-input ref="dry" v-model="nutritive.temp.dry" :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入干物质" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.wgz')" prop="dry">
|
|
|
|
+ <el-input ref="dry" v-model="nutritive.temp.dry" :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('feedChart.wgz')" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="淀粉(%DM):" prop="starch">
|
|
|
|
- <el-input ref="starch" v-model="nutritive.temp.starch" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入淀粉" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.df')" prop="starch">
|
|
|
|
+ <el-input ref="starch" v-model="nutritive.temp.starch" v-limit :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('feedChart.df')" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="粗蛋白(CP%DM):" prop="cp">
|
|
|
|
- <el-input ref="cp" v-model="nutritive.temp.cp" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入粗蛋白" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.cdb')" prop="cp">
|
|
|
|
+ <el-input ref="cp" v-model="nutritive.temp.cp" v-limit :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('feedChart.cdb')" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="钙(Ca%DM):" prop="ca">
|
|
|
|
- <el-input ref="ca" v-model="nutritive.temp.ca" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入钙" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.gai')" prop="ca">
|
|
|
|
+ <el-input ref="ca" v-model="nutritive.temp.ca" v-limit :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('feedChart.gai')" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="磷(P%DM):" prop="p">
|
|
|
|
- <el-input ref="p" v-model="nutritive.temp.p" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入磷" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.lin')" prop="p">
|
|
|
|
+ <el-input ref="p" v-model="nutritive.temp.p" v-limit :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('feedChart.lin')" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="产奶净能(%DM):" prop="n">
|
|
|
|
- <el-input ref="n" v-model="nutritive.temp.n" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入产奶净能" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.cnjn')" prop="n">
|
|
|
|
+ <el-input ref="n" v-model="nutritive.temp.n" v-limit :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('feedChart.cnjn')" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="脂肪(%DM):" prop="fat">
|
|
|
|
- <el-input ref="fat" v-model="nutritive.temp.fat" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入脂肪" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.zf')" prop="fat">
|
|
|
|
+ <el-input ref="fat" v-model="nutritive.temp.fat" v-limit :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('feedChart.zf')" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="ADF(%DM):" prop="adf">
|
|
<el-form-item label="ADF(%DM):" prop="adf">
|
|
- <el-input ref="adf" v-model="nutritive.temp.adf" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入ADF" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-input ref="adf" v-model="nutritive.temp.adf" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="ADF" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="NDF(%DM):" prop="ndf">
|
|
<el-form-item label="NDF(%DM):" prop="ndf">
|
|
- <el-input ref="ndf" v-model="nutritive.temp.ndf" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入NDF" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-input ref="ndf" v-model="nutritive.temp.ndf" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="NDF" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="NDIP(%):" prop="ndip">
|
|
<el-form-item label="NDIP(%):" prop="ndip">
|
|
- <el-input ref="ndip" v-model="nutritive.temp.ndip" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入NDIP" type="number" step="0.01" />
|
|
|
|
|
|
+ <el-input ref="ndip" v-model="nutritive.temp.ndip" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="NDIP" type="number" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="粗灰分(Ash%):" prop="ash">
|
|
|
|
- <el-input ref="ash" v-model="nutritive.temp.ash" v-limit :disabled="isRoleEdit==false" class="filter-item" placeholder="请输入粗灰分" type="number" min="0.00" step="0.01" />
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.chf')" prop="ash">
|
|
|
|
+ <el-input ref="ash" v-model="nutritive.temp.ash" v-limit :disabled="isRoleEdit==false" class="filter-item" :placeholder="$t('feedChart.chf')" type="number" min="0.00" step="0.01" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -703,7 +703,7 @@
|
|
>
|
|
>
|
|
<u-table-column type="selection" align="center" width="50"/>
|
|
<u-table-column type="selection" align="center" width="50"/>
|
|
<u-table-column label="物料号" min-width="80px" align="center" prop="MATNR"/>
|
|
<u-table-column label="物料号" min-width="80px" align="center" prop="MATNR"/>
|
|
- <u-table-column label="物料类型" min-width="90px" align="center" prop="MTART" />
|
|
|
|
|
|
+ <u-table-column :label="$t('feedChart.wllx')" min-width="90px" align="center" prop="MTART" />
|
|
<u-table-column label="物料组" min-width="80px" align="center" prop="MATKL"/>
|
|
<u-table-column label="物料组" min-width="80px" align="center" prop="MATKL"/>
|
|
<u-table-column label="物料描述" min-width="90px" align="center" prop="MAKTX" />
|
|
<u-table-column label="物料描述" min-width="90px" align="center" prop="MAKTX" />
|
|
<u-table-column label="最后修改日期" min-width="80px" align="center" prop="LAEDA" />
|
|
<u-table-column label="最后修改日期" min-width="80px" align="center" prop="LAEDA" />
|
|
@@ -741,7 +741,7 @@
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="18">
|
|
<el-col :span="18">
|
|
- <el-form-item label="物料类型:" prop="sapMaterialtype">
|
|
|
|
|
|
+ <el-form-item :label="$t('feedChart.wllx')" prop="sapMaterialtype">
|
|
<el-select v-model="sapCode2.temp.sapMaterialtype" filterable placeholder="物料类型" class="filter-item" style="width: 100%;">
|
|
<el-select v-model="sapCode2.temp.sapMaterialtype" filterable placeholder="物料类型" class="filter-item" style="width: 100%;">
|
|
<el-option v-for="item in materialtypeList" :key="item.id" :label="item.distName" :value="item.distCode" />
|
|
<el-option v-for="item in materialtypeList" :key="item.id" :label="item.distName" :value="item.distCode" />
|
|
</el-select>
|
|
</el-select>
|