|
|
@@ -361,14 +361,14 @@ export default {
|
|
|
uploadData() {
|
|
|
return {
|
|
|
name: 'checkbarname,checktimes,insertBarfeedremainUpload',
|
|
|
- importParams: '栏舍名称,配方名称,剩料量(kg),原剩料所属时间,干物质,班次(一天/第一班/第二班/第三班),收集时间,操作人',
|
|
|
+ importParams: '栏舍名称,配方名称,原剩料所属时间,剩料量(kg),干物质,收集(一天/第一班/第二班/第三班),收集时间,操作人',
|
|
|
sheetname: 'Sheet1',
|
|
|
// 登录牧场
|
|
|
pastureid: Cookies.get('pastureid'),
|
|
|
// 日期参数
|
|
|
dateParams: '原剩料所属时间',
|
|
|
// 必填参数
|
|
|
- requiredParams: '栏舍名称,剩料量(kg),班次(一天/第一班/第二班/第三班)',
|
|
|
+ requiredParams: '栏舍名称,剩料量(kg),收集(一天/第一班/第二班/第三班)',
|
|
|
// 为数值的参数
|
|
|
numParams: '剩料量(kg)'
|
|
|
}
|
|
|
@@ -573,7 +573,7 @@ export default {
|
|
|
} else {
|
|
|
const barid = new RegExp("key 'barid'")
|
|
|
if (barid.test(response.data)) {
|
|
|
- this.$message({ type: 'error', message: '该栏舍该班次今日剩料量已存在,不可重复生成', duration: 2000 })
|
|
|
+ this.$message({ type: 'error', message: '该栏舍该收集今日剩料量已存在,不可重复生成', duration: 2000 })
|
|
|
} else {
|
|
|
this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
@@ -618,7 +618,7 @@ export default {
|
|
|
} else {
|
|
|
const barid = new RegExp("key 'barid'")
|
|
|
if (barid.test(response.data)) {
|
|
|
- this.$message({ type: 'error', message: '该栏舍该班次今日剩料量已存在,不可重复生成', duration: 2000 })
|
|
|
+ this.$message({ type: 'error', message: '该栏舍该收集今日剩料量已存在,不可重复生成', duration: 2000 })
|
|
|
} else {
|
|
|
this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|