Просмотр исходного кода

配件精灵供应商往来账字典

wangzhuo 1 год назад
Родитель
Сommit
410b771a38
1 измененных файлов с 9 добавлено и 3 удалено
  1. 9 3
      src/views/supplier/detailsInfo.vue

+ 9 - 3
src/views/supplier/detailsInfo.vue

@@ -164,7 +164,7 @@
         </basic-container>
     </div>
 </template>
-  
+
 <script>
 import { optionList, sellOption, capitalOption } from "./js/optionList";
 import { getList, getCorpsAll, gainUser, getCorpType, getAllgoods } from "@/api/basicData/salesOrder";
@@ -285,6 +285,13 @@ export default {
         }
     },
     async created() {
+        this.getWorkDicts("payment_status").then(res => {
+          const arr = res.data.data.map(item => {
+            item.dictKey = Number(item.dictKey)
+            return item
+          })
+          this.findObject(this.sellOption.column, "status").dicData = arr
+        });
         this.sellOption = await this.getColumnData(
             this.getColumnName(210.1),
             sellOption
@@ -512,7 +519,7 @@ export default {
     }
 };
 </script>
-  
+
 <style lang="scss" scoped>
 .page-crad ::v-deep .basic-container__card {
     height: 94.2vh;
@@ -555,4 +562,3 @@ export default {
     margin-bottom: 10px;
 }
 </style>
-