@@ -96,6 +117,27 @@
@@ -115,42 +157,70 @@
序号 |
- 物料名称 |
- 订单号 |
+ 物料名称 |
+ 订单号 |
来料时间 |
质检确认时间 |
质检数量 |
+ 质检单位 |
检验人 |
- 质检不合格 |
+ 质检不合格 |
+ 不良描述 |
+ 不良类型 |
+ 不良数量 |
-
+
{{ index + 1 }} |
- {{ n.materialName }} |
- {{ n.orderNo }} |
- {{ n.checkTime }} |
+ {{ n.materialName }} |
+ {{ n.orderNo }} |
{{ n.incomeTime }} |
+ {{ n.checkTime }} |
{{ n.quality }} |
+ {{ n.unit }} |
{{ n.checkManName }} |
- {{ n.checkResult }} |
+ {{ n.checkResult }} |
+ {{ n.className }} |
+ {{ n.defectSubclass }} |
+ {{ n.noOkQuality }} |
-
+
@@ -244,9 +314,21 @@ export default {
],
RefreshTime:null,
dictDatatype:[],
+ classOption: {
+ direction: 1,
+ hoverstop: true,
+ step: 0.1,
+ openNatch: true,
+ limitMoveNum: 7,
+ },
+ ymdArray1:[],
+ ymdStart1: null,
+ ymdEnd1: null
};
},
- created() { },
+ created() {
+ this.getDate();
+ },
destroyed() {
clearInterval(this.time1);
this.time1 = null;
@@ -260,6 +342,24 @@ export default {
this.gettime();
},
methods: {
+ /**获取默认查询时间段**/
+ getDate() {
+ let start = this.Fungetdate(0);
+ let end = this.Fungetdate(1);
+ this.ymdArray1.push(start, end);
+
+ this.ymdStart1 = moment(this.ymdArray1[0]).format("YYYY-MM-DD");
+ this.ymdEnd1 = moment(this.ymdArray1[1]).format("YYYY-MM-DD");
+ },
+
+ Fungetdate(num) {
+ var dd = new Date();
+ dd.setDate(dd.getDate());
+ var y = dd.getFullYear();
+ var m = dd.getMonth() + 1 + num; //获取当前月份的日期
+ var d = dd.getDate();
+ return y + "-" + m + "-" + d;
+ },
back() {
this.$router.push({ path: "/index" });
},
@@ -293,6 +393,7 @@ export default {
}
});
},
+ /**
getDictData() {
const _this = this;
getDictData(
@@ -308,13 +409,17 @@ export default {
_this.getDeviceRefreshTime()
}
});
- },
+ },**/
getdatalist() {
const _this = this;
+ this.ymdStart1 = moment(this.ymdArray1[0]).format("YYYY-MM-DD");
+ this.ymdEnd1 = moment(this.ymdArray1[1]).format("YYYY-MM-DD");
getOverallInfo({
ymdType: _this.selectxtclasses,
typeCode: 'material',
factoryCode: 'ds_' + _this.selectxt,
+ productDateStart: this.ymdStart1,
+ productDateEnd: this.ymdEnd1
}).then((response) => {
if (response) {
_this.ordermessage = response;
@@ -324,6 +429,8 @@ export default {
ymdType: _this.selectxtclasses,
typeCode: 'material',
factoryCode: 'ds_' + _this.selectxt,
+ productDateStart: this.ymdStart1,
+ productDateEnd: this.ymdEnd1
}).then((response) => {
if (response) {
_this.optionDatalist2 = []
@@ -340,6 +447,8 @@ export default {
ymdType: _this.selectxtclasses,
typeCode: 'material',
factoryCode: 'ds_' + _this.selectxt,
+ productDateStart: this.ymdStart1,
+ productDateEnd: this.ymdEnd1
}).then((response) => {
if (response) {
_this.optionDatalist3 = []
@@ -369,11 +478,14 @@ export default {
ymdType: _this.selectxtclasses,
typeCode: 'material',
factoryCode: 'ds_' + _this.selectxt,
+ productDateStart: this.ymdStart1,
+ productDateEnd: this.ymdEnd1
}).then((response) => {
if (response) {
this.orderdetail = response
this.orderdetail.forEach((item) => {
- item.incomeTime = moment(item.incomeTime).format('YYYY-MM-DD HH:mm:ss')
+ item.incomeTime = moment(item.incomeTime).format('YYYY-MM-DD')
+ item.checkTime = moment(item.checkTime).format('YYYY-MM-DD HH:mm:ss')
});
}
});
@@ -1342,22 +1454,22 @@ export default {
}
.titlebox {
- width: 431px;
- height: 38px;
- background: url("../../../assets/images/bg-title.png") no-repeat;
- background-size: 100% 100%;
- // text-align: center;
- font-size: 20px;
- font-weight: bold;
- color: #ffffff;
- line-height: 38px;
- letter-spacing: 2px;
- text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
- padding-left: 60px;
- // .titlename{
- // position: relative;
- // left: 24px;
- // }
+ width: 431px;
+ height: 38px;
+ background: url("../../../assets/images/bg-title.png") no-repeat;
+ background-size: 100% 100%;
+ // text-align: center;
+ font-size: 20px;
+ font-weight: bold;
+ color: #ffffff;
+ line-height: 38px;
+ letter-spacing: 2px;
+ text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
+ padding-left: 60px;
+ // .titlename{
+ // position: relative;
+ // left: 24px;
+ // }
}
.titlebox2 {
@@ -1392,7 +1504,7 @@ export default {
display: flex;
align-items: center;
justify-content: space-around;
- width: 350px;
+ width: 300px;
margin-left: 50px;
}
diff --git a/src/views/kanban/quality/kanban3.vue b/src/views/kanban/quality/kanban3.vue
index 9417b16..044e027 100644
--- a/src/views/kanban/quality/kanban3.vue
+++ b/src/views/kanban/quality/kanban3.vue
@@ -50,8 +50,9 @@
+
+
@@ -87,12 +89,13 @@
物料名称 |
检验人 |
检验时间 |
+
检验地点 |
检验状态 |
-
+
{{ n.materialName }}
{{ n.checkManName }} |
{{ n.checkTime }} |
+ {{ n.checkLoc }} |
{{
n.checkStatus }} |
-
+
@@ -176,6 +180,13 @@ export default {
equipmentinfo: [],
RefreshTime: null,
dictDatatype: [],
+ classOption: {
+ direction: 1,
+ hoverstop: true,
+ step: 0.1,
+ openNatch: true,
+ limitMoveNum: 7,
+ },
};
},
created() { },
@@ -251,7 +262,11 @@ export default {
if (response) {
this.Inspectiondetails = response
this.Inspectiondetails.forEach((item) => {
- item.incomeTime = moment(item.incomeTime).format('YYYY-MM-DD HH:mm:ss')
+ item.incomeTime = moment(item.incomeTime).format('YYYY-MM-DD HH:mm:ss');
+ if(item.checkTime!=null){
+ item.checkTime = moment(item.checkTime).format('YYYY-MM-DD HH:mm:ss')
+ }
+
});
}
});
diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue
index ccb0532..af36288 100644
--- a/src/views/mes/reportWork/index.vue
+++ b/src/views/mes/reportWork/index.vue
@@ -518,7 +518,7 @@