Shan9312 1 year ago
parent
commit
47670f7d2e

BIN
dist.-tmr-测试版-20240611.zip


+ 2 - 1
src/views/basicData/feedTable/index.vue

@@ -86,10 +86,11 @@
         <u-table-column label="饲料名称" min-width="80px" align="center" prop="fname" fixed="left"/>
         <u-table-column label="饲料分类" min-width="80px" align="center" prop="fclass" fixed="left"/>
         <u-table-column label="物料类型" min-width="90px" align="center" prop="sapMaterialtypeName" />
+        <u-table-column label="SAP编码" min-width="90px" align="center" prop="sapCode" />
         <!-- <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="UD名称" min-width="80px" align="center" prop="udname" />
-        <!-- <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="计划类型" min-width="80px" align="center" prop="printgroup" />
         <u-table-column v-if="isInforvalue" label="小料秤" min-width="90px" align="center" prop="smtmrname" />

+ 4 - 4
src/views/shedProduction/materialRemainingRecord/index.vue

@@ -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 })
               }