|
@@ -44,6 +44,24 @@ const status = ref([
|
|
|
value: 2,
|
|
|
},
|
|
|
]);
|
|
|
+const businessType = ref([
|
|
|
+ {
|
|
|
+ label: "线边回仓",
|
|
|
+ value: 1,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "完工入库",
|
|
|
+ value: 2,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "采购到货",
|
|
|
+ value: 3,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "退货出库",
|
|
|
+ value: 4,
|
|
|
+ },
|
|
|
+]);
|
|
|
const sourceList = ref({
|
|
|
data: [],
|
|
|
pagination: {
|
|
@@ -70,9 +88,12 @@ const config = computed(() => {
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "数据来源",
|
|
|
- prop: "aaaaaaa",
|
|
|
+ prop: "businessType",
|
|
|
width: 120,
|
|
|
},
|
|
|
+ render(type) {
|
|
|
+ return proxy.dictValueLabel(type, businessType.value);
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
@@ -172,7 +193,7 @@ const getDict = () => {
|
|
|
const getList = async (req) => {
|
|
|
sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
|
loading.value = true;
|
|
|
- proxy.post("/stockWait/page", sourceList.value.pagination).then((res) => {
|
|
|
+ proxy.post("/stockWaitDetails/page", sourceList.value.pagination).then((res) => {
|
|
|
sourceList.value.data = res.rows;
|
|
|
sourceList.value.pagination.total = res.total;
|
|
|
setTimeout(() => {
|
|
@@ -200,11 +221,11 @@ const formConfig = computed(() => {
|
|
|
label: "待出库信息",
|
|
|
},
|
|
|
{
|
|
|
- type: "input",
|
|
|
- prop: "aaaaaaa",
|
|
|
+ type: "select",
|
|
|
+ prop: "businessType",
|
|
|
label: "数据来源",
|
|
|
- itemType: "text",
|
|
|
disabled: true,
|
|
|
+ data: businessType.value,
|
|
|
},
|
|
|
{
|
|
|
type: "input",
|