+
@@ -395,7 +395,7 @@
达标
-
+
@@ -523,6 +523,7 @@ export default {
orderStart: null,
orderEnd: null,
equipmentCode: null,
+ equipmentName: null,
orderStatus: null,
orderCost: null,
planPerson: null,
@@ -537,7 +538,6 @@ export default {
createTime: null,
updateBy: null,
updateTime: null,
- equ: {equipmentName: null},
},
// 表单参数
form: {
@@ -602,6 +602,7 @@ export default {
orderStart: null,
orderEnd: null,
equipmentCode: null,
+ equipmentName: null,
orderStatus: null,
orderCost: null,
planPerson: null,
diff --git a/src/views/device/upkeepPlan/index.vue b/src/views/device/upkeepPlan/index.vue
index 38fc6aa4..801e50d4 100644
--- a/src/views/device/upkeepPlan/index.vue
+++ b/src/views/device/upkeepPlan/index.vue
@@ -18,12 +18,14 @@
/>
-
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
搜索
重置
@@ -268,8 +306,8 @@
-
-
+
+
@@ -446,7 +484,7 @@
内部
- 外部
+ 委外
@@ -484,6 +522,11 @@
label="保养项"
width="300">
+
+
+
+
+
-
+
@@ -975,6 +1021,8 @@ export default {
updateTime: null,
createTimeArray: [],
updateTimeArray: [],
+ loopEndArray: [],
+ loopStartArray: [],
},
// 表单参数
form: {
@@ -996,8 +1044,20 @@ export default {
},
created() {
this.getList();
+ this.setWorkCenter();
},
methods: {
+ // 备件数量
+ handleEdit(index, row) {
+ console.log('row:',index, row);
+ if (row.amount < Number(row.applyNum)) {
+ this.$message({
+ message: '超过库存数量!',
+ type: 'warning'
+ })
+ row.applyNum = row.amount;
+ }
+ },
// 备件选择完成按钮
spareChangeCom() {
console.log("点击了完成按钮")
@@ -1036,7 +1096,7 @@ export default {
},
// 选择备件-添加备件
addSpareList(e) {
- console.log("选择备件")
+ console.log("选择备件123")
console.log(e)
for (let i = 0; i < this.chooseSpareList.length; i++){
if (this.chooseSpareList[i].materialCode == e.materialCode) {
@@ -1189,7 +1249,7 @@ export default {
},
// 选择备件按钮操作
selectSpareBtn(e) {
- console.log("点击了选择备件按钮!")
+ console.log("点击了选择备件按钮!321")
console.log(e)
this.setSpareList();
if (e.spareList == null) {
@@ -1406,6 +1466,8 @@ export default {
workOutsourcingUnit: null,
workConnection: null,
workReason: null,
+ loopEndArray: [],
+ loopStartArray: [],
};
this.resetForm("form");
},
@@ -1431,6 +1493,9 @@ export default {
// 重置日期范围
this.queryParams.createTimeArray = [];
this.queryParams.updateTimeArray = [];
+ this.queryParams.loopEndArray = [];
+ this.queryParams.loopStartArray = [];
+ this.queryParams.upkeep = null;
this.handleQuery();
},
// 多选框选中数据