diff --git a/src/views/emis/emisRegion/emisRegionForm.vue b/src/views/emis/emisRegion/emisRegionForm.vue
index 3943a0d5..ca9df35e 100644
--- a/src/views/emis/emisRegion/emisRegionForm.vue
+++ b/src/views/emis/emisRegion/emisRegionForm.vue
@@ -49,7 +49,7 @@
@@ -61,12 +61,12 @@
-
+
-
+
diff --git a/src/views/emis/emisSettleBill/panel/SiteConfimPanel.vue b/src/views/emis/emisSettleBill/panel/SiteConfimPanel.vue
index d36f5954..fb1b4163 100644
--- a/src/views/emis/emisSettleBill/panel/SiteConfimPanel.vue
+++ b/src/views/emis/emisSettleBill/panel/SiteConfimPanel.vue
@@ -22,6 +22,12 @@
+
+
+
+
+
+
@@ -163,7 +169,7 @@
-
+
{{scope.row.settleStartDate}}~{{scope.row.settleEndDate}}
diff --git a/src/views/emis/emisWaybill/statpanel/DestStatPanel.vue b/src/views/emis/emisWaybill/statpanel/DestStatPanel.vue
index aeee6027..eeb2bbd4 100644
--- a/src/views/emis/emisWaybill/statpanel/DestStatPanel.vue
+++ b/src/views/emis/emisWaybill/statpanel/DestStatPanel.vue
@@ -69,10 +69,10 @@
-
-
-
-
+
+
+
+
@@ -369,11 +369,41 @@ export default {
this.multiple = !selection.length
},
// 排序 查询字段是表格中字段名字 动态取值排序顺序
- handleSortChange(column) {
- this.queryParams.orderByColumn = column.prop;
- this.queryParams.isAsc = column.order;
- this.getList();
+
+ getProperty(obj, str) {
+ str = str.replace(/\[(\w+)\]/g, ".$1"); // 处理数组下标
+ let arr = str.split(".");
+ for (let i in arr) {
+ obj = obj[arr[i]] || "";
+ }
+ return obj;
},
+ sortFun: function (attr, rev) {
+ //第一个参数传入info里的prop表示排的是哪一列,第二个参数是升还是降排序
+ if (rev == undefined||rev==null) {
+ rev = 1;
+ } else {
+ rev = (rev) ? 1 : -1;
+ }
+ let that=this;
+ return function (a, b) {
+ a = that.getProperty(a,attr);
+ b = that.getProperty(b,attr);
+ if (a < b) {
+ return rev * -1;
+ }
+ if (a > b) {
+ return rev * 1;
+ }
+ return 0;
+ }
+ },
+ // 排序 查询字段是表格中字段名字 动态取值排序顺序
+ handleSortChange(column) {
+ this.sendStatList = this.sendStatList.sort(
+ this.sortFun(column.prop, column.order === 'ascending')
+ );
+ },
handleFormChanged(){
this.openForm = false;
this.getList();
diff --git a/src/views/emis/emisWaybill/statpanel/ScanDtlAllListPanel.vue b/src/views/emis/emisWaybill/statpanel/ScanDtlAllListPanel.vue
index 39c8f9c2..f4c11685 100644
--- a/src/views/emis/emisWaybill/statpanel/ScanDtlAllListPanel.vue
+++ b/src/views/emis/emisWaybill/statpanel/ScanDtlAllListPanel.vue
@@ -66,14 +66,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
已签收
未签收
@@ -209,11 +209,40 @@ export default {
this.multiple = !selection.length
},
// 排序 查询字段是表格中字段名字 动态取值排序顺序
- handleSortChange(column) {
- this.queryParams.orderByColumn = column.prop;
- this.queryParams.isAsc = column.order;
- this.getList();
+ getProperty(obj, str) {
+ str = str.replace(/\[(\w+)\]/g, ".$1"); // 处理数组下标
+ let arr = str.split(".");
+ for (let i in arr) {
+ obj = obj[arr[i]] || "";
+ }
+ return obj;
},
+ sortFun: function (attr, rev) {
+ //第一个参数传入info里的prop表示排的是哪一列,第二个参数是升还是降排序
+ if (rev == undefined||rev==null) {
+ rev = 1;
+ } else {
+ rev = (rev) ? 1 : -1;
+ }
+ let that=this;
+ return function (a, b) {
+ a = that.getProperty(a,attr);
+ b = that.getProperty(b,attr);
+ if (a < b) {
+ return rev * -1;
+ }
+ if (a > b) {
+ return rev * 1;
+ }
+ return 0;
+ }
+ },
+ // 排序 查询字段是表格中字段名字 动态取值排序顺序
+ handleSortChange(column) {
+ this.scanStatDtlList = this.scanStatDtlList.sort(
+ this.sortFun(column.prop, column.order === 'ascending')
+ );
+ },
handleFormChanged(){
this.openForm = false;
this.getList();
diff --git a/src/views/emis/emisWaybill/statpanel/ScanDtlListPanel.vue b/src/views/emis/emisWaybill/statpanel/ScanDtlListPanel.vue
index c83a20fa..53892565 100644
--- a/src/views/emis/emisWaybill/statpanel/ScanDtlListPanel.vue
+++ b/src/views/emis/emisWaybill/statpanel/ScanDtlListPanel.vue
@@ -35,14 +35,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
已签收
未签收
@@ -167,11 +167,41 @@ export default {
this.multiple = !selection.length
},
// 排序 查询字段是表格中字段名字 动态取值排序顺序
- handleSortChange(column) {
- this.queryParams.orderByColumn = column.prop;
- this.queryParams.isAsc = column.order;
- this.getList();
+
+ getProperty(obj, str) {
+ str = str.replace(/\[(\w+)\]/g, ".$1"); // 处理数组下标
+ let arr = str.split(".");
+ for (let i in arr) {
+ obj = obj[arr[i]] || "";
+ }
+ return obj;
},
+ sortFun: function (attr, rev) {
+ //第一个参数传入info里的prop表示排的是哪一列,第二个参数是升还是降排序
+ if (rev == undefined||rev==null) {
+ rev = 1;
+ } else {
+ rev = (rev) ? 1 : -1;
+ }
+ let that=this;
+ return function (a, b) {
+ a = that.getProperty(a,attr);
+ b = that.getProperty(b,attr);
+ if (a < b) {
+ return rev * -1;
+ }
+ if (a > b) {
+ return rev * 1;
+ }
+ return 0;
+ }
+ },
+ // 排序 查询字段是表格中字段名字 动态取值排序顺序
+ handleSortChange(column) {
+ this.scanStatDtlList = this.scanStatDtlList.sort(
+ this.sortFun(column.prop, column.order === 'ascending')
+ );
+ },
handleFormChanged(){
this.openForm = false;
this.getList();
diff --git a/src/views/emis/emisWaybill/statpanel/SendStatPanel.vue b/src/views/emis/emisWaybill/statpanel/SendStatPanel.vue
index 4f46d429..8b141155 100644
--- a/src/views/emis/emisWaybill/statpanel/SendStatPanel.vue
+++ b/src/views/emis/emisWaybill/statpanel/SendStatPanel.vue
@@ -69,10 +69,10 @@
-
-
-
-
+
+
+
+
@@ -345,11 +345,47 @@ export default {
this.multiple = !selection.length
},
// 排序 查询字段是表格中字段名字 动态取值排序顺序
- handleSortChange(column) {
- this.queryParams.orderByColumn = column.prop;
- this.queryParams.isAsc = column.order;
- this.getList();
+ // handleSortChange(column) {
+ // this.queryParams.orderByColumn = column.prop;
+ // this.queryParams.isAsc = column.order;
+ // this.getList();
+ // },
+
+ getProperty(obj, str) {
+ str = str.replace(/\[(\w+)\]/g, ".$1"); // 处理数组下标
+ let arr = str.split(".");
+ for (let i in arr) {
+ obj = obj[arr[i]] || "";
+ }
+ return obj;
},
+ sortFun: function (attr, rev) {
+ //第一个参数传入info里的prop表示排的是哪一列,第二个参数是升还是降排序
+ if (rev == undefined||rev==null) {
+ rev = 1;
+ } else {
+ rev = (rev) ? 1 : -1;
+ }
+ let that=this;
+ return function (a, b) {
+ a = that.getProperty(a,attr);
+ b = that.getProperty(b,attr);
+ if (a < b) {
+ return rev * -1;
+ }
+ if (a > b) {
+ return rev * 1;
+ }
+ return 0;
+ }
+ },
+ // 排序 查询字段是表格中字段名字 动态取值排序顺序
+ handleSortChange(column) {
+ this.sendStatList = this.sendStatList.sort(
+ this.sortFun(column.prop, column.order === 'ascending')
+ );
+ },
+
handleFormChanged(){
this.openForm = false;
this.getList();
diff --git a/src/views/emis/emisWaybillAjustApply/adjustPanel.vue b/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
index 0d344129..c6f85cc6 100644
--- a/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
+++ b/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
@@ -410,21 +410,7 @@
-
+
@@ -1028,6 +1014,22 @@
+
+
+
+ 录单备注和费用备注
+
+
+ 录单备注:{{billDetail.remark}}
+ 费用备注:{{billDetail.feeRemark}}
+
+
+
+ 录单备注:{{form.remark}}
+ 费用备注:{{form.feeRemark}}
+
+
+