aa126082 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 6ceeae76 27bcb363
...@@ -72,7 +72,9 @@ export default { ...@@ -72,7 +72,9 @@ export default {
72 }, 72 },
73 render: { 73 render: {
74 handler(newValue, oldValue) { 74 handler(newValue, oldValue) {
75 this.loadData(); 75 if(newValue){
76 this.loadData();
77 }
76 }, 78 },
77 }, 79 },
78 immediate: true, 80 immediate: true,
......
...@@ -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: "扫描页数",
......