terminalFields = [ // {isshow: "T", field: "order_no", name: "åºå·", width: "120", type:"span", required: true}, {isshow: "T",field: "begin_date", name: "开始时间", width: "100", type:"date", formatter: "formatter_date", required: true}, {isshow: "T",field: "end_date", name: "ç»“æŸæ—¶é—´", width: "100", type:"date", formatter: "formatter_date", required: true}, {isshow: "T", field: "customer_code", name: "商业编ç ", width: "150", type: "select", required: true}, {isshow: "T", field: "customer_name", name: "商业åç§°", width: "200", type:"span", required: true}, // {isshow: "T", field: "customer_person_code", name: "商业æ“作人编ç ", width: "150", type:"span", required: true}, {isshow: "T", field: "customer_person", name: "商业æ“作人", width: "100", type:"span", required: true}, {isshow: "T", field: "product_code", name: "å“ç§ç¼–ç ", width: "150", type:"select", required: true}, {isshow: "T", field: "product_name", name: "å“å", width: "200", type: "span", align: "left", required: true}, {isshow: "T", field: "spec", name: "è§„æ ¼", width: "100", type: "span", required: true}, {isshow: "T", field: "net_code", name: "网点编ç ", width: "100", type: "span",}, {isshow: "T", field: "net_name", name: "网点åç§°", width: "200", type: "select", align: "left", required: true}, {isshow: "T", field: "target_price", name: "䏿 ‡ä»·", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "origin_price", name: "商业供货价", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "gap_price", name: "补差å•ä»·", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "gap_rate", name: "补差扣率", width: "100", type: "span", required: true}, {isshow: "T", field: "pay_type", name: "支付方å¼", width: "100", type: "span", required: true}, {isshow: "T", field: "pay_time", name: "兑付周期", width: "100", align: "right", type: "select", required: true}, {isshow: "T", field: "is_agency", name: "æ˜¯å¦æ‰˜ç®¡", width: "100", align: "right", required: true}, {isshow: "T", field: "agree_no", name: "å议编ç ", width: "100", align: "right", type: "span",}, {isshow: "T", field: "remark", name: "明细备注", type: "input", width: "150"}, ]; distributionFields = [ {isshow: "T", field: "code", name: "ç¼–ç ", width: "120", type:"span", required: true}, {isshow: "T",field: "begin_date", name: "开始时间", width: "100", type:"date", formatter: "formatter_date", required: true}, {isshow: "T",field: "end_date", name: "ç»“æŸæ—¶é—´", width: "100", type:"date", formatter: "formatter_date", required: true}, {isshow: "T", field: "customer_code", name: "商业编ç ", width: "150", type: "select", required: true}, {isshow: "T", field: "customer_name", name: "商业åç§°", width: "200", type:"span", required: true}, {isshow: "T", field: "dis_customer_code", name: "分销客户编ç ", width: "150", type: "select", required: true}, {isshow: "T", field: "dis_customer_name", name: "分销客户åç§°", width: "150", type: "span", required: true}, {isshow: "T", field: "province", name: "çœä»½", width: "150", type: "select", required: true}, {isshow: "T", field: "product_code", name: "产å“ç¼–ç ", width: "150", type:"select", required: true}, {isshow: "T", field: "product_name", name: "产å“åç§°", width: "200", type: "span", align: "left", required: true}, {isshow: "T", field: "unit", name: "产å“å•ä½", width: "100", type: "span", required: true}, {isshow: "T", field: "org_name", name: "管ç†ä¸»ä½“åç§°", width: "200", type: "select", align: "left", required: true}, {isshow: "T", field: "com_attr", name: "商业属性", width: "200", type: "span", align: "left", required: true}, {isshow: "T", field: "cus_type", name: "客户身份", width: "200", type: "span", align: "left", required: true}, {isshow: "T", field: "department", name: "业务部门åç§°", width: "200", type: "select", align: "left", required: true}, {isshow: "T", field: "pay_type", name: "结算类型", width: "200", type: "select", align: "left", required: true}, {isshow: "T", field: "con_type", name: "控制类型", width: "200", type: "select", align: "left", required: false}, {isshow: "T", field: "pay_days", name: "付款天数", width: "200", type: "input", align: "left", required: false}, {isshow: "T", field: "delivery_days", name: "在途天数", width: "200", type: "span", align: "left", required: false}, {isshow: "T", field: "pay_time", name: "账期", width: "100", align: "right", type: "span", required: false}, {isshow: "T", field: "target_type", name: "䏿 ‡ç±»åž‹", width: "100", type: "select", formatter: "formatter_money", align: "right", required: false}, {isshow: "T", field: "price_target", name: "䏿 ‡ä»·æ ¼", width: "100", type: "input", formatter: "formatter_money", align: "right", required: false}, {isshow: "T", field: "price2", name: "开票é™ä»·", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "price3", name: "供货价", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "price4", name: "分销价", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "price5", name: "零售价", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "price6", name: "结算价", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "delivery_rate", name: "é…é€è´¹çއ", width: "100", type: "span", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "delivery_fee", name: "é…é€è´¹", width: "100", type: "span", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "com_rate", name: "商业扣率", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "cash_time", name: "兑付时间", width: "100", type: "input", formatter: "formatter_money", align: "right", required: false}, {isshow: "T", field: "return_type", name: "商返类型", width: "100", type: "input", formatter: "formatter_money", align: "right", required: false}, {isshow: "T", field: "discount_amount", name: "基础折让金é¢", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "customer_person11", name: "基础折让金é¢ç³»æ•°", width: "150", type:"span", required: true}, {isshow: "T", field: "product_code11", name: "商业规范æ“作折让金é¢", width: "150", type:"input", required: true}, {isshow: "T", field: "spec11", name: "商业规范æ“作折让金é¢ç³»æ•°", width: "200", type: "span", required: true}, {isshow: "T", field: "net_code11", name: "年度任务数é‡", width: "100", type: "input",}, {isshow: "T", field: "net_name11", name: "年度折让金é¢", width: "200", type: "input", align: "left", required: true}, {isshow: "T", field: "target_price11", name: "年度折让金é¢ç³»æ•°", width: "150", type: "span", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "origin_price11", name: "库å˜ç®¡ç†é‡‘é¢", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "gap_price11", name: "库å˜ç®¡ç†é‡‘é¢ç³»æ•°", width: "150", type: "span", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "gap_rate11", name: "项目折让金é¢", width: "100", type: "input", required: true}, {isshow: "T", field: "pay_type11", name: "项目折让系数", width: "150", type: "span", required: true}, {isshow: "T", field: "is_agency11", name: "折让å°è®¡", width: "100", type: "span", align: "right", required: true}, {isshow: "T", field: "agree_no11", name: "折让比率", width: "100", type: "span", align: "right", type: "span", required: true}, {isshow: "T", field: "remark11", name: "备注", type: "input", width: "150"}, ]; frontFields = [ {isshow: "T",field: "begin_date", name: "开始时间", width: "100", type:"date", formatter: "formatter_date", required: true}, {isshow: "T",field: "end_date", name: "ç»“æŸæ—¶é—´", width: "100", type:"date", formatter: "formatter_date", required: true}, {isshow: "T", field: "province", name: "çœä»½", width: "200", type: "select", align: "left", required: true}, {isshow: "T", field: "customer_code", name: "商业编ç ", width: "150", type: "select", required: true}, {isshow: "T", field: "customer_name", name: "商业åç§°", width: "200", type:"span", required: true}, {isshow: "T", field: "net_code", name: "网点编ç ", width: "100", type: "select", required: true,}, {isshow: "T", field: "net_name", name: "网点åç§°", width: "200", type: "select", align: "left", required: true},// {isshow: "T", field: "customer_person_code", name: "商业æ“作人编ç ", width: "150", type:"span", required: true}, {isshow: "T", field: "product_code", name: "产å“ç¼–ç ", width: "150", type:"select", required: true}, {isshow: "T", field: "product_name", name: "产å“åç§°", width: "200", type: "span", align: "left", required: true}, {isshow: "T", field: "production_spec", name: "产å“è§„æ ¼", width: "150", type: "span", required: true,}, {isshow: "T", field: "origin_price", name: "供货价", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "target_price", name: "零售价", width: "100", type: "input", formatter: "formatter_money", align: "right", required: true}, {isshow: "T", field: "spec", name: "推èç‰çº§", width: "100", type: "span", required: true}, {isshow: "T", field: "gap_price1", name: "å•ç›’è´¹ç”¨æ ‡å‡†", width: "100", type: "input", formatter: "formatter_money", align: "right",required: true, tablegroupname: "å‰å°æ”¿ç–", notvalunit: true}, {isshow: "T", field: "pay_type1", name: "兑付方å¼", width: "100", type: "span",required: true, tablegroupname: "å‰å°æ”¿ç–", notvalunit: true}, {isshow: "T", field: "gap_price2", name: "å•ç›’è´¹ç”¨æ ‡å‡†", width: "100", type: "input", formatter: "formatter_money", align: "right", tablegroupname: "月度返利", notvalunit: true}, {isshow: "T", field: "pay_type2", name: "兑付方å¼", width: "100", type: "span", tablegroupname: "月度返利", notvalunit: true}, {isshow: "T", field: "pay_require2", name: "å…‘ä»˜è¦æ±‚", width: "100", type: "span", tablegroupname: "月度返利", notvalunit: true}, {isshow: "T", field: "gap_price3", name: "å•ç›’è´¹ç”¨æ ‡å‡†", width: "100", type: "input", formatter: "formatter_money", align: "right", tablegroupname: "å£åº¦è¿”利", notvalunit: true}, {isshow: "T", field: "pay_type3", name: "兑付方å¼", width: "100", type: "span", tablegroupname: "å£åº¦è¿”利", notvalunit: true}, {isshow: "T", field: "pay_require3", name: "å…‘ä»˜è¦æ±‚", width: "100", type: "span", tablegroupname: "å£åº¦è¿”利", notvalunit: true}, {isshow: "T", field: "gap_price4", name: "å•ç›’è´¹ç”¨æ ‡å‡†", width: "100", type: "input", formatter: "formatter_money", align: "right", tablegroupname: "年度返利", notvalunit: true}, {isshow: "T", field: "pay_type4", name: "兑付方å¼", width: "100", type: "span", tablegroupname: "年度返利", notvalunit: true}, {isshow: "T", field: "pay_require4", name: "å…‘ä»˜è¦æ±‚", width: "100", type: "span", tablegroupname: "年度返利", notvalunit: true}, {isshow: "T", field: "first_quarter", name: "一å£åº¦ï¼ˆç›’)", width: "100", type: "span", tablegroupname: "å议销售任务",}, {isshow: "T", field: "second_quarter", name: "二å£åº¦ï¼ˆç›’)", width: "100", type: "span", tablegroupname: "å议销售任务",}, {isshow: "T", field: "third_quarter", name: "三å£åº¦ï¼ˆç›’)", width: "100", align: "right", type: "select", tablegroupname: "å议销售任务",}, {isshow: "T", field: "forth_quarter", name: "å››å£åº¦ï¼ˆç›’)", width: "100", align: "right", tablegroupname: "å议销售任务",}, {isshow: "T", field: "sum", name: "å°è®¡ï¼ˆç›’)", width: "100", align: "right", type: "span", tablegroupname: "å议销售任务",}, {isshow: "T", field: "protocol_task", name: "å议任务(金é¢ï¼‰", width: "150", align: "right", type: "span", tablegroupname: "å议销售任务",}, {isshow: "T", field: "first_quarter2", name: "一å£åº¦ï¼ˆç›’)", width: "100", type: "span", tablegroupname: "å议净销任务",}, {isshow: "T", field: "second_quarter2", name: "二å£åº¦ï¼ˆç›’)", width: "100", type: "span", tablegroupname: "å议净销任务",}, {isshow: "T", field: "third_quarter2", name: "三å£åº¦ï¼ˆç›’)", width: "100", align: "right", type: "select", tablegroupname: "å议净销任务",}, {isshow: "T", field: "forth_quarter2", name: "å››å£åº¦ï¼ˆç›’)", width: "100", align: "right", tablegroupname: "å议净销任务",}, {isshow: "T", field: "sum2", name: "å°è®¡ï¼ˆç›’)", width: "100", align: "right", type: "span", tablegroupname: "å议净销任务",}, {isshow: "T", field: "remark", name: "备注", type: "input", width: "150"}, ]; flowFields = [ {isshow: "T", field: "end_date", name: "ç»“æŸæ—¶é—´", width: "100", type:"date", formatter: "formatter_date"}, {isshow: "T", field: "delivery_name", name: "å‘货主体", width: "200", type:"span",}, {isshow: "T", field: "customer_code", name: "商业编ç ", width: "150", type: "select",}, {isshow: "T", field: "customer_name", name: "商业åç§°", width: "200", type:"span",}, {isshow: "T", field: "product_code", name: "å“ç§ç¼–ç ", width: "150", type:"select",}, {isshow: "T", field: "spec", name: "è§„æ ¼", width: "100", type: "span",}, {isshow: "T", field: "qty", name: "èµ è¯æ•°é‡", width: "100", type: "span",}, {isshow: "T", field: "price", name: "供货价", width: "100", type: "input", formatter: "formatter_money", align: "right"}, {isshow: "T", field: "discount", name: "折扣金é¢", width: "100", type: "input", formatter: "formatter_money", align: "right"}, {isshow: "T", field: "unit", name: "èµ è¯å•ä½", width: "100", type: "span",}, {isshow: "T", field: "second_price", name: "二级商业供货价", width: "150", type: "input", formatter: "formatter_money", align: "right"}, {isshow: "T", field: "store", name: "èµ è¯è¯åº—", width: "100", type: "span",}, {isshow: "T", field: "store_price", name: "è¯åº—供货价", width: "100", type: "input", formatter: "formatter_money", align: "right"}, {isshow: "T", field: "hospital_code", name: "医院编ç ", width: "150", type: "select",}, {isshow: "T", field: "hospital_name", name: "医院åç§°", width: "200", type:"span",}, {isshow: "T", field: "pay_type", name: "支付方å¼", width: "100", type: "span"}, {isshow: "T", field: "policy", name: "èµ è¯æ”¿ç–", width: "100", type: "span"}, {isshow: "T", field: "remark", name: "明细备注", type: "input", width: "150"}, ]; payFields = [ {isshow: "T", field: "order_no", name: "åºå·", width: "120", type:"span",}, {isshow: "T", field: "apply_date", name: "申请日期", type:"span", formatter: "formatter_date"}, {isshow: "T", field: "employee_code", name: "申请人编å·", width: "150",}, {isshow: "T", field: "apply_name", name: "申请人", type:"span", }, {isshow: "T", field: "department", name: "申请部门", type:"span", }, {isshow: "T", field: "apply_province", name: "申请çœä»½", type:"select", }, {isshow: "T", field: "end_date", name: "ç»“æŸæ—¶é—´", width: "100", type:"date", formatter: "formatter_date"}, {isshow: "T", field: "delivery_name", name: "å‘货主体", width: "200", type:"span",}, {isshow: "T", field: "customer_code", name: "商业编ç ", width: "150", type: "select",}, {isshow: "T", field: "customer_name", name: "商业åç§°", width: "200", type:"span",}, {isshow: "T", field: "product_code", name: "å“ç§ç¼–ç ", width: "150", type:"select",}, {isshow: "T", field: "spec", name: "è§„æ ¼", width: "100", type: "span",}, {isshow: "T", field: "qty", name: "èµ è¯æ•°é‡", width: "100", type: "span",}, {isshow: "T", field: "price", name: "供货价", width: "100", type: "input", formatter: "formatter_money", align: "right"}, {isshow: "T", field: "discount", name: "折扣金é¢", width: "100", type: "input", formatter: "formatter_money", align: "right"}, {isshow: "T", field: "unit", name: "èµ è¯å•ä½", width: "100", type: "span",}, {isshow: "T", field: "second_price", name: "二级商业供货价", width: "150", type: "input", formatter: "formatter_money", align: "right"}, {isshow: "T", field: "store", name: "èµ è¯è¯åº—", width: "100", type: "span",}, {isshow: "T", field: "store_price", name: "è¯åº—供货价", width: "100", type: "input", formatter: "formatter_money", align: "right"}, {isshow: "T", field: "hospital_code", name: "医院编ç ", width: "150", type: "select",}, {isshow: "T", field: "hospital_name", name: "医院åç§°", width: "200", type:"span",}, {isshow: "T", field: "pay_type", name: "支付方å¼", width: "100", type: "span"}, // {isshow: "T", field: "policy", name: "èµ è¯æ”¿ç–", width: "100", type: "span"}, {isshow: "T", field: "remark", name: "明细备注", type: "input", width: "150"}, ]; returnFields = [ {isshow: "T", field: "delivery_no", name: "工厂å‘è´§å•å·", width: "200", type:"span",}, {isshow: "T", field: "predelivery_date", name: "原å‘货日期", type:"date", width: "200", formatter: "formatter_date"}, {isshow: "T", field: "medicine_name", name: "è¯å“åç§°", width: "200",}, {isshow: "T", field: "medicine_no", name: "è¯å“ç¼–å·", width: "200", type: "span",}, {isshow: "T", field: "medicine_spec", name: "è¯å“è§„æ ¼", width:"200",type:"span", }, {isshow: "T", field: "receive_num", name: "已收货数é‡", width:"100", type:"span", }, {isshow: "T", field: "return_num", name: "已退货数é‡", width: "100", type:"span"}, {isshow: "T", field: "delivery_name", name: "æ¤æ¬¡é€€è´§æ•°é‡", width: "100", type:"span",}, {isshow: "T", field: "unitprice", name: "å•ä»·", width: "100", type: "span", formatter: "formatter_money"}, {isshow: "T", field: "return_amount", name: "退货金é¢", width: "150", type:"input", formatter: "formatter_money"}, {isshow: "T", field: "return_charge", name: "退货责任人", width: "100", type:"span",}, {isshow: "T", field: "batch_number", name: "批å·", width: "100", type: "span",}, {isshow: "T", field: "return_reason", name: "é€€è´§åŽŸå› ", width: "100", type: "input",}, ]; writeoffFields = [ {isshow: "T", field: "order_no", name: "åºå·", width: "120", type:"span",}, {isshow: "T", field: "writeoff_no", name: "销账å•å•å·", width: "150", type:"span",}, {isshow: "T", field: "writeoff_date", name: "é”€è´¦å•æ—¥æœŸ", width: "150", formatter: "formatter_date"}, {isshow: "T", field: "accountset_no", name: "账套å·", type:"span", }, {isshow: "T", field: "accountset_name", name: "账套åç§°", width: "150", type:"span", }, {isshow: "T", field: "refund_no", name: "回款å•å·", width: "200", type:"select", }, {isshow: "T", field: "customer_code", name: "客户编ç ", width: "200", type: "select",}, {isshow: "T", field: "customer_name", name: "客户åç§°", width: "200", type: "span",}, {isshow: "T", field: "dept_no", name: "部门编å·", width: "300", type: "span",}, {isshow: "T", field: "dept_name", name: "部门åç§°", width: "200", type: "span",}, {isshow: "T", field: "check_status", name: "å®¡æ ¸çŠ¶æ€", width: "100", type: "select",}, {isshow: "T", field: "create_date", name: "创建时间", width: "150", type:"date", formatter: "formatter_date"}, {isshow: "T", field: "modify_date", name: "修改时间", width: "150", type:"date", formatter: "formatter_date"}, {isshow: "T", field: "stock_code", name: "å˜è´§ç¼–ç ", width: "200", type:"select",}, {isshow: "T", field: "stock_name", name: "å˜è´§åç§°", width: "200", type:"span",}, {isshow: "T", field: "spec", name: "è§„æ ¼", width: "200", type: "span",}, {isshow: "T", field: "settle_type", name: "结算方å¼", width: "100", type:"span",}, {isshow: "T", field: "deliveryU8_no", name: "å‘è´§å•å·(U8)", width: "150", type: "span",}, {isshow: "T", field: "deliverysale_no", name: "å‘è´§å•å·(销管)", width: "150", type: "span",}, {isshow: "T", field: "writeoff_num", name: "æœ¬æ¬¡æ ¸é”€æ•°é‡", width: "100", type:"input"}, {isshow: "T", field: "writeoff_amount", name: "æœ¬æ¬¡æ ¸é”€é‡‘é¢", width: "100", type: "input", formatter: "formatter_money", align: "right"}, ]; // é¢„ç•™å—æ®µ reserveFields = [ {isshow: "T", field: "field_r001", name: "é¢„ç•™å—æ®µ001", width: "120", fieldtype:"yl"}, {isshow: "T", field: "field_r002", name: "é¢„ç•™å—æ®µ002", width: "150", fieldtype:"yl"}, {isshow: "T", field: "field_r003", name: "é¢„ç•™å—æ®µ003", width: "150", fieldtype:"yl"}, {isshow: "T", field: "field_r004", name: "é¢„ç•™å—æ®µ004", width: "150", fieldtype:"yl"}, {isshow: "T", field: "field_r005", name: "é¢„ç•™å—æ®µ005", width: "150", fieldtype:"yl"}, {isshow: "T", field: "field_r018", name: "é¢„ç•™å—æ®µ018", width: "150", fieldtype:"yl"}, {isshow: "T", field: "field_r006", name: "é¢„ç•™å—æ®µ006", width: "200", fieldtype:"yl"}, {isshow: "T", field: "field_r007", name: "é¢„ç•™å—æ®µ007", width: "200", fieldtype:"yl"}, {isshow: "T", field: "field_r008", name: "é¢„ç•™å—æ®µ008", width: "200", fieldtype:"yl"}, {isshow: "T", field: "field_r009", name: "é¢„ç•™å—æ®µ009", width: "300", fieldtype:"yl"}, {isshow: "T", field: "field_r010", name: "é¢„ç•™å—æ®µ010", width: "200", fieldtype:"yl"}, {isshow: "T", field: "field_r011", name: "é¢„ç•™å—æ®µ011", width: "100", fieldtype:"yl"}, {isshow: "T", field: "field_r012", name: "é¢„ç•™å—æ®µ012", width: "150", fieldtype:"yl"}, {isshow: "T", field: "field_r013", name: "é¢„ç•™å—æ®µ013", width: "150", fieldtype:"yl"}, {isshow: "T", field: "field_r014", name: "é¢„ç•™å—æ®µ014", width: "200", fieldtype:"yl"}, {isshow: "T", field: "field_r015", name: "é¢„ç•™å—æ®µ015", width: "200", fieldtype:"yl"}, {isshow: "T", field: "field_r016", name: "é¢„ç•™å—æ®µ016", width: "200", fieldtype:"yl"}, {isshow: "T", field: "field_r017", name: "é¢„ç•™å—æ®µ017", width: "100", fieldtype:"yl"}, {isshow: "T", field: "field_r019", name: "é¢„ç•™å—æ®µ019", width: "150", fieldtype:"yl"}, {isshow: "T", field: "field_r020", name: "é¢„ç•™å—æ®µ020", width: "100", fieldtype:"yl"}, {isshow: "T", field: "field_r021", name: "é¢„ç•™å—æ®µ021", width: "100", fieldtype:"yl"}, ];