Makematerial.js 848 B

123456789101112131415161718192021
  1. Ext.define('saas.model.stock.Makematerial', {
  2. extend: 'saas.model.Base',
  3. fields: [
  4. { name: 'id', type: 'int' },
  5. { name: 'mm_maid', type: 'int' },
  6. { name: 'mm_detno', type: 'int' },
  7. { name: 'mm_prodid', type: 'int' },
  8. { name: 'mm_prodcode', type: 'string' },
  9. { name: 'mm_whid', type: 'int' },
  10. { name: 'mm_whcode', type: 'string' },
  11. { name: 'mm_whname', type: 'string' },
  12. { name: 'mm_price', type: 'float' },
  13. { name: 'mm_oneuseqty', type: 'float' },
  14. { name: 'mm_qty', type: 'float' },
  15. { name: 'mm_amount', type: 'float' },
  16. { name: 'mm_repprodcode', type: 'string' },
  17. { name: 'mm_remark', type: 'string' }],
  18. associations: [{ type: 'hasOne', model: 'saas.model.document.ProductDTO', associationKey: 'ProductDTO'}]
  19. });