From 5df578ff69f6b02e821d59a8883bc75d78695a62 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 十一月 2020 11:07:31 +0800
Subject: [PATCH] 2020-11-10

---
 src/templates/zshare/formconfig.jsx |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index 6c39520..824e11a 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -592,7 +592,7 @@
  * @param {*} permFuncField  瀛樺偍杩囩▼鍙敤鐨勫紑濮嬪瓧娈�
  * @param {*} type           鎸夐挳绫诲瀷锛岀敤浜庡尯鍒嗗彲閫夌殑鎵撳紑鏂瑰紡
  */
-export function getActionForm (card, functip, config, permFuncField, type, menulist = []) {
+export function getActionForm (card, functip, config, permFuncField, type, menulist = [], printTemps = []) {
   let opentypes = [
     {
       value: 'pop',
@@ -764,8 +764,14 @@
       initVal: card.pageTemplate || '',
       required: true,
       options: [{
-        value: 'print',
-        text: Formdict['header.menu.printTemplate']
+      //   value: 'print',
+      //   text: '鏍囩鎵撳嵃妯℃澘'
+      // }, {
+      //   value: 'billprintTemp',
+      //   text: '鍗曟嵁鎵撳嵃妯℃澘'
+      // }, {
+        value: 'billprint',
+        text: '鍗曟嵁鎵撳嵃'
       }, {
         value: 'pay',
         text: Formdict['model.pay']
@@ -775,6 +781,14 @@
       }]
     },
     {
+      type: 'select',
+      key: 'printTemp',
+      label: '鎵撳嵃妯℃澘',
+      initVal: card.printTemp || '',
+      required: true,
+      options: printTemps
+    },
+    {
       type: 'text',
       key: 'url',
       label: Formdict['model.form.newpage.url'],

--
Gitblit v1.8.0