Преглед изворни кода

维多利亚按钮控制增加

cz пре 2 година
родитељ
комит
826d22c68b

+ 1 - 1
src/views/JXSK/production/bom/index.vue

@@ -158,7 +158,7 @@
 
     <el-dialog
       v-model="openMaterial"
-      title="选择品"
+      title="选择物料/半成品"
       width="70%"
       append-to-body
     >

+ 1 - 1
src/views/JXSK/production/workOrder/index.vue

@@ -36,7 +36,7 @@
         ref="byform"
       >
         <template #slot>
-          <div>
+          <div style="width: 100%">
             <el-button type="primary" plain @click="openMaterial = true"
               >添加物料/半成品</el-button
             >

+ 7 - 0
src/views/WDLY/outInBound/abnormal/index.vue

@@ -203,6 +203,13 @@ const config = computed(() => {
     },
     {
       attrs: {
+        label: "创建时间",
+        prop: "createTime",
+        width: 160,
+      },
+    },
+    {
+      attrs: {
         label: "最近操作人",
         prop: "handleUserName",
         width: 140,

+ 2 - 103
src/views/WDLY/purchaseManage/alreadyPurchase/index.vue

@@ -15,14 +15,6 @@
         :action-list="[]"
         @get-list="getList"
       >
-        <template #fileSlot="{ item }">
-          <div
-            style="cursor: pointer; color: #409eff"
-            @click="handleClickFile(item)"
-          >
-            {{ item.fileName }}
-          </div>
-        </template>
         <template #contractCode="{ item }">
           <div
             style="cursor: pointer; color: #409eff"
@@ -188,52 +180,6 @@
         </el-button>
       </template>
     </el-dialog>
-
-    <el-dialog
-      title="采购详情"
-      v-model="dialogVisibleOne"
-      width="70%"
-      destroy-on-close
-    >
-      <byForm
-        :formConfig="formConfigOne"
-        :formOption="formOption"
-        v-model="formData.dataOne"
-        :rules="rules"
-        ref="byform"
-      >
-        <template #detailSlot>
-          <div style="width: 100%">
-            <el-table :data="formData.dataOne.deliverGoodsDetailsList">
-              <el-table-column
-                prop="productDefinition"
-                label="物品类型"
-                :formatter="
-                  (row) =>
-                    row.productDefinition == 1
-                      ? '产品'
-                      : row.productDefinition == 2
-                      ? '物料'
-                      : ''
-                "
-              />
-
-              <el-table-column prop="productCode" label="物品编码" />
-              <el-table-column prop="productName" label="物品名称" />
-              <el-table-column prop="productSpec" label="规格型号" />
-              <el-table-column prop="productUnit" label="单位" />
-              <el-table-column prop="count" label="采购数量" />
-            </el-table>
-          </div>
-        </template>
-      </byForm>
-
-      <template #footer>
-        <el-button @click="dialogVisibleOne = false" size="large"
-          >取 消</el-button
-        >
-      </template>
-    </el-dialog>
   </div>
 </template>
   
@@ -241,8 +187,6 @@
 import { ElMessage, ElMessageBox } from "element-plus";
 import byTable from "@/components/byTable/index";
 import byForm from "@/components/byForm/index";
-import { computed, watch } from "vue";
-
 const loading = ref(false);
 const submitLoading = ref(false);
 const sourceList = ref({
@@ -253,9 +197,8 @@ const sourceList = ref({
     pageSize: 10,
   },
 });
-let dialogVisible = ref(false);
-let dialogVisibleOne = ref(false);
-let modalType = ref("add");
+const dialogVisible = ref(false);
+const modalType = ref("add");
 let rules = ref({
   deliverGoodsId: [
     { required: true, message: "请选择快递单号", trigger: "change" },
@@ -337,12 +280,6 @@ const selectConfig = reactive([
 ]);
 const config = computed(() => {
   return [
-    // {
-    //   attrs: {
-    //     label: "采购单号",
-    //     prop: "code",
-    //   },
-    // },
     {
       attrs: {
         label: "采购单号",
@@ -435,31 +372,6 @@ const formOption = reactive({
 });
 const byform = ref(null);
 let formConfig = reactive([]);
-let formConfigOne = computed(() => [
-  {
-    type: "input",
-    prop: "supplyName",
-    label: "供应商",
-    disabled: true,
-    itemWidth: 50,
-  },
-  {
-    type: "input",
-    prop: "purchaseCode",
-    label: "采购单号",
-    disabled: true,
-    itemWidth: 50,
-  },
-  {
-    type: "title",
-    title: "采购明细",
-  },
-  {
-    type: "slot",
-    slotName: "detailSlot",
-    label: "",
-  },
-]);
 const configData = [
   [
     {
@@ -553,7 +465,6 @@ const getList = async (req) => {
   proxy
     .post("/purchase/pageByWdly", sourceList.value.pagination)
     .then((message) => {
-      console.log(message);
       sourceList.value.data = message.rows.map((x) => ({
         ...x,
         ...JSON.parse(x.victoriatouristJson),
@@ -743,7 +654,6 @@ watch(
         ? current.logisticsCompanyCode
         : "";
       formData.data.code = current ? current.code : "";
-      // formData.data.logisticsCompanyName = current ? current.logisticsCompanyCode : "";
       proxy.post("/deliverGoods/detail", { id: val }).then((res) => {
         formData.data.arrivalDetailList = res.map((x) => ({
           count: x.count,
@@ -774,17 +684,6 @@ const handleClickContractCode = (row) => {
         processType: 20,
       },
     });
-    // formData.dataOne = {
-    //   supplyName: row.supplyName,
-    //   purchaseCode: row.contractCode,
-    //   deliverGoodsDetailsList: res.map((x) => ({
-    //     ...x,
-    //     purchaseDetailId: x.id,
-    //     alreadyDeliverGoodsQuantity: x.deliverGoodsQuantity,
-    //     deliverGoodsQuantity: Number(x.count) - Number(x.deliverGoodsQuantity),
-    //   })),
-    // };
-    // dialogVisibleOne.value = true;
   });
 };
 

+ 28 - 221
src/views/WDLY/purchaseManage/purchase/index.vue

@@ -22,14 +22,6 @@
         ]"
         @get-list="getList"
       >
-        <template #fileSlot="{ item }">
-          <div
-            style="cursor: pointer; color: #409eff"
-            @click="handleClickFile(item)"
-          >
-            {{ item.fileName }}
-          </div>
-        </template>
       </byTable>
     </div>
     <el-dialog
@@ -45,80 +37,6 @@
         :rules="rules"
         ref="byform"
       >
-        <template #address>
-          <el-row :gutter="10" style="width: 100%">
-            <el-col :span="8">
-              <el-select v-model="formData.data.aa" placeholder="国家">
-                <el-option v-for="item in 3" label="ceshi" value="1">
-                </el-option>
-              </el-select>
-            </el-col>
-            <el-col :span="8">
-              <el-select v-model="formData.data.aa" placeholder="省/洲">
-                <el-option v-for="item in 3" label="ceshi" value="1">
-                </el-option>
-              </el-select>
-            </el-col>
-            <el-col :span="8">
-              <el-select v-model="formData.data.aa" placeholder="城市">
-                <el-option v-for="item in 3" label="ceshi" value="1">
-                </el-option>
-              </el-select>
-            </el-col>
-          </el-row>
-          <el-row style="margin-top: 20px; width: 100%">
-            <el-col :span="24">
-              <el-input v-model="formData.data.bb" type="textarea"> </el-input>
-            </el-col>
-          </el-row>
-        </template>
-
-        <template #contact>
-          <el-row :gutter="10" style="width: 100%">
-            <el-col :span="8">
-              <el-input v-model="formData.data.aa" placeholder="联系人">
-              </el-input>
-            </el-col>
-            <el-col :span="16">
-              <el-input v-model="formData.data.aa" placeholder="联系电话">
-              </el-input>
-            </el-col>
-          </el-row>
-        </template>
-
-        <template #fileSlot>
-          <div>
-            <el-upload
-              v-model:fileList="fileList"
-              class="upload-demo"
-              action="https://winfaster.obs.cn-south-1.myhuaweicloud.com"
-              :limit="3"
-              :data="uploadData"
-              :on-preview="handlePreview"
-              :on-remove="handleRemove"
-              :on-success="handleSuccess"
-              :before-upload="handleBeforeUpload"
-              accept=".pdf"
-            >
-              <el-button type="primary">选择</el-button>
-              <template #file>
-                <div>
-                  <div style="margin-top: 15px">
-                    <el-tag
-                      class="ml-2"
-                      type="info"
-                      v-for="(item, index) in fileList"
-                      :key="index"
-                      closable
-                      @close="handleClose(index)"
-                      >{{ item.fileName }}</el-tag
-                    >
-                  </div>
-                </div>
-              </template>
-            </el-upload>
-          </div>
-        </template>
       </byForm>
       <template #footer>
         <el-button @click="dialogVisible = false" size="large">取 消</el-button>
@@ -136,17 +54,9 @@
 </template>
   
 <script setup>
-/* eslint-disable vue/no-unused-components */
 import { ElMessage, ElMessageBox } from "element-plus";
 import byTable from "@/components/byTable/index";
 import byForm from "@/components/byForm/index";
-import FileUpload from "@/components/FileUpload/index";
-import { computed, defineComponent, ref } from "vue";
-import { getToken } from "@/utils/auth";
-
-const uploadFileUrl = ref(import.meta.env.VITE_APP_BASE_API + "/common/upload"); // 上传文件服务器地址
-const headers = ref({ Authorization: "Bearer " + getToken() });
-const uploadData = ref({});
 const loading = ref(false);
 const submitLoading = ref(false);
 const sourceList = ref({
@@ -158,9 +68,8 @@ const sourceList = ref({
     status: "15,30",
   },
 });
-let dialogVisible = ref(false);
-let modalType = ref("add");
-let fileList = ref([]);
+const dialogVisible = ref(false);
+const modalType = ref("add");
 let rules = ref({
   name: [{ required: true, message: "请输入供应商名称", trigger: "blur" }],
 });
@@ -285,7 +194,6 @@ const config = computed(() => {
         width: "80",
         align: "right",
       },
-      // 渲染 el-button,一般用在最后一列。
       renderHTML(row) {
         return [
           {
@@ -306,7 +214,7 @@ const config = computed(() => {
   ];
 });
 
-let formData = reactive({
+const formData = reactive({
   data: {
     type: "1",
   },
@@ -319,48 +227,7 @@ const formOption = reactive({
 });
 const byform = ref(null);
 const formConfig = computed(() => {
-  return [
-    {
-      type: "radio",
-      prop: "name",
-      label: "供应商类型",
-      required: true,
-      border: true,
-      data: [
-        { label: "贸易商", value: "1" },
-        { label: "工厂", value: "2" },
-      ],
-    },
-    {
-      type: "input",
-      prop: "name",
-      label: "供应商名称",
-      required: true,
-    },
-    {
-      type: "slot",
-      slotName: "address",
-      label: "地址",
-      required: true,
-    },
-    {
-      type: "slot",
-      slotName: "contact",
-      label: "联系信息",
-      required: true,
-    },
-    {
-      type: "slot",
-      slotName: "fileSlot",
-      label: "上传附件",
-    },
-    {
-      type: "input",
-      label: "备注",
-      prop: "remakes",
-      itemType: "textarea",
-    },
-  ];
+  return [];
 });
 
 const getList = async (req) => {
@@ -369,7 +236,6 @@ const getList = async (req) => {
   proxy
     .post("/subscribeDetail/pageByWdly", sourceList.value.pagination)
     .then((message) => {
-      console.log(message);
       message.rows.forEach((x) => {
         if (x.status <= 30) {
           x.isCheck = true;
@@ -387,89 +253,35 @@ const getList = async (req) => {
       }, 200);
     });
 };
-// const openModal = () => {
-//  proxy.$router.push({
-
-//  })
-// };
 
 const submitForm = () => {
-  if (fileList.value.length > 0) {
-    byform.value.handleSubmit((valid) => {
-      formData.data.fileList = fileList.value;
-      submitLoading.value = true;
-      proxy.post("/productionProcesses/" + modalType.value, formData.data).then(
-        (res) => {
-          ElMessage({
-            message: modalType.value == "add" ? "添加成功" : "编辑成功",
-            type: "success",
-          });
-          fileList.value = [];
-          dialogVisible.value = false;
-          submitLoading.value = false;
-          getList();
-        },
-        (err) => {
-          console.log(err, "aswwwww");
-          submitLoading.value = false;
-        }
-      );
-    });
-  } else {
-    return ElMessage({
-      message: "请上传附件!",
-      type: "info",
-    });
-  }
-};
-
-const getDtl = (row) => {
-  modalType.value = "edit";
-  proxy.post("/productionProcesses/detail", { id: row.id }).then((res) => {
-    fileList.value = [
-      {
-        id: "",
-        fileName: res.fileName,
-        path: "",
+  byform.value.handleSubmit((valid) => {
+    formData.data.fileList = fileList.value;
+    submitLoading.value = true;
+    proxy.post("/productionProcesses/" + modalType.value, formData.data).then(
+      (res) => {
+        ElMessage({
+          message: modalType.value == "add" ? "添加成功" : "编辑成功",
+          type: "success",
+        });
+        fileList.value = [];
+        dialogVisible.value = false;
+        submitLoading.value = false;
+        getList();
       },
-    ];
-    formData.data = res;
-    dialogVisible.value = true;
+      (err) => {
+        console.log(err, "aswwwww");
+        submitLoading.value = false;
+      }
+    );
   });
 };
 
-const handleBeforeUpload = async (file) => {
-  const res = await proxy.post("/fileInfo/getSing", { fileName: file.name });
-  uploadData.value = res.uploadBody;
-  fileList.value = [
-    {
-      id: res.id,
-      fileName: res.fileName,
-      path: res.fileUrl,
-    },
-  ];
-};
-
-const handlePreview = (file) => {
-  console.log(file);
-};
-const handleSuccess = (file) => {
-  console.log(file);
-};
-const handleRemove = (file) => {
-  fileList.value = [];
-};
-const handleClose = (index) => {
-  fileList.value.splice(index, 1);
-};
-getList();
 const selectData = ref([]);
 const selectDataOne = ref([]);
-
 const selectRow = (data) => {
   selectData.value = data;
 };
-
 watch(selectData, (newVal, oldVal) => {
   if (newVal.length == 0) {
     sourceList.value.data.forEach((x) => {
@@ -511,8 +323,11 @@ const start = (type) => {
 };
 
 const warehouseList = ref([]);
-const warehouseListData = () => {
-  // // 币种数据
+const productUnit = ref([]);
+const getDict = () => {
+  proxy.getDict(["unit"]).then((res) => {
+    productUnit.value = res["unit"];
+  });
   proxy
     .post("/warehouse/page", {
       pageNum: 1,
@@ -526,16 +341,8 @@ const warehouseListData = () => {
       }));
     });
 };
-warehouseListData();
-
-const productUnit = ref([]);
-const getDict = () => {
-  proxy.getDict(["unit"]).then((res) => {
-    productUnit.value = res["unit"];
-    console.log(productUnit.value, "qwda");
-  });
-};
 getDict();
+getList();
 </script>
   
 <style lang="scss" scoped>

+ 21 - 228
src/views/WDLY/purchaseManage/subscribe/index.vue

@@ -21,14 +21,6 @@
         ]"
         @get-list="getList"
       >
-        <template #fileSlot="{ item }">
-          <div
-            style="cursor: pointer; color: #409eff"
-            @click="handleClickFile(item)"
-          >
-            {{ item.fileName }}
-          </div>
-        </template>
       </byTable>
     </div>
     <el-dialog
@@ -44,80 +36,6 @@
         :rules="rules"
         ref="byform"
       >
-        <template #address>
-          <el-row :gutter="10" style="width: 100%">
-            <el-col :span="8">
-              <el-select v-model="formData.data.aa" placeholder="国家">
-                <el-option v-for="item in 3" label="ceshi" value="1">
-                </el-option>
-              </el-select>
-            </el-col>
-            <el-col :span="8">
-              <el-select v-model="formData.data.aa" placeholder="省/洲">
-                <el-option v-for="item in 3" label="ceshi" value="1">
-                </el-option>
-              </el-select>
-            </el-col>
-            <el-col :span="8">
-              <el-select v-model="formData.data.aa" placeholder="城市">
-                <el-option v-for="item in 3" label="ceshi" value="1">
-                </el-option>
-              </el-select>
-            </el-col>
-          </el-row>
-          <el-row style="margin-top: 20px; width: 100%">
-            <el-col :span="24">
-              <el-input v-model="formData.data.bb" type="textarea"> </el-input>
-            </el-col>
-          </el-row>
-        </template>
-
-        <template #contact>
-          <el-row :gutter="10" style="width: 100%">
-            <el-col :span="8">
-              <el-input v-model="formData.data.aa" placeholder="联系人">
-              </el-input>
-            </el-col>
-            <el-col :span="16">
-              <el-input v-model="formData.data.aa" placeholder="联系电话">
-              </el-input>
-            </el-col>
-          </el-row>
-        </template>
-
-        <template #fileSlot>
-          <div>
-            <el-upload
-              v-model:fileList="fileList"
-              class="upload-demo"
-              action="https://winfaster.obs.cn-south-1.myhuaweicloud.com"
-              :limit="3"
-              :data="uploadData"
-              :on-preview="handlePreview"
-              :on-remove="handleRemove"
-              :on-success="handleSuccess"
-              :before-upload="handleBeforeUpload"
-              accept=".pdf"
-            >
-              <el-button type="primary">选择</el-button>
-              <template #file>
-                <div>
-                  <div style="margin-top: 15px">
-                    <el-tag
-                      class="ml-2"
-                      type="info"
-                      v-for="(item, index) in fileList"
-                      :key="index"
-                      closable
-                      @close="handleClose(index)"
-                      >{{ item.fileName }}</el-tag
-                    >
-                  </div>
-                </div>
-              </template>
-            </el-upload>
-          </div>
-        </template>
       </byForm>
       <template #footer>
         <el-button @click="dialogVisible = false" size="large">取 消</el-button>
@@ -135,17 +53,10 @@
 </template>
   
 <script setup>
-/* eslint-disable vue/no-unused-components */
 import { ElMessage, ElMessageBox } from "element-plus";
 import byTable from "@/components/byTable/index";
 import byForm from "@/components/byForm/index";
-import FileUpload from "@/components/FileUpload/index";
-import { computed, defineComponent, ref } from "vue";
-import { getToken } from "@/utils/auth";
 
-const uploadFileUrl = ref(import.meta.env.VITE_APP_BASE_API + "/common/upload"); // 上传文件服务器地址
-const headers = ref({ Authorization: "Bearer " + getToken() });
-const uploadData = ref({});
 const loading = ref(false);
 const submitLoading = ref(false);
 const sourceList = ref({
@@ -157,9 +68,8 @@ const sourceList = ref({
     status: "",
   },
 });
-let dialogVisible = ref(false);
-let modalType = ref("add");
-let fileList = ref([]);
+const dialogVisible = ref(false);
+const modalType = ref("add");
 let rules = ref({
   name: [{ required: true, message: "请输入供应商名称", trigger: "blur" }],
 });
@@ -269,12 +179,6 @@ const config = computed(() => {
         return statusData.value.find((x) => x.value == status).label;
       },
     },
-    // {
-    //   attrs: {
-    //     label: "申购原因",
-    //     prop: "subscribeContent",
-    //   },
-    // },
     {
       attrs: {
         label: "操作",
@@ -284,17 +188,6 @@ const config = computed(() => {
       // 渲染 el-button,一般用在最后一列。
       renderHTML(row) {
         return [
-          // {
-          //   attrs: {
-          //     label: "修改",
-          //     type: "primary",
-          //     text: true,
-          //   },
-          //   el: "button",
-          //   click() {
-          //     getDtl(row);
-          //   },
-          // },
           row.status == 30
             ? {
                 attrs: {
@@ -338,7 +231,7 @@ const config = computed(() => {
   ];
 });
 
-let formData = reactive({
+const formData = reactive({
   data: {
     type: "1",
   },
@@ -351,55 +244,13 @@ const formOption = reactive({
 });
 const byform = ref(null);
 const formConfig = computed(() => {
-  return [
-    {
-      type: "radio",
-      prop: "name",
-      label: "供应商类型",
-      required: true,
-      border: true,
-      data: [
-        { label: "贸易商", value: "1" },
-        { label: "工厂", value: "2" },
-      ],
-    },
-    {
-      type: "input",
-      prop: "name",
-      label: "供应商名称",
-      required: true,
-    },
-    {
-      type: "slot",
-      slotName: "address",
-      label: "地址",
-      required: true,
-    },
-    {
-      type: "slot",
-      slotName: "contact",
-      label: "联系信息",
-      required: true,
-    },
-    {
-      type: "slot",
-      slotName: "fileSlot",
-      label: "上传附件",
-    },
-    {
-      type: "input",
-      label: "备注",
-      prop: "remakes",
-      itemType: "textarea",
-    },
-  ];
+  return [];
 });
 const getList = async (req) => {
   sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
   loading.value = true;
   proxy.post("/subscribeDetail/pageByWdly  ", sourceList.value.pagination).then(
     (message) => {
-      console.log(message);
       sourceList.value.data = message.rows.map((x) => ({
         ...x,
         ...JSON.parse(x.victoriatouristJson),
@@ -425,84 +276,26 @@ const openModal = () => {
 };
 
 const submitForm = () => {
-  if (fileList.value.length > 0) {
-    byform.value.handleSubmit((valid) => {
-      formData.data.fileList = fileList.value;
-      submitLoading.value = true;
-      proxy.post("/productionProcesses/" + modalType.value, formData.data).then(
-        (res) => {
-          ElMessage({
-            message: modalType.value == "add" ? "添加成功" : "编辑成功",
-            type: "success",
-          });
-          fileList.value = [];
-          dialogVisible.value = false;
-          submitLoading.value = false;
-          getList();
-        },
-        (err) => {
-          console.log(err, "aswwwww");
-          submitLoading.value = false;
-        }
-      );
-    });
-  } else {
-    return ElMessage({
-      message: "请上传附件!",
-      type: "info",
-    });
-  }
-};
-
-const getDtl = (row) => {
-  modalType.value = "edit";
-  proxy.post("/productionProcesses/detail", { id: row.id }).then((res) => {
-    fileList.value = [
-      {
-        id: "",
-        fileName: res.fileName,
-        path: "",
+  byform.value.handleSubmit((valid) => {
+    submitLoading.value = true;
+    proxy.post("/productionProcesses/" + modalType.value, formData.data).then(
+      (res) => {
+        ElMessage({
+          message: modalType.value == "add" ? "添加成功" : "编辑成功",
+          type: "success",
+        });
+        dialogVisible.value = false;
+        submitLoading.value = false;
+        getList();
       },
-    ];
-    formData.data = res;
-    dialogVisible.value = true;
-  });
-};
-const handleBeforeUpload = async (file) => {
-  const res = await proxy.post("/fileInfo/getSing", { fileName: file.name });
-  uploadData.value = res.uploadBody;
-  fileList.value = [
-    {
-      id: res.id,
-      fileName: res.fileName,
-      path: res.fileUrl,
-    },
-  ];
-};
-const handleClickFile = (row) => {
-  ElMessage({
-    message: "数据请求中,请稍后!",
-    type: "success",
-  });
-  let id = row.id;
-  proxy.post("/fileInfo/getList", { businessIdList: [id] }).then((res) => {
-    const file = res[id][0];
-    window.open(file.fileUrl, "_blank");
+      (err) => {
+        console.log(err, "aswwwww");
+        submitLoading.value = false;
+      }
+    );
   });
 };
 
-const handlePreview = (file) => {
-  console.log(file);
-};
-const handleSuccess = (file) => {
-  console.log(file);
-};
-const handleRemove = (file) => {
-  fileList.value = [];
-};
-const handleClose = (index) => {
-  fileList.value.splice(index, 1);
-};
 const statusData = ref([
   {
     label: "审批中",
@@ -526,7 +319,6 @@ const statusData = ref([
   },
 ]);
 selectConfig[1].data = statusData.value;
-getList();
 const productUnit = ref([]);
 const getDict = () => {
   proxy.getDictOne(["unit"]).then((res) => {
@@ -537,6 +329,7 @@ const getDict = () => {
   });
 };
 getDict();
+getList();
 </script>
   
 <style lang="scss" scoped>

+ 2 - 2
src/views/production/project/bom/index.vue

@@ -45,7 +45,7 @@
         ref="byform"
       >
         <template #slot>
-          <div>
+          <div style="width: 100%">
             <el-button type="primary" plain @click="openMaterial = true"
               >添加物料/半成品</el-button
             >
@@ -130,7 +130,7 @@
 
     <el-dialog
       v-model="openMaterial"
-      title="选择品"
+      title="选择物料/半成品"
       width="70%"
       append-to-body
     >

+ 1 - 1
src/views/purchaseSales/outAndInWarehouse/inventoryInquiry/index.vue

@@ -242,7 +242,7 @@ getDict();
 getList();
 const checkTheFlow = (item) => {
   proxy.$router.replace({
-    path: "/purchaseSales/outAndInWarehouse/record",
+    path: "/purchaseSales/stockManage/record",
     query: {
       productId: item.productId,
     },