+
+
+
+
+
import { listSupplementBarCode, getSupplementBarCode, delSupplementBarCode, addSupplementBarCode, updateSupplementBarCode } from "@/api/report/supplementBarCode";
+import { findProductLineList } from '@//api/base/productLine'
export default {
name: "SupplementBarCode",
@@ -246,7 +257,8 @@ export default {
printTime: null,
printBartype: null,
printName: null,
- isPrint: null
+ isPrint: null,
+ productLineCode: null
},
// 表单参数
form: {},
@@ -266,10 +278,15 @@ export default {
{ key: 9, label: `打印原因`, visible: true },
{ key: 10, label: `记录时间`, visible: true },
{ key: 11, label: `记录人`, visible: true },
- ]
+ ],
+ // 产线选项
+ productLineList: [],
};
},
created() {
+ findProductLineList({ productLineType: 1 }).then(response => {
+ this.productLineList = response.data
+ })
this.getList();
},
methods: {
diff --git a/src/views/report/temperatureRecordReport/index.vue b/src/views/report/temperatureRecordReport/index.vue
index 0ef7dfd..2a015f1 100644
--- a/src/views/report/temperatureRecordReport/index.vue
+++ b/src/views/report/temperatureRecordReport/index.vue
@@ -17,6 +17,16 @@
+
+
+
+
+
{
this.customData = response.data.customData
})
+ findProductLineList({ productLineType: 1 }).then(response => {
+ this.productLineList = response.data
+ })
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBegindatetime[0] = nowDate + ' 00:00:00'
this.daterangeBegindatetime[1] = nowDate + ' 23:59:59'