+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
+ this.selectList.map(item => {
+ let index;
+ index = this.dataList.findIndex(items => {
+ return items.productLine = item
+ })
+ if (index > -1) {
+ this.dataList.splice(index, 1);
+ }
+ });
+ this.selectList = [];
+ }).catch(() => {
+ })
+ }
+ },
//取消添加事件
cancelStand() {
this.standModel = false;
@@ -590,6 +660,7 @@ export default {
}, {
_this: this
}, res => {
+ console.log(res.data);
this.listForm.breakdownList = res.data;
this.ListModel = false;
}, e => {
@@ -609,7 +680,7 @@ export default {
selectStandChange(data) {
this.selectList = [];
for (let i = 0; i < data.length; i++) {
- this.selectList.push(data[i].id);
+ this.selectList.push(data[i].productLine);
}
},
//添加产品线select的改变
@@ -655,7 +726,7 @@ export default {
}, {
_this: this
}, res => {
- this.productData = res.data;
+ this.productData = res.data.records;
this.totalNo = res.data.total;
}, e => {
@@ -663,20 +734,24 @@ export default {
},
//获取标准数据
getStandData() {
- console.log(this.page);
- console.log(this.pageSize);
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
page: this.page,
pageSize: this.pageSize,
}, {
_this: this
}, res => {
- console.log(res.data);
this.sarAccessListDatas = res.data.list;
this.total = res.data.count;
}, e => {
});
- }
+ },
+ clearSearch() {
+ this.sarSarAccessEOSearch = {
+ standName: "",
+ standNumber: ""
+ };
+ this.getStandData();
+ },
},
computed: {},
mounted() {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
index d9e41a3e0..5d6473957 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
@@ -132,14 +132,12 @@
prop="name"
label="任务步骤"
align="center"
- sortable="custom"
>