lxf 1 yıl önce
ebeveyn
işleme
ad101e56f1

+ 3 - 3
src/views/salesMange/saleContract/contract/index.vue

@@ -521,7 +521,7 @@ const config = computed(() => {
   ];
 });
 const getDict = () => {
-  proxy.getDictOne(["contract_type", "account_currency", "trade_methods", "shipping_method", "unit"]).then((res) => {
+  proxy.getDictOne(["contract_type", "account_currency", "trade_mode", "shipping_method", "unit"]).then((res) => {
     if (res.contract_type && res.contract_type.length > 0) {
       contractType.value = res.contract_type.map((x) => ({
         label: x.dictValue,
@@ -534,8 +534,8 @@ const getDict = () => {
         value: x.dictKey,
       }));
     }
-    if (res.trade_methods && res.trade_methods.length > 0) {
-      tradeMethods.value = res.trade_methods.map((x) => ({
+    if (res.trade_mode && res.trade_mode.length > 0) {
+      tradeMethods.value = res.trade_mode.map((x) => ({
         label: x.dictValue,
         value: x.dictKey,
       }));