jinhui.wang

样式修改,排序逻辑修正

...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
77 </div> 77 </div>
78 </template> 78 </template>
79 </el-table-column> 79 </el-table-column>
80 - <el-table-column type="index" width="100" label="NUMBER" align="center"> 80 + <el-table-column type="index" width="100" label="NUMBER" align="left">
81 </el-table-column> 81 </el-table-column>
82 <el-table-column 82 <el-table-column
83 v-for="(item, index) in tableHeader" 83 v-for="(item, index) in tableHeader"
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
188 dialogLoading: false, 188 dialogLoading: false,
189 tableLoading: false, 189 tableLoading: false,
190 }, 190 },
191 - tableMaxheight: 700, 191 + tableMaxheight: 650,
192 }; 192 };
193 }, 193 },
194 watch: { 194 watch: {
......
...@@ -182,16 +182,16 @@ export default { ...@@ -182,16 +182,16 @@ export default {
182 res.data.forEach((item) => { 182 res.data.forEach((item) => {
183 item.file = item.filePath; 183 item.file = item.filePath;
184 if (item.bizTypeCode == "attachmentBizType_01") { 184 if (item.bizTypeCode == "attachmentBizType_01") {
185 - item.index = awb.length == 0 ? 0 : awb.length - 1; 185 + item.index = awb.length == 0 ? 0 : awb.length;
186 awb.push(item); 186 awb.push(item);
187 } else if (item.bizTypeCode == "attachmentBizType_02") { 187 } else if (item.bizTypeCode == "attachmentBizType_02") {
188 - item.index = inv.length == 0 ? 0 : inv.length - 1; 188 + item.index = inv.length == 0 ? 0 : inv.length;
189 inv.push(item); 189 inv.push(item);
190 } else if (item.bizTypeCode == "attachmentBizType_03") { 190 } else if (item.bizTypeCode == "attachmentBizType_03") {
191 - item.index = pkl.length == 0 ? 0 : pkl.length - 1; 191 + item.index = pkl.length == 0 ? 0 : pkl.length;
192 pkl.push(item); 192 pkl.push(item);
193 } else if (item.bizTypeCode == "attachmentBizType_04") { 193 } else if (item.bizTypeCode == "attachmentBizType_04") {
194 - item.index = oth.length == 0 ? 0 : oth.length - 1; 194 + item.index = oth.length == 0 ? 0 : oth.length;
195 oth.push(item); 195 oth.push(item);
196 } 196 }
197 }); 197 });
......
...@@ -226,7 +226,7 @@ export default { ...@@ -226,7 +226,7 @@ export default {
226 obj.file = e.target.result; 226 obj.file = e.target.result;
227 arr.forEach((item, index) => { 227 arr.forEach((item, index) => {
228 if (item.uploadType == this.fileFormData.uploadType) { 228 if (item.uploadType == this.fileFormData.uploadType) {
229 - obj.index = item.files.length == 0 ? 0 : item.files.length - 1; 229 + obj.index = item.files.length == 0 ? 0 : item.files.length;
230 item.files.push(obj); 230 item.files.push(obj);
231 } 231 }
232 }); 232 });
......