123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- # -*- coding: utf-8 -*-
- # 供应链
- sale_order = '1'
- sale_out_store = '2'
- sale_account = '3'
- sale_invoice = '4'
- sale_return_store = '5'
- sale_receipt = '6'
- sale_cost = '7'
- sale_class_price = '8'
- sale_chargeback = '9'
- # 仓储
- other_in_store = '20'
- other_out_store = '21'
- transfer_in_store = '22'
- transfer_out_store = '23'
- stock_check = '24'
- memo_ticket = '25'
- # 采购
- purchase_in_store = '40'
- purchase_out_store = '41'
- purchase_apply = '43'
- # 设备
- spot_check_record = '60'
- repair_application = '61'
- repair_record = '62'
- maintain_record = '63'
- operation_record = '64'
- fault_record = '65'
- fault_handle_record = '66'
- maintain_plan = '67'
- # 所有单据类型
- BILL_TYPE = [
- # 销售
- (sale_order, u'销售订单'),
- (sale_out_store, u'销售出库'),
- (sale_invoice, u'销售发票'),
- (sale_account, u'销售账单'),
- (sale_chargeback, u'销售退单'),
- (sale_return_store, u'销售退库'),
- (sale_cost, u'销售费用'),
- (sale_receipt, u'销售收款'),
- # 仓储
- (other_in_store, u'其他入库'),
- (other_out_store, u'其他出库'),
- (transfer_in_store, u'调拨入库'),
- (transfer_out_store, u'调拨出库'),
- (stock_check, u'库存盘点'),
- # 采购
- (purchase_in_store, u'采购入库'),
- (purchase_out_store, u'采购出库'),
- # 设备
- (spot_check_record, u'点检单'),
- (repair_application, u'报修单'),
- (repair_record, u'维修单'),
- (maintain_record, u'保养单'),
- (operation_record, u'运行记录'),
- (fault_record, u'故障记录'),
- (fault_handle_record, u'故障处理'),
- (maintain_plan, u'保养计划'),
- ]
- # 所有单据类型对应字典
- bill_dict = {
- sale_order: 'jc_supply_chain.sale_order',
- sale_out_store: 'jc_supply_chain.sale_out_store',
- sale_chargeback: 'jc_supply_chain.sale_chargeback',
- sale_receipt: 'jc_supply_chain.sale_receipt',
- sale_cost: 'jc_supply_chain.sale_cost',
- sale_return_store: 'jc_supply_chain.sale_return',
- sale_account: 'jc_supply_chain.sale_account',
- sale_invoice: 'jc_supply_chain.sale_invoice',
- other_in_store: 'jc_supply_chain.other_in_store',
- other_out_store: 'jc_supply_chain.other_out_store',
- transfer_out_store: 'jc_supply_chain.transfer_out_store',
- transfer_in_store: 'jc_supply_chain.transfer_in_store',
- stock_check: 'jc_supply_chain.stock_check',
- purchase_in_store: 'jc_supply_chain.purchase_in_store',
- purchase_out_store: 'jc_supply_chain.purchase_out_store',
- spot_check_record: 'jc_device.spot_check_record',
- repair_application: 'jc_device.repair_application',
- repair_record: 'jc_device.repair_record',
- maintain_record: 'jc_device.maintain_record',
- operation_record: 'jc_device.operation_record',
- fault_record: 'jc_device.fault_record',
- fault_handle_record: 'jc_device.fault_handle_record',
- maintain_plan: 'jc_device.maintain_plan',
- }
|