fix: supply_contract_items codes 表名修正
product_types → product_category (textfield: type_name → name) products → product
This commit is contained in:
parent
e44c84d14c
commit
fcec9422ab
@ -3,7 +3,9 @@
|
|||||||
{
|
{
|
||||||
"name": "supply_contract_items",
|
"name": "supply_contract_items",
|
||||||
"title": "供销合同产品折扣明细表",
|
"title": "供销合同产品折扣明细表",
|
||||||
"primary": ["id"],
|
"primary": [
|
||||||
|
"id"
|
||||||
|
],
|
||||||
"catelog": "relation"
|
"catelog": "relation"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -73,12 +75,18 @@
|
|||||||
{
|
{
|
||||||
"name": "idx_sci_contract",
|
"name": "idx_sci_contract",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"idxfields": ["contract_id"]
|
"idxfields": [
|
||||||
|
"contract_id"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_sci_product",
|
"name": "idx_sci_product",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"idxfields": ["contract_id", "prodtypeid", "productid"]
|
"idxfields": [
|
||||||
|
"contract_id",
|
||||||
|
"prodtypeid",
|
||||||
|
"productid"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"codes": [
|
"codes": [
|
||||||
@ -90,15 +98,15 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"field": "prodtypeid",
|
"field": "prodtypeid",
|
||||||
"table": "product_types",
|
"table": "product_category",
|
||||||
"valuefield": "id",
|
"valuefield": "id",
|
||||||
"textfield": "type_name"
|
"textfield": "name"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"field": "productid",
|
"field": "productid",
|
||||||
"table": "products",
|
"table": "product",
|
||||||
"valuefield": "id",
|
"valuefield": "id",
|
||||||
"textfield": "product_name"
|
"textfield": "product_name"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user