浏览代码

出入库页面调整

lxf 2 年之前
父节点
当前提交
88dcbed6f6

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

@@ -166,7 +166,7 @@ const getDict = () => {
 const getList = async (req) => {
   sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
   loading.value = true;
-  proxy.post("/stockJournal/page", sourceList.value.pagination).then((res) => {
+  proxy.post("/stockJournalDetails/page", sourceList.value.pagination).then((res) => {
     sourceList.value.data = res.rows;
     sourceList.value.pagination.total = res.total;
     setTimeout(() => {

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

@@ -166,7 +166,7 @@ const getDict = () => {
 const getList = async (req) => {
   sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
   loading.value = true;
-  proxy.post("/stockJournal/page", sourceList.value.pagination).then((res) => {
+  proxy.post("/stockJournalDetails/page", sourceList.value.pagination).then((res) => {
     sourceList.value.data = res.rows;
     sourceList.value.pagination.total = res.total;
     setTimeout(() => {

+ 3 - 15
src/views/purchaseSales/outAndInWarehouse/record/index.vue

@@ -35,18 +35,6 @@ const opTypeList = ref([
     label: "出库",
     value: "2",
   },
-  {
-    label: "调仓",
-    value: "3",
-  },
-  {
-    label: "入库",
-    value: "4",
-  },
-  {
-    label: "出库",
-    value: "5",
-  },
 ]);
 const typeList = ref([
   {
@@ -118,7 +106,7 @@ const sourceList = ref({
     pageNum: 1,
     pageSize: 10,
     keyword: "",
-    type: "",
+    opType: "",
     productId: "",
   },
 });
@@ -127,8 +115,8 @@ const selectConfig = computed(() => {
   return [
     {
       label: "操作类型",
-      prop: "type",
-      data: typeList.value,
+      prop: "opType",
+      data: opTypeList.value,
     },
   ];
 });

+ 2 - 2
src/views/purchaseSales/outAndInWarehouse/warehouseAdjustment/index.vue

@@ -76,7 +76,7 @@ const sourceList = ref({
     keyword: "",
     warehouseId: "",
     toWarehouseId: "",
-    type: "3",
+    type: "3,11",
   },
 });
 const loading = ref(false);
@@ -189,7 +189,7 @@ const getDict = () => {
 const getList = async (req) => {
   sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
   loading.value = true;
-  proxy.post("/stockJournal/page", sourceList.value.pagination).then((res) => {
+  proxy.post("/stockJournalDetails/page", sourceList.value.pagination).then((res) => {
     sourceList.value.data = res.rows;
     sourceList.value.pagination.total = res.total;
     setTimeout(() => {