cz 1 tahun lalu
induk
melakukan
285b80311d

+ 6 - 2
src/views/EHSD/productLibrary/companyProduct/index.vue

@@ -566,9 +566,13 @@ const openModal = () => {
     innerPackMethod: [],
     fileList: [],
     fileListCopy: [],
-    currency: "$",
-    currencyOne: "¥",
+    currency: "",
+    currencyOne: "",
   };
+  if (accountCurrency.value && accountCurrency.value.length > 0) {
+    formData.data.currency = accountCurrency.value[0].label;
+    formData.data.currencyOne = accountCurrency.value[0].label;
+  }
   fileList.value = [];
   fileListCopy.value = [];
 };

+ 6 - 2
src/views/EHSD/productLibrary/customerProduct/index.vue

@@ -591,9 +591,13 @@ const openModal = () => {
     innerPackMethod: [],
     fileList: [],
     fileListCopy: [],
-    currency: "$",
-    currencyOne: "¥",
+    currency: "",
+    currencyOne: "",
   };
+  if (accountCurrency.value && accountCurrency.value.length > 0) {
+    formData.data.currency = accountCurrency.value[0].label;
+    formData.data.currencyOne = accountCurrency.value[0].label;
+  }
   fileList.value = [];
   fileListCopy.value = [];
 };

+ 5 - 5
src/views/purchaseManage/purchaseManage/handoverSlip/index.vue

@@ -13,11 +13,6 @@
       }"
       :action-list="[
         {
-          text: '转生产',
-          disabled: selectData.length === 0,
-          action: () => transferToProduction(),
-        },
-        {
           text: '采购',
           disabled: selectData.length === 0,
           action: () => start(),
@@ -25,6 +20,11 @@
       ]"
       @get-list="getList"
     >
+      <!-- {
+          text: '转生产',
+          disabled: selectData.length === 0,
+          action: () => transferToProduction(),
+        }, -->
       <template #claimTime="{ item }">
         <div>
           <span v-if="item.claimTime">{{ item.claimTime }}</span>