/* * mock 存放全局静态数据 */ import Vue from 'vue'; const allMock = { test: ['静态数据'], //面单数据 order_data: { SALES_SLIP: "XS202211056", CUSTOMER_NAME: "青岛山高汽车科技服务有限公司", SALES_DATE: '2022-12-24' }, printTemplate: { "pagConfig": { "pageLeft": "0", "pageTop": "0", "pageHeight": "60", "pageWidth": "74" }, "printItem": [ { "top": "10", "left": "120", "textAlign": "start", "width": "247", "fontSize": 9, "text": "销售单", "type": "text", "fontWeight": "400", "height": "20" }, { "top": "30", "left": "10", "textAlign": "start", "width": "148", "fontSize": 9, "text": "NO.", "type": "text", "fontWeight": "20", "height": "20" }, { "dataId": "SALES_SLIP", "top": "30", "left": "30", "textAlign": "start", "width": "148", "fontSize": 9, "text": "", "type": "field", "fontWeight": "400", "height": "20" }, { "top": "50", "left": "10", "textAlign": "start", "width": "150", "fontSize": 8, "text": "客户:", "type": "text", "fontWeight": "400", "height": "20" }, { "dataId": "CUSTOMER_NAME", "top": "50", "left": "40", "textAlign": "start", "width": "160", "fontSize": 8, "text": "", "type": "field", "fontWeight": "400", "height": "20" }, { "top": "50", "left": "185", "textAlign": "start", "width": "100", "fontSize": 6, "text": "销售日期:", "type": "text", "fontWeight": "400", "height": "20" }, { "dataId": "SALES_DATE", "top": "50", "left": "220", "textAlign": "start", "width": "148", "fontSize": 6, "text": "", "type": "field", "fontWeight": "400", "height": "20" }, { "top": "70", "left": "20", "textAlign": "start", "width": "40", "fontSize": 8, "text": "产品", "type": "text", "fontWeight": "400", "height": "20" }, { "top": "70", "left": "130", "textAlign": "start", "width": "40", "fontSize": 8, "text": "数量", "type": "text", "fontWeight": "400", "height": "20" }, { "top": "70", "left": "160", "textAlign": "start", "width": "50", "fontSize": 8, "text": "单价", "type": "text", "fontWeight": "400", "height": "20" }, { "top": "70", "left": "215", "textAlign": "start", "width": "60", "fontSize": 8, "text": "金额", "type": "text", "fontWeight": "400", "height": "20" } ] } } export default allMock;