cz 1 rok pred
rodič
commit
2f89df4477

+ 11 - 9
src/views/purchaseManage/purchaseManage/handoverSlipOne/index.vue

@@ -103,12 +103,15 @@ const sourceList = ref({
     total: 3,
     pageNum: 1,
     pageSize: 10,
-    status: "15",
+    isReceived: "",
+    dataType: "",
+    purchaseStatus: "",
   },
 });
-const isReceivedArr = ref([
-  { label: "是", value: "1" },
-  { label: "否", value: "0" },
+const purchaseStatus = ref([
+  { label: "未采购", value: "0" },
+  { label: "部分采购", value: "1" },
+  { label: "已采购", value: "2" },
 ]);
 const corporationArr = ref([]);
 const selectConfig = computed(() => [
@@ -119,8 +122,8 @@ const selectConfig = computed(() => [
   },
   {
     label: "采购状态",
-    prop: "isReceived",
-    data: isReceivedArr.value,
+    prop: "purchaseStatus",
+    data: purchaseStatus.value,
   },
 ]);
 const config = computed(() => {
@@ -157,7 +160,6 @@ const config = computed(() => {
         prop: "userName",
       },
     },
-
     {
       attrs: {
         label: "产品编码",
@@ -173,7 +175,7 @@ const config = computed(() => {
     {
       attrs: {
         label: "规格型号",
-        prop: "productName",
+        prop: "productSpec",
       },
     },
     {
@@ -189,7 +191,7 @@ const config = computed(() => {
     {
       attrs: {
         label: "销售数量",
-        prop: "expendQuantity",
+        prop: "quantity",
         width: "110",
       },
     },