dct 7 месяцев назад
Родитель
Сommit
c57268f0fc

+ 53 - 266
src/pages/systemSetting/printManage/horizen.js

@@ -12,7 +12,7 @@ export default {
   },
   elements: [
     {
-      type: 'sign',
+      type: 'otaSourceName',
       name: '渠道标识',
       style: {
         fontSize: '14px',
@@ -20,46 +20,37 @@ export default {
         left: '518px',
         top: '10px',
         position: 'absolute',
-        format: '渠道标识:'
+        format: '渠道标识:',
+        display: 'none'
       }
     },
     {
-      type: 'orderId',
+      type: 'orderNo',
       name: '订单号',
       style: {
         fontSize: '14px',
         fontWeight: 'bold',
-        left: '14px',
-        top: '10px',
-        position: 'absolute',
-        width: '270px',
-        format: '订单号:'
-      }
-    },
-    {
-      type: 'ticketId',
-      name: '票号',
-      style: {
-        fontSize: '14px',
-        fontWeight: 'bold',
-        left: '14px',
-        top: '35px',
+        left: '389px',
+        top: '208px',
         position: 'absolute',
         width: '270px',
-        format: '票号:'
+        format: '订单号:',
+        textAlign: 'center',
+        display: 'none'
       }
     },
     {
-      type: 'ticketSeqId',
-      name: '序列号',
+      type: 'ticketNum',
+      name: '票数',
       style: {
         fontSize: '14px',
         fontWeight: 'bold',
-        left: '14px',
-        top: '135px',
+        left: '424px',
+        top: '207px',
         position: 'absolute',
         width: '270px',
-        format: '序列号:'
+        format: '票号:',
+        display: 'block'
       }
     },
     {
@@ -69,16 +60,17 @@ export default {
         fontSize: '14px',
         textAlign: 'left',
         fontWeight: 'bold',
-        left: '14px',
-        top: '60px',
+        left: '425px',
+        top: '24px',
         width: '250px',
         position: 'absolute',
-        format: '出票时间:'
+        format: '出票时间:',
+        display: 'none'
       }
     },
     {
-      type: 'guestName',
-      name: '游客',
+      type: 'buyerName',
+      name: '购买方名称',
       style: {
         fontSize: '14px',
         fontWeight: 'bold',
@@ -92,7 +84,7 @@ export default {
       }
     },
     {
-      type: 'seller',
+      type: 'saleAdminName',
       name: '售票员',
       style: {
         fontSize: '16px',
@@ -106,8 +98,8 @@ export default {
       }
     },
     {
-      type: 'agency',
-      name: '旅行社',
+      type: 'payChannel',
+      name: '支付方式',
       style: {
         fontSize: '16px',
         fontWeight: 'bold',
@@ -120,46 +112,18 @@ export default {
       }
     },
     {
-      type: 'scenic',
-      name: '景点信息',
-      style: {
-        fontSize: '14px',
-        fontWeight: 'bold',
-        left: '14px',
-        top: '88px',
-        position: 'absolute',
-        width: '270px',
-        format: '景点信息:',
-        number: 2,
-        direction: 'inline' // column
-      }
-    },
-    {
-      type: 'scenics',
-      name: '多景点显示',
-      style: {
-        fontSize: '14px',
-        fontWeight: 'bold',
-        left: '14px',
-        top: '224px',
-        position: 'absolute',
-        width: '360px',
-        display: 'none',
-        format: '多景点显示:'
-      }
-    },
-    {
-      type: 'ticketTitle',
+      type: 'ticketTypeName',
       name: '票种名称',
       style: {
         fontSize: '16px',
         textAlign: 'center',
         fontWeight: 'bold',
-        left: '364px',
-        top: '36px',
+        left: '398px',
+        top: '77px',
         width: '250px',
         position: 'absolute',
-        format: ''
+        format: '',
+        display: 'block'
       }
     },
     {
@@ -170,58 +134,27 @@ export default {
         textAlign: 'center',
         marginTop: '10px',
         fontWeight: 'bold',
-        left: '364px',
-        top: '50px',
-        height: '126px',
-        width: '250px',
+        left: '407px',
+        top: '92px',
+        height: '105px',
+        width: '230px',
         position: 'absolute',
         format: '二维码:'
       }
     },
     {
-      type: 'invoiceQrcode',
-      name: '发票二维码',
-      style: {
-        fontSize: '16px',
-        textAlign: 'center',
-        marginTop: '10px',
-        fontWeight: 'bold',
-        left: '15px',
-        top: '180px',
-        height: '89px',
-        width: '89px',
-        position: 'absolute',
-        format: '发票二维码'
-      }
-    },
-    {
-      type: 'allInvoiceQrcode',
-      name: '统一开票入口',
-      style: {
-        fontSize: '16px',
-        textAlign: 'center',
-        marginTop: '10px',
-        fontWeight: 'bold',
-        left: '15px',
-        top: '180px',
-        height: '89px',
-        width: '89px',
-        position: 'absolute',
-        format: '统一开票入口'
-      }
-    },
-    {
-      type: 'des',
+      type: 'playDateBegin',
       name: '游玩日期',
       style: {
         fontSize: '14px',
         textAlign: 'center',
         fontWeight: 'bold',
-        left: '364px',
-        top: '205px',
+        left: '398px',
+        top: '230px',
         width: '250px',
         position: 'absolute',
-        format: '游玩日期:'
+        format: '出票日期:',
+        display: 'block'
       }
     },
     {
@@ -231,11 +164,12 @@ export default {
         fontSize: '14px',
         textAlign: 'center',
         fontWeight: 'bold',
-        left: '364px',
-        top: '225px',
+        left: '405px',
+        top: '249px',
         width: '250px',
         position: 'absolute',
-        format: '检票人数:'
+        format: '检票人数:',
+        display: 'block'
       }
     },
     {
@@ -259,15 +193,15 @@ export default {
       name: '备注',
       style: {
         minWidth: '100px',
-        fontSize: '14px',
+        fontSize: '18px',
         textAlign: 'center',
         fontWeight: 'bold',
-        left: '364px',
-        top: '209px',
-        width: '250px',
+        left: '402px',
+        top: '48px',
+        width: '247px',
         display: 'none',
         position: 'absolute',
-        format: '备注:'
+        format: ' '
       }
     },
     {
@@ -287,19 +221,18 @@ export default {
       }
     },
     {
-      type: 'queueSerialNumber',
-      name: '排队序列号',
+      type: 'batchConfigName',
+      name: '场次',
       style: {
-        minWidth: '100px',
         fontSize: '14px',
         textAlign: 'center',
         fontWeight: 'bold',
         left: '364px',
-        top: '209px',
+        top: '185px',
         width: '250px',
         display: 'none',
         position: 'absolute',
-        format: '排队序列号:'
+        format: '场次:'
       }
     },
     {
@@ -317,138 +250,6 @@ export default {
         format: '价格方案:'
       }
     },
-    {
-      type: 'batch',
-      name: '场次',
-      style: {
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '364px',
-        top: '185px',
-        width: '250px',
-        display: 'none',
-        position: 'absolute',
-        format: '场次:'
-      }
-    },
-    {
-      type: 'serialNumber',
-      name: '场次内序号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '18px',
-        top: '120px',
-        width: '180px',
-        display: 'none',
-        position: 'absolute'
-      }
-    },
-    {
-      type: 'schedule',
-      name: '班次',
-      style: {
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '364px',
-        top: '205px',
-        width: '250px',
-        display: 'none',
-        position: 'absolute',
-        format: '班次:'
-      }
-    },
-    {
-      type: 'scheduleSerialNumber',
-      name: '班次内序号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '18px',
-        top: '140px',
-        width: '180px',
-        display: 'none',
-        position: 'absolute'
-      }
-    },
-    {
-      type: 'areaName',
-      name: '区域',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '13px',
-        top: '110px',
-        width: '250px',
-        display: 'none',
-        position: 'absolute',
-        format: '区域:'
-      }
-    },
-    {
-      type: 'performName',
-      name: '节目名',
-      style: {
-        fontSize: '14px',
-        fontWeight: 'bold',
-        left: '375px',
-        top: '25px',
-        position: 'absolute',
-        width: '222px',
-        display: 'none',
-        format: '节目:'
-      }
-    },
-    {
-      type: 'seatNameNew',
-      name: '座位名',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '13px',
-        top: '110px',
-        width: '50px',
-        display: 'none',
-        position: 'absolute',
-        format: '座位:'
-      }
-    },
-    {
-      type: 'rowTag',
-      name: '排号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '460px',
-        top: '180px',
-        width: '50px',
-        display: 'none',
-        position: 'absolute',
-        format: '排'
-      }
-    },
-    {
-      type: 'seatName',
-      name: '座位号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '490px',
-        top: '180px',
-        width: '50px',
-        display: 'none',
-        position: 'absolute',
-        format: '座'
-      }
-    },
     {
       type: 'price',
       name: '价格',
@@ -456,8 +257,8 @@ export default {
         fontSize: '18px',
         textAlign: 'center',
         fontWeight: 'bold',
-        left: '364px',
-        top: '258px',
+        left: '403px',
+        top: '268px',
         width: '250px',
         position: 'absolute',
         format: '价格'
@@ -477,20 +278,6 @@ export default {
         display: 'none',
         format: '单价'
       }
-    },
-    {
-      type: 'num',
-      name: '序号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '364px',
-        top: '276px',
-        width: '250px',
-        position: 'absolute',
-        format: '序号:'
-      }
     }
   ]
 }

+ 7 - 217
src/pages/systemSetting/printManage/vertical.js

@@ -11,7 +11,7 @@ export default {
   },
   elements: [
     {
-      type: 'sign',
+      type: 'otaSourceName',
       name: '渠道标识',
       style: {
         fontSize: '14px',
@@ -23,7 +23,7 @@ export default {
       }
     },
     {
-      type: 'orderId',
+      type: 'orderNo',
       name: '订单号',
       style: {
         fontSize: '16px',
@@ -90,7 +90,7 @@ export default {
       }
     },
     {
-      type: 'seller',
+      type: 'saleAdminName',
       name: '售票员',
       style: {
         fontSize: '16px',
@@ -104,7 +104,7 @@ export default {
       }
     },
     {
-      type: 'agency',
+      type: 'teamName',
       name: '旅行社',
       style: {
         fontSize: '16px',
@@ -118,36 +118,7 @@ export default {
       }
     },
     {
-      type: 'scenic',
-      name: '景点信息',
-      style: {
-        fontSize: '16px',
-        fontWeight: 'bold',
-        left: '17px',
-        top: '95px',
-        position: 'absolute',
-        width: '270px',
-        format: '景点信息:',
-        number: 2,
-        direction: 'inline' // column
-      }
-    },
-    {
-      type: 'scenics',
-      name: '多景点显示',
-      style: {
-        fontSize: '14px',
-        fontWeight: 'bold',
-        left: '14px',
-        top: '339px',
-        position: 'absolute',
-        width: '250px',
-        display: 'none',
-        format: '多景点显示:'
-      }
-    },
-    {
-      type: 'ticketTitle',
+      type: 'ticketTypeName',
       name: '票种名称',
       style: {
         fontSize: '18px',
@@ -177,39 +148,7 @@ export default {
       }
     },
     {
-      type: 'invoiceQrcode',
-      name: '发票二维码',
-      style: {
-        fontSize: '16px',
-        textAlign: 'center',
-        marginTop: '10px',
-        fontWeight: 'bold',
-        left: '0px',
-        top: '150px',
-        height: '136px',
-        width: '300px',
-        position: 'absolute',
-        format: '发票二维码'
-      }
-    },
-    {
-      type: 'allInvoiceQrcode',
-      name: '统一开票入口',
-      style: {
-        fontSize: '16px',
-        textAlign: 'center',
-        marginTop: '10px',
-        fontWeight: 'bold',
-        left: '0px',
-        top: '150px',
-        height: '136px',
-        width: '300px',
-        position: 'absolute',
-        format: '统一开票入口'
-      }
-    },
-    {
-      type: 'des',
+      type: 'playDateBegin',
       name: '游玩日期',
       style: {
         fontSize: '14px',
@@ -284,22 +223,6 @@ export default {
         format: '固定文字'
       }
     },
-    {
-      type: 'queueSerialNumber',
-      name: '排队序列号',
-      style: {
-        minWidth: '100px',
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '0px',
-        top: '310px',
-        width: '300px',
-        display: 'none',
-        position: 'absolute',
-        format: '排队序列号:'
-      }
-    },
     {
       type: 'pricePlan',
       name: '价格方案',
@@ -317,7 +240,7 @@ export default {
       }
     },
     {
-      type: 'batch',
+      type: 'batchConfigName',
       name: '场次',
       style: {
         minWidth: '100px',
@@ -332,125 +255,6 @@ export default {
         format: '场次:'
       }
     },
-    {
-      type: 'serialNumber',
-      name: '场次内序号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '106px',
-        top: '415px',
-        width: '115px',
-        display: 'none',
-        position: 'absolute'
-      }
-    },
-    {
-      type: 'schedule',
-      name: '班次',
-      style: {
-        minWidth: '100px',
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '0px',
-        top: '310px',
-        width: '300px',
-        display: 'none',
-        position: 'absolute',
-        format: '班次:'
-      }
-    },
-    {
-      type: 'scheduleSerialNumber',
-      name: '班次内序号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '106px',
-        top: '435px',
-        width: '115px',
-        display: 'none',
-        position: 'absolute'
-      }
-    },
-    {
-      type: 'areaName',
-      name: '区域',
-      style: {
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '16px',
-        top: '290px',
-        width: '250px',
-        display: 'none',
-        position: 'absolute',
-        format: '区域:'
-      }
-    },
-    {
-      type: 'performName',
-      name: '节目名',
-      style: {
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '64px',
-        top: '118px',
-        width: '170px',
-        display: 'none',
-        position: 'absolute',
-        format: '节目:'
-      }
-    },
-    {
-      type: 'seatNameNew',
-      name: '座位名',
-      style: {
-        fontSize: '14px',
-        textAlign: 'left',
-        fontWeight: 'bold',
-        left: '20px',
-        top: '110px',
-        width: '50px',
-        display: 'none',
-        position: 'absolute',
-        format: '座位:'
-      }
-    },
-    {
-      type: 'rowTag',
-      name: '排号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '110px',
-        top: '290px',
-        width: '50px',
-        display: 'none',
-        position: 'absolute',
-        format: '排'
-      }
-    },
-    {
-      type: 'seatName',
-      name: '座位号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '146px',
-        top: '290px',
-        width: '50px',
-        display: 'none',
-        position: 'absolute',
-        format: '座'
-      }
-    },
     {
       type: 'price',
       name: '价格',
@@ -479,20 +283,6 @@ export default {
         display: 'none',
         format: '单价'
       }
-    },
-    {
-      type: 'num',
-      name: '序号',
-      style: {
-        fontSize: '14px',
-        textAlign: 'center',
-        fontWeight: 'bold',
-        left: '0px',
-        top: '388px',
-        width: '300px',
-        position: 'absolute',
-        format: '序号:'
-      }
     }
   ]
 }