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