|
@@ -303,11 +303,10 @@ export default {
|
|
|
accchkDateList: null,
|
|
|
acceptDateList: null,
|
|
|
},
|
|
|
- tableDate: [
|
|
|
- {
|
|
|
+ tableDate: [{
|
|
|
surface: "1",
|
|
|
- label: "mdLoadDate",
|
|
|
- name: "装卸日期",
|
|
|
+ label: "acceptDate",
|
|
|
+ name: "接单日期",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
@@ -445,13 +444,6 @@ export default {
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "22",
|
|
|
- label: "acceptDate",
|
|
|
- name: "接单日期",
|
|
|
- checked: 0,
|
|
|
- width: 100,
|
|
|
- },
|
|
|
- {
|
|
|
surface: "23",
|
|
|
label: "loadDate",
|
|
|
name: "提箱日期",
|
|
@@ -621,7 +613,7 @@ export default {
|
|
|
created() {
|
|
|
this.setRowList = this.tableDate;
|
|
|
this.getRowList = this.tableDate;
|
|
|
- this.getList();
|
|
|
+ // this.getList();
|
|
|
this.getRow();
|
|
|
listCorps().then((response) => {
|
|
|
this.corpsOptions = response.rows;
|
|
@@ -704,15 +696,11 @@ export default {
|
|
|
},
|
|
|
/** 查询订单主列表 */
|
|
|
getList() {
|
|
|
- this.loading = true;
|
|
|
- /*if (this.queryParams.acceptDateList) {
|
|
|
- this.queryParams.acceptDateList[0] = this.queryParams.acceptDateList + ' 00:00:00'
|
|
|
- this.queryParams.acceptDateList[1] = this.queryParams.acceptDateList + ' 23:59:59'
|
|
|
+ if (!this.queryParams.acceptDateList) {
|
|
|
+ this.$message.error("请选择接单时间");
|
|
|
+ return false
|
|
|
}
|
|
|
- if (this.queryParams.accchkDateList) {
|
|
|
- this.queryParams.accchkDateList[0] = this.queryParams.accchkDateList + ' 00:00:00'
|
|
|
- this.queryParams.accchkDateList[1] = this.queryParams.accchkDateList + ' 23:59:59'
|
|
|
- }*/
|
|
|
+ this.loading = true;
|
|
|
queryLedgerList(this.queryParams).then((response) => {
|
|
|
this.tabularData = response.rows;
|
|
|
this.total = response.total;
|