| src/utils/productTree.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/procurementManagement/procurementLedger/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/productionPlan/productionPlan/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/utils/productTree.js
ÎļþÒÑɾ³ý src/views/procurementManagement/procurementLedger/index.vue
@@ -547,7 +547,7 @@ filterable check-strictly @change="getModels" :data="productFormOptions" :data="productOptions" :render-after-expand="false" style="width: 100%" /> </el-form-item> @@ -705,7 +705,6 @@ onMounted, reactive, toRefs, computed, getCurrentInstance, nextTick, } from "vue"; @@ -763,7 +762,6 @@ import dayjs from "dayjs"; import FileUpload from "@/components/AttachmentUpload/file/index.vue"; import { roundHalfUp, trimZeros } from "@/utils/formatNumber.js"; import { filterRawMaterialTree } from "@/utils/productTree.js"; const userStore = useUserStore(); @@ -961,12 +959,6 @@ // 产å表åå¼¹æ¡æ°æ® const productFormVisible = ref(false); const productOperationType = ref(""); // æ°å¢äº§åæ¶äº§å大类åªå±ç¤ºãåææãï¼ç¼è¾æ¶ä¿æå®æ´äº§åæ const productFormOptions = computed(() => productOperationType.value === "add" ? filterRawMaterialTree(productOptions.value) : productOptions.value ); const productOperationIndex = ref(""); const currentId = ref(""); const productFormData = reactive({ src/views/productionPlan/productionPlan/index.vue
@@ -186,7 +186,7 @@ <el-tree-select v-model="form.productId" placeholder="è¯·éæ©" clearable :data="productTreeOptions" :data="productOptions" :render-after-expand="false" filterable @change="handleProductChange" @@ -283,7 +283,6 @@ exportProductionPlan, } from "@/api/productionPlan/productionPlan.js"; import { productTreeList, modelListPage } from "@/api/basicData/product.js"; import { filterFinishedProductTree } from "@/utils/productTree.js"; import PIMTable from "./components/PIMTable.vue"; import ImportDialog from "@/components/Dialog/ImportDialog.vue"; @@ -511,12 +510,6 @@ const dialogVisible = ref(false); const operationType = ref("add"); // add | edit const productOptions = ref([]); // æ°å¢çäº§è®¡åæ¶äº§ååç§°åªå±ç¤ºãæåãï¼ç¼è¾æ¶ä¿æå®æ´äº§åæ const productTreeOptions = computed(() => operationType.value === "add" ? filterFinishedProductTree(productOptions.value) : productOptions.value ); const specificationOptions = ref([]); const queryRef = ref(null); const formRef = ref(null);