|
@@ -12,14 +12,14 @@ export default {
|
|
|
top: 25,
|
|
|
height: 27,
|
|
|
width: 640,
|
|
|
- field: "company",
|
|
|
+ field: 'company',
|
|
|
fontSize: 19,
|
|
|
- fontWeight: "600",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- textAlign: "center",
|
|
|
- lineHeight: 26,
|
|
|
+ fontWeight: '600',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ textAlign: 'center',
|
|
|
+ lineHeight: 26
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -29,14 +29,14 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 328,
|
|
|
fontSize: 12.5,
|
|
|
- title: "打印日期",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "nowDate",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '打印日期',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'nowDate',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -46,13 +46,13 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 328,
|
|
|
fontSize: 12.5,
|
|
|
- title: "打印次数",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "printNum",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '打印次数',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'printNum',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
// {
|
|
|
// "options": {
|
|
@@ -78,16 +78,15 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 640,
|
|
|
fontSize: 12.5,
|
|
|
- title: "经销商",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "customerName",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '经销商',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'customerName',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
- },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
+ },,
|
|
|
|
|
|
- ,
|
|
|
{
|
|
|
options: {
|
|
|
left: 25,
|
|
@@ -96,13 +95,13 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 150,
|
|
|
fontSize: 12.5,
|
|
|
- title: "出库单号",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "salesId",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '出库单号',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'salesId',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -112,13 +111,13 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 200,
|
|
|
fontSize: 12.5,
|
|
|
- title: "发货单号",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "invoiceId",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '发货单号',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'invoiceId',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
|
|
|
{
|
|
@@ -129,14 +128,14 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 300,
|
|
|
fontSize: 12.5,
|
|
|
- title: "仓库",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "correspondName",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '仓库',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'correspondName',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -146,13 +145,13 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 328,
|
|
|
fontSize: 12.5,
|
|
|
- title: "工程登录编号",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "refEnginRecordNo",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '工程登录编号',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'refEnginRecordNo',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -162,13 +161,13 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 410,
|
|
|
fontSize: 12.5,
|
|
|
- title: "使用单位",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "refUseUnit",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '使用单位',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'refUseUnit',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -178,75 +177,75 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 633,
|
|
|
fontSize: 12.5,
|
|
|
- title: "备注",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "headerRemark",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '备注',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'headerRemark',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text", fontSize: 8 },
|
|
|
+ printElementType: { title: '', type: 'text', fontSize: 8 }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
|
left: 23,
|
|
|
top: 123,
|
|
|
height: 410,
|
|
|
- width: 640,
|
|
|
+ width: 630,
|
|
|
fontSize: 12.5,
|
|
|
- field: "table",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
+ field: 'table',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
lineHeight: 16,
|
|
|
- tableFooterRepeat:'last',
|
|
|
+ tableFooterRepeat: 'last',
|
|
|
columns: [
|
|
|
[
|
|
|
{
|
|
|
- title: "订单号",
|
|
|
- field: "enginOrderType",
|
|
|
+ title: '订单号',
|
|
|
+ field: 'enginOrderType',
|
|
|
width: 60,
|
|
|
- align: "left",
|
|
|
+ align: 'left',
|
|
|
colspan: 1,
|
|
|
rowspan: 1,
|
|
|
- fontSize: 12.5,
|
|
|
+ fontSize: 12.5
|
|
|
},
|
|
|
{
|
|
|
- title: "发货日期",
|
|
|
- field: "createTime",
|
|
|
+ title: '发货日期',
|
|
|
+ field: 'createTime',
|
|
|
width: 50,
|
|
|
- align: "left",
|
|
|
+ align: 'left',
|
|
|
colspan: 1,
|
|
|
rowspan: 1,
|
|
|
- fontSize: 12.5,
|
|
|
+ fontSize: 12.5
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- title: "存货名称",
|
|
|
- field: "materialName",
|
|
|
+ title: '存货名称',
|
|
|
+ field: 'materialName',
|
|
|
width: 100,
|
|
|
- align: "left",
|
|
|
+ align: 'left',
|
|
|
colspan: 1,
|
|
|
rowspan: 1,
|
|
|
- fontSize: 12.5,
|
|
|
+ fontSize: 12.5
|
|
|
},
|
|
|
{
|
|
|
- title: "规格型号",
|
|
|
- field: "specification",
|
|
|
+ title: '规格型号',
|
|
|
+ field: 'specification',
|
|
|
width: 140,
|
|
|
- align: "left",
|
|
|
- overflow:"hidden",
|
|
|
+ align: 'left',
|
|
|
+ overflow: 'hidden',
|
|
|
colspan: 1,
|
|
|
rowspan: 1,
|
|
|
- fontSize: 12.5,
|
|
|
+ fontSize: 12.5
|
|
|
},
|
|
|
{
|
|
|
- title: "数量",
|
|
|
- field: "refundableQty",
|
|
|
+ title: '数量',
|
|
|
+ field: 'refundableQty',
|
|
|
width: 23,
|
|
|
- align: "center",
|
|
|
+ align: 'center',
|
|
|
colspan: 1,
|
|
|
rowspan: 1,
|
|
|
fontSize: 12.5,
|
|
|
- tableSummary: "sum",
|
|
|
+ tableSummary: 'sum'
|
|
|
},
|
|
|
// , {
|
|
|
// "title": "订单备注",
|
|
@@ -258,34 +257,34 @@ export default {
|
|
|
// "fontSize": 12.5,
|
|
|
// }
|
|
|
{
|
|
|
- title: "备注说明",
|
|
|
- field: "pjxh1Text",
|
|
|
+ title: '备注说明',
|
|
|
+ field: 'pjxh1Text',
|
|
|
width: 40,
|
|
|
- align: "left",
|
|
|
+ align: 'left',
|
|
|
colspan: 2,
|
|
|
rowspan: 1,
|
|
|
- fontSize: 12.5,
|
|
|
- },
|
|
|
- ],
|
|
|
- ],
|
|
|
+ fontSize: 12.5
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ]
|
|
|
},
|
|
|
printElementType: {
|
|
|
- title: "表格",
|
|
|
- type: "table",
|
|
|
+ title: '表格',
|
|
|
+ type: 'table',
|
|
|
editable: true,
|
|
|
- columnDisplayEditable: true,//列显示是否能编辑
|
|
|
- columnDisplayIndexEditable: true,//列顺序显示是否能编辑
|
|
|
- columnTitleEditable: true,//列标题是否能编辑
|
|
|
- columnResizable: true, //列宽是否能调整
|
|
|
- columnAlignEditable: true,//列对齐是否调整
|
|
|
- isEnableEditField: true, //编辑字段
|
|
|
- isEnableContextMenu: true, //开启右键菜单 默认true
|
|
|
- isEnableInsertRow: true, //插入行
|
|
|
- isEnableDeleteRow: true, //删除行
|
|
|
- isEnableInsertColumn: true, //插入列
|
|
|
- isEnableDeleteColumn: true, //删除列
|
|
|
- isEnableMergeCell: true, //合并单元格
|
|
|
- },
|
|
|
+ columnDisplayEditable: true, // 列显示是否能编辑
|
|
|
+ columnDisplayIndexEditable: true, // 列顺序显示是否能编辑
|
|
|
+ columnTitleEditable: true, // 列标题是否能编辑
|
|
|
+ columnResizable: true, // 列宽是否能调整
|
|
|
+ columnAlignEditable: true, // 列对齐是否调整
|
|
|
+ isEnableEditField: true, // 编辑字段
|
|
|
+ isEnableContextMenu: true, // 开启右键菜单 默认true
|
|
|
+ isEnableInsertRow: true, // 插入行
|
|
|
+ isEnableDeleteRow: true, // 删除行
|
|
|
+ isEnableInsertColumn: true, // 插入列
|
|
|
+ isEnableDeleteColumn: true, // 删除列
|
|
|
+ isEnableMergeCell: true // 合并单元格
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
{
|
|
@@ -296,14 +295,14 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 218,
|
|
|
fontSize: 12.5,
|
|
|
- title: "",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "takerName",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'takerName',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -313,14 +312,14 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 218,
|
|
|
fontSize: 12.5,
|
|
|
- title: "打单",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "createBy",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '打单',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'createBy',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -330,14 +329,14 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 218,
|
|
|
fontSize: 12.5,
|
|
|
- title: "提单",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "takerDa",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '提单',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'takerDa',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -347,14 +346,14 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 218,
|
|
|
fontSize: 12.5,
|
|
|
- title: "联系方式",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "takerPhone",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '联系方式',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'takerPhone',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -364,14 +363,14 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 218,
|
|
|
fontSize: 12.5,
|
|
|
- title: "车辆",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "pickCar",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '车辆',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'pickCar',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
{
|
|
|
options: {
|
|
@@ -381,14 +380,14 @@ export default {
|
|
|
lineHeight: 13,
|
|
|
width: 218,
|
|
|
fontSize: 12.5,
|
|
|
- title: "仓库",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "correspondNames",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '仓库',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'correspondNames',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
},
|
|
|
// {
|
|
|
// options: {
|
|
@@ -409,23 +408,23 @@ export default {
|
|
|
// },
|
|
|
{
|
|
|
options: {
|
|
|
- left: 650,
|
|
|
+ left: 610,
|
|
|
top: 410,
|
|
|
height: 13,
|
|
|
lineHeight: 13,
|
|
|
width: 218,
|
|
|
fontSize: 16,
|
|
|
- title: "",
|
|
|
- fontFamily: "黑体,宋体,微软雅黑",
|
|
|
- field: "pageNumber",
|
|
|
- testData: "",
|
|
|
- color: "#000",
|
|
|
- textAlign: "left",
|
|
|
+ title: '',
|
|
|
+ fontFamily: '黑体,宋体,微软雅黑',
|
|
|
+ field: 'pageNumber',
|
|
|
+ testData: '',
|
|
|
+ color: '#000',
|
|
|
+ textAlign: 'left'
|
|
|
},
|
|
|
- printElementType: { title: "", type: "text" },
|
|
|
- },
|
|
|
+ printElementType: { title: '', type: 'text' }
|
|
|
+ }
|
|
|
],
|
|
|
- paperNumberDisabled: true,
|
|
|
- },
|
|
|
- ],
|
|
|
-};
|
|
|
+ paperNumberDisabled: true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|