Commit 1a10d08a authored by wuhao's avatar wuhao 🎯

aser

parent 3b57347f
...@@ -107,20 +107,10 @@ const Store = (props) => { ...@@ -107,20 +107,10 @@ const Store = (props) => {
"dataIndex": "storeTypeName", "dataIndex": "storeTypeName",
"key": "storeTypeName", "key": "storeTypeName",
"valueType": "select", "valueType": "select",
"options": [ "options": {
{ database: () => doFetch({ url: "/ngic-base-business/sysDic/queryStoreTypeSelect", params: {} }),
"label": "半成品库", params: {}
"value": "0" }
},
{
"label": "成品库",
"value": "1"
},
{
"label": "原材料库",
"value": "2"
}
]
}, },
{ {
"title": "工厂名", "title": "工厂名",
......
import { factorySelect } from "@/services/system"; import { factorySelect } from "@/services/system";
import { doFetch } from "@/utils/doFetch";
export default { export default {
"storeCode": { "storeCode": {
"value": null, "value": null,
...@@ -26,20 +27,10 @@ export default { ...@@ -26,20 +27,10 @@ export default {
"storeType" "storeType"
], ],
"required": true, "required": true,
"options": [ "options": {
{ database:()=>doFetch({url:"/ngic-base-business/sysDic/queryStoreTypeSelect",params:{}}),
"label":"半成品库", params:{}
"value":0 }
},
{
"label":"成品库",
"value":1
},
{
"label":"原材料库",
"value":2
}
]
}, },
"factoryId": { "factoryId": {
"value": null, "value": null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment