|
@@ -139,7 +139,6 @@
|
|
|
multiple
|
|
multiple
|
|
|
filterable
|
|
filterable
|
|
|
@change="executeIdListChange"
|
|
@change="executeIdListChange"
|
|
|
- key="executeIdList"
|
|
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in executorList"
|
|
v-for="item in executorList"
|
|
@@ -1025,6 +1024,7 @@
|
|
|
// 提交
|
|
// 提交
|
|
|
submit() {
|
|
submit() {
|
|
|
console.log('this.addForm', this.addForm);
|
|
console.log('this.addForm', this.addForm);
|
|
|
|
|
+ return
|
|
|
this.$refs.formRef.validate(async (valid) => {
|
|
this.$refs.formRef.validate(async (valid) => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
if (!this.addForm.detailList?.length) {
|
|
if (!this.addForm.detailList?.length) {
|
|
@@ -1239,7 +1239,6 @@
|
|
|
handleAdd(row, index) {
|
|
handleAdd(row, index) {
|
|
|
this.currentRow = row;
|
|
this.currentRow = row;
|
|
|
this.currentIndex = index;
|
|
this.currentIndex = index;
|
|
|
-
|
|
|
|
|
if (this.addForm.associatedObject == 1) {
|
|
if (this.addForm.associatedObject == 1) {
|
|
|
this.$refs.toolModalRef.open(row.toolCodes);
|
|
this.$refs.toolModalRef.open(row.toolCodes);
|
|
|
} else {
|
|
} else {
|
|
@@ -1249,8 +1248,6 @@
|
|
|
this.addForm.deviceCode
|
|
this.addForm.deviceCode
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- // this.currentRow = row;
|
|
|
|
|
},
|
|
},
|
|
|
bindSubstanceListOpen() {
|
|
bindSubstanceListOpen() {
|
|
|
this.currentIndex = 9999;
|
|
this.currentIndex = 9999;
|
|
@@ -1309,10 +1306,6 @@
|
|
|
// 清空工具
|
|
// 清空工具
|
|
|
clearTool(row, index) {
|
|
clearTool(row, index) {
|
|
|
substanceKey.forEach((key) => {
|
|
substanceKey.forEach((key) => {
|
|
|
- console.log(
|
|
|
|
|
- this.addForm.detailList[index],
|
|
|
|
|
- 'this.addForm.detailList[index]'
|
|
|
|
|
- );
|
|
|
|
|
this.$set(this.addForm.detailList[index], key, '');
|
|
this.$set(this.addForm.detailList[index], key, '');
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|