|
|
@@ -1,43 +0,0 @@
|
|
|
-Ext.define('saas.model.purchase.prodindetail', {
|
|
|
- extend: 'saas.model.Base',
|
|
|
-
|
|
|
- fields: [
|
|
|
-
|
|
|
- { name: 'id', type: 'int' },
|
|
|
- { name: 'pd_piid', type: 'int' },
|
|
|
- { name: 'pd_inoutno', type: 'string' },
|
|
|
- { name: 'pd_piclass', type: 'string' },
|
|
|
- { name: 'pd_pdno', type: 'int' },
|
|
|
- { name: 'pd_ordercode', type: 'string' },
|
|
|
- { name: 'pd_orderdetno', type: 'int' },
|
|
|
- { name: 'pd_prodid', type: 'int' },
|
|
|
- { name: 'pd_prodcode', type: 'string' },
|
|
|
- { name: 'pd_unit', type: 'string' },
|
|
|
- { name: 'pd_inqty', type: 'int' },
|
|
|
- { name: 'pd_outqty', type: 'int' },
|
|
|
- { name: 'pd_orderprice', type: 'float' },
|
|
|
- { name: 'pd_sendprice', type: 'float' },
|
|
|
- { name: 'pd_price', type: 'float' },
|
|
|
- { name: 'pd_total', type: 'float' },
|
|
|
- { name: 'pd_taxrate', type: 'float' },
|
|
|
- { name: 'pd_qty', type: 'int' },
|
|
|
- { name: 'pd_netprice', type: 'float' },
|
|
|
- { name: 'pd_nettotal', type: 'float' },
|
|
|
- { name: 'pd_whid', type: 'int' },
|
|
|
- { name: 'pd_whcode', type: 'string' },
|
|
|
- { name: 'pd_whname', type: 'string' },
|
|
|
- { name: 'pd_inwhid', type: 'int' },
|
|
|
- { name: 'pd_inwhcode', type: 'string' },
|
|
|
- { name: 'pd_inwhname', type: 'string' },
|
|
|
- { name: 'pd_orderid', type: 'int' },
|
|
|
- { name: 'pd_sdid', type: 'int' },
|
|
|
- { name: 'pd_status', type: 'string' },
|
|
|
- { name: 'pd_ym', type: 'int' },
|
|
|
- { name: 'pd_yqty', type: 'int' },
|
|
|
- { name: 'pd_remark', type: 'string' },
|
|
|
- { name: 'pd_ioid', type: 'int' },
|
|
|
- { name: 'pd_delivery', type: 'date' }
|
|
|
- ],
|
|
|
- //一对一映射
|
|
|
- associations: [{ type: 'hasOne', model: 'saas.model.document.ProductDTO', associationKey: 'ProductDTO'}]
|
|
|
-});
|