fix: supply_contract_items codes 表名修正

product_types → product_category (textfield: type_name → name)
products → product
This commit is contained in:
yumoqing 2026-07-03 16:21:59 +08:00
parent e44c84d14c
commit fcec9422ab

View File

@ -3,7 +3,9 @@
{
"name": "supply_contract_items",
"title": "供销合同产品折扣明细表",
"primary": ["id"],
"primary": [
"id"
],
"catelog": "relation"
}
],
@ -73,12 +75,18 @@
{
"name": "idx_sci_contract",
"idxtype": "index",
"idxfields": ["contract_id"]
"idxfields": [
"contract_id"
]
},
{
"name": "idx_sci_product",
"idxtype": "index",
"idxfields": ["contract_id", "prodtypeid", "productid"]
"idxfields": [
"contract_id",
"prodtypeid",
"productid"
]
}
],
"codes": [
@ -90,15 +98,15 @@
},
{
"field": "prodtypeid",
"table": "product_types",
"table": "product_category",
"valuefield": "id",
"textfield": "type_name"
"textfield": "name"
},
{
"field": "productid",
"table": "products",
"table": "product",
"valuefield": "id",
"textfield": "product_name"
}
]
}
}