lxf 1 年之前
父節點
當前提交
1cec8f1bd0

+ 5 - 5
src/views/production/warehouse/outbound/index.vue

@@ -109,7 +109,7 @@ const searchConfig = computed(() => {
     {
       type: "select",
       prop: "detailType",
-      dictKey: "put_stock_type",
+      dictKey: "come_stock_type",
       label: "出库类型",
     },
     {
@@ -155,7 +155,7 @@ const searchConfigTwo = computed(() => {
     {
       type: "select",
       prop: "detailType",
-      dictKey: "put_stock_type",
+      dictKey: "come_stock_type",
       label: "出库类型",
     },
     {
@@ -212,7 +212,7 @@ const config = computed(() => {
         width: 140,
       },
       render(val) {
-        return proxy.dictKeyValue(val, proxy.useUserStore().allDict["put_stock_type"]);
+        return proxy.dictKeyValue(val, proxy.useUserStore().allDict["come_stock_type"]);
       },
     },
     {
@@ -280,7 +280,7 @@ const configTwo = computed(() => {
         width: 140,
       },
       render(val) {
-        return proxy.dictKeyValue(val, proxy.useUserStore().allDict["put_stock_type"]);
+        return proxy.dictKeyValue(val, proxy.useUserStore().allDict["come_stock_type"]);
       },
     },
     {
@@ -354,7 +354,7 @@ const getListTwo = async (req, status) => {
     sourceListTwo.value.pagination = { ...sourceListTwo.value.pagination, ...req };
   }
   loading.value = true;
-  proxy.post("/inOutStorage/page", sourceListTwo.value.pagination).then((res) => {
+  proxy.post("/inOutStorageBom/page", sourceListTwo.value.pagination).then((res) => {
     sourceListTwo.value.data = res.rows;
     sourceListTwo.value.pagination.total = res.total;
     setTimeout(() => {

+ 1 - 1
src/views/production/warehouse/putInStorage/index.vue

@@ -354,7 +354,7 @@ const getListTwo = async (req, status) => {
     sourceListTwo.value.pagination = { ...sourceListTwo.value.pagination, ...req };
   }
   loading.value = true;
-  proxy.post("/inOutStorage/page", sourceListTwo.value.pagination).then((res) => {
+  proxy.post("/inOutStorageBom/page", sourceListTwo.value.pagination).then((res) => {
     sourceListTwo.value.data = res.rows;
     sourceListTwo.value.pagination.total = res.total;
     setTimeout(() => {

+ 5 - 5
src/views/subsidiary/warehouse/outbound/index.vue

@@ -90,7 +90,7 @@ const searchConfig = computed(() => {
     {
       type: "select",
       prop: "detailType",
-      dictKey: "put_stock_type",
+      dictKey: "come_stock_type",
       label: "出库类型",
     },
     {
@@ -130,7 +130,7 @@ const searchConfigTwo = computed(() => {
     {
       type: "select",
       prop: "detailType",
-      dictKey: "put_stock_type",
+      dictKey: "come_stock_type",
       label: "出库类型",
     },
     {
@@ -187,7 +187,7 @@ const config = computed(() => {
         width: 140,
       },
       render(val) {
-        return proxy.dictKeyValue(val, proxy.useUserStore().allDict["put_stock_type"]);
+        return proxy.dictKeyValue(val, proxy.useUserStore().allDict["come_stock_type"]);
       },
     },
     {
@@ -255,7 +255,7 @@ const configTwo = computed(() => {
         width: 140,
       },
       render(val) {
-        return proxy.dictKeyValue(val, proxy.useUserStore().allDict["put_stock_type"]);
+        return proxy.dictKeyValue(val, proxy.useUserStore().allDict["come_stock_type"]);
       },
     },
     {
@@ -329,7 +329,7 @@ const getListTwo = async (req, status) => {
     sourceListTwo.value.pagination = { ...sourceListTwo.value.pagination, ...req };
   }
   loading.value = true;
-  proxy.post("/inOutStorage/page", sourceListTwo.value.pagination).then((res) => {
+  proxy.post("/inOutStorageBom/page", sourceListTwo.value.pagination).then((res) => {
     sourceListTwo.value.data = res.rows;
     sourceListTwo.value.pagination.total = res.total;
     setTimeout(() => {

+ 1 - 1
src/views/subsidiary/warehouse/putInStorage/index.vue

@@ -329,7 +329,7 @@ const getListTwo = async (req, status) => {
     sourceListTwo.value.pagination = { ...sourceListTwo.value.pagination, ...req };
   }
   loading.value = true;
-  proxy.post("/inOutStorage/page", sourceListTwo.value.pagination).then((res) => {
+  proxy.post("/inOutStorageBom/page", sourceListTwo.value.pagination).then((res) => {
     sourceListTwo.value.data = res.rows;
     sourceListTwo.value.pagination.total = res.total;
     setTimeout(() => {