wangzhuo 1 year ago
parent
commit
b7eab6dd51
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/views/EquipmentArchives/detailsPage.vue

+ 4 - 3
src/views/EquipmentArchives/detailsPage.vue

@@ -500,7 +500,6 @@ export default {
 
     if (this.detailData.status == 1) {
       this.option.disabled = true;
-      this.option2.disabled = true;
     }
       // 获取产品数据
     // getAllgoods().then(res => {
@@ -539,6 +538,10 @@ export default {
     annexOpen(row, index) {
       this.dataId = index
       this.orderList = row.filesList?row.filesList:[];
+
+      for (let order of this.orderList) {
+        order.paymentType = order.typeFiles
+      }
       this.enclosure = true
     },
     //保存
@@ -754,7 +757,6 @@ export default {
               // this.orderFilesList = res.data.data.orderFilesList ? res.data.data.orderFilesList : [];
               this.detailData.status = 1
               this.option.disabled = true;
-              this.option2.disabled = true;
               this.$refs.crud.refreshTable();
             })
             .finally(() => {
@@ -801,7 +803,6 @@ export default {
       // this.detailData.status = 2
         this.option.disabled = false
       this.option = this.$options.data().option;
-      this.option2 = this.$options.data().option2;
       this.$refs.crud.refreshTable();
     },
     //返回列表