diff --git a/src/views/index.vue b/src/views/index.vue
index bb0aa0bf..dc30c723 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -22,6 +22,12 @@
+
+ {{deviceTitle}}
+
+
+
+
@@ -30,10 +36,12 @@
import LineChart from './dashboard/LineChart';
import PieChart from './dashboard/PieChart';
import PieChart2 from './dashboard/PieChart2';
-import {getLineChartData} from '@/api/mes/reportWork'
+import {getGroupLineEquInfo, getLineChartData} from '@/api/mes/reportWork'
+import DeviceChartLine from "./dashboard/DeviceChartLine";
export default {
name: "Index",
components: {
+ DeviceChartLine,
LineChart//,PieChart,PieChart2
},
data() {
@@ -41,11 +49,14 @@ export default {
// 版本号
version: "1.0.0",
lineChartData: null,
- title:"本月工厂产量"
+ deviceChartLineData:null,
+ title:"本月工厂产量",
+ deviceTitle: "各组线月设备故障数"
};
},
created() {
this.getLineChartData();
+ this.getGroupLineEquInfo();
},
methods: {
goTarget(href) {
@@ -55,6 +66,11 @@ export default {
getLineChartData().then(data => {
this.lineChartData = data;
});
+ },
+ getGroupLineEquInfo(){
+ getGroupLineEquInfo().then(response => {
+ this.deviceChartLineData = response.data;
+ });
}
},
};
diff --git a/src/views/quality/checkTypeProject/index.vue b/src/views/quality/checkTypeProject/index.vue
index 3db50c2d..b88ad8e0 100644
--- a/src/views/quality/checkTypeProject/index.vue
+++ b/src/views/quality/checkTypeProject/index.vue
@@ -2,7 +2,7 @@
-
+
@@ -125,7 +125,7 @@
@change="handleStatusChange(scope.row)"
>
-
+
tab.name !== targetName);
}
@@ -541,14 +544,14 @@ export default {
onSelectProjects(objs) {
let _this = this;
objs.forEach(function(item,index,arr){
- item.projectId = item.id;
+ item.projectId = item.id;
item.projectNo = item.orderNum;
item.unit = item.unitCode;
item.standardValue = item.checkStandard;
item.typeId = _this.queryParams.typeId;
item.groupId = _this.groupId;
item.materialCode = _this.materialCode;
-
+
});
submitProjects(objs).then(response => {
this.$modal.msgSuccess("提交成功");
diff --git a/src/views/wms/order/index.vue b/src/views/wms/order/index.vue
index f9fc299c..e924c0ec 100644
--- a/src/views/wms/order/index.vue
+++ b/src/views/wms/order/index.vue
@@ -104,7 +104,7 @@
-
+
@@ -356,7 +356,7 @@ export default {
reset() {
this.form = {
siteCode: null,
- ID: null,
+ id: null,
procureCode: null,
materialCode: null,
materialDesc: null,
@@ -401,7 +401,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map(item => item.ID)
+ this.ids = selection.map(item => item.id)
this.single = selection.length!==1
this.multiple = !selection.length
},
@@ -414,7 +414,7 @@ export default {
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
- const ID = row.ID || this.ids
+ const ID = row.id || this.ids
getOrder(ID).then(response => {
this.form = response.data;
this.open = true;
@@ -425,7 +425,7 @@ export default {
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
- if (this.form.ID != null) {
+ if (this.form.id != null) {
updateOrder(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;
@@ -443,7 +443,7 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
- const IDs = row.ID || this.ids;
+ const IDs = row.id || this.ids;
this.$modal.confirm('是否确认删除包材采购单编号为"' + IDs + '"的数据项?').then(function() {
return delOrder(IDs);
}).then(() => {
diff --git a/src/views/wms/outorder/index.vue b/src/views/wms/outorder/index.vue
index fff11806..85bb0e44 100644
--- a/src/views/wms/outorder/index.vue
+++ b/src/views/wms/outorder/index.vue
@@ -26,14 +26,14 @@
新增
-
+
+ 过账
+
+
导出
@@ -57,15 +57,31 @@
+
-
+
-
+
+
+ 未进行
+ 进行中
+ 完成
+
+
+
+
+
+ 未过账
+ 过账成功
+ 过账失败
+
+
+
@@ -114,7 +130,18 @@
-
+
+
+
+
+ {{ scope.row.planNumber - scope.row.outNumber }}
+
+
+
+
+
+
+