Commit 6db9942c authored by 涂伟's avatar 涂伟

fix: '工单流程配置新增附加打印配置'

parent 984a48f9
......@@ -413,7 +413,7 @@ const FlowModal = props => {
if (validate) {
let datas = JSON.parse(JSON.stringify(validate));
for (let key in datas) {
if (key === 'isPrint') {
if (key === 'isPrint' || key === 'isPrintAux') {
if (datas[key] === false) {
datas[key] = 0;
} else if (datas[key] === true) {
......@@ -735,6 +735,9 @@ const FlowModal = props => {
<Form.Item label="是否打印" name="isPrint" valuePropName="checked">
<Switch checkedChildren="是" unCheckedChildren="否" />
</Form.Item>
<Form.Item label="打印附加" name="isPrintAux" valuePropName="checked">
<Switch checkedChildren="是" unCheckedChildren="否" />
</Form.Item>
<Form.Item label="打印模板" name="printTemp">
<Input placeholder="本项为空,使用默认模板,支持定制" />
</Form.Item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment