|
@@ -87,17 +87,30 @@ const formData = ref({
|
|
|
});
|
|
|
|
|
|
const getDict = () => {
|
|
|
- proxy.post("/warehouse/page", { pageNum: 1, pageSize: 9999 }).then((res) => {
|
|
|
- columns.value = res.data.rows.map((item, index) => {
|
|
|
- return {
|
|
|
- text: "ceshi来源" + index,
|
|
|
- value: index * 10,
|
|
|
- };
|
|
|
+ proxy
|
|
|
+ .post("/dictTenantData/page", {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 999,
|
|
|
+ tenantId: "@福建宏星!#¥%……&*()",
|
|
|
+ dictCode: "work_order_source",
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ columns.value = res.data.rows.map((item, index) => {
|
|
|
+ return {
|
|
|
+ text: item.dictValue,
|
|
|
+ value: item.dictKey,
|
|
|
+ };
|
|
|
+ });
|
|
|
});
|
|
|
- // formData.value.warehouseName = formData.value.warehouseId
|
|
|
- // ? columns.value.find((item) => item.value == formData.value.warehouseId).name
|
|
|
- // : null;
|
|
|
- });
|
|
|
+ // proxy.post("/warehouse/page", { pageNum: 1, pageSize: 9999 }).then((res) => {
|
|
|
+ // columns.value = res.data.rows.map((item, index) => {
|
|
|
+ // return {
|
|
|
+ // text: "ceshi来源" + index,
|
|
|
+ // value: index * 10,
|
|
|
+ // };
|
|
|
+ // });
|
|
|
+
|
|
|
+ // });
|
|
|
|
|
|
proxy
|
|
|
.post("/productInfo/page", { pageNum: 1, pageSize: 9999, definition: "1" })
|