27bcb363 by tianhaohao@pashanhoo.com

修改材料目录展示

1 parent b8b201f8
...@@ -100,37 +100,29 @@ ...@@ -100,37 +100,29 @@
100 }, 100 },
101 { 101 {
102 prop: "sjsl", 102 prop: "sjsl",
103 label: "份数", 103 label: "收件数量",
104 width: "50", 104 width: "80",
105 render: (h, scope) => { 105 render: (h, scope) => {
106 return ( 106 return (
107 (this.formData.ableOperation && scope.row.isrequired != '1') ? 107 (this.formData.ableOperation && scope.row.isrequired != '1') ?
108 <el-input value={scope.row.sjsl} onInput={(val) => { scope.row.sjsl = val }}></el-input> : <span>{ 108 <el-input value={scope.row.sjsl} onInput={(val) => { scope.row.sjsl = val }}></el-input> : <span>{
109 scope.row.sjsl ? 109 scope.row.sjsl
110 <span>{scope.row.sjsl}</span> : 1
111 }</span> 110 }</span>
112 ) 111 )
113 } 112 }
114 }, 113 },
115 { 114 {
116 prop: "smzt", 115 prop: "smzt",
117 label: "扫描状态", 116 label: "扫描时间",
118 width: "80", 117 width: "80",
119 render: (h, scope) => { 118 render: (h, scope) => {
120 if (scope.row.children && scope.row.children.length > 0) { 119 return (
121 return ( 120 (this.formData.ableOperation && scope.row.isrequired != '1') ?
122 <div> 121 <el-input value={scope.row.sjsl} onInput={(val) => { scope.row.sjsl = val }}></el-input> : <span>{
123 <span>已扫描</span> 122 scope.row.sjsj
124 </div> 123 }</span>
125 ); 124 )
126 } else { 125 }
127 return (
128 <div>
129 <span>未扫描</span>
130 </div>
131 );
132 }
133 },
134 }, 126 },
135 { 127 {
136 label: "扫描页数", 128 label: "扫描页数",
......