Commit 00623ca3 by 刘泽奇

123

parent 7543793b
......@@ -32,7 +32,6 @@
value: 'dbsbzc',
label: '担保申请'
},
],
DeliveryStatus: [
{
......@@ -152,7 +151,7 @@
sfs: [
{ field: 'totalSum', label: '订单金额' },
],
deliveryStatus:'',
deliveryStatus: '',
form: {
tmFormType: 3,
name: "",
......@@ -462,8 +461,8 @@
},
],
hidePage: true,
user_Name:"",
channelFrom:"",
user_Name: "",
channelFrom: "",
}
},
......@@ -664,33 +663,40 @@
handleSizeChange(){
if (this.$route.query.channelUserId != "") {
this.indentInfo.pageIndex = this.currentPage;
var obj = this.$root.copyParams(this.indentInfo, "getTmOrderListAdmin", "/action/tmOrder/springBoard", "yes", "yes");
var obj = this.$root.copyParams(this.indentInfo, "getTmOrderList", "/action/tmOrder/springBoard", "yes", "yes");
this.$root.loading = true;
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
this.$root.loading = false;
console.log(d.data);
if (d.status == 0 && d.data) {
this.tableData = d.data;
if (d.status == 0) {
console.log(d.data, "12313213");
console.log(this.stuff);
this.tableData = d.data || [];
/* 没有分页参数 需要重新改*/
this.countPage = d.dataCount;
/*
this.countPage.length > 10 ? this.hidePage = false : this.hidePage = true;
console.log(this.hidePage, `xxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
*/
d.data.map((item, index) => {
if (item.submitTime) {
item.submitTime = new Date(item.submitTime).toLocaleString('chinese', { hour12: false });
} else {
item.submitTime = '';
}
if (item.CreateDate) {
item.CreateDate = new Date(item.CreateDate).toLocaleDateString('chinese', { hour12: false });
} else {
item.CreateDate = '';
}
});
/**
* this.countPage.length > 10 ? this.hidePage = false: this.hidePage = true;
console.log(this.hidePage,`xxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
*
*/
console.log(this.tableData, "cccccccccccccccccccc");
if (Object.prototype.toString.call(d.data) == '[object Array]') {
d.data.map((item, index) => {
if (item.submitTime) {
item.submitTime = new Date(item.submitTime).toLocaleString('chinese', { hour12: false });
} else {
item.submitTime = '';
}
if (item.CreateDate) {
item.CreateDate = new Date(item.CreateDate).toLocaleDateString('chinese', { hour12: false });
} else {
item.CreateDate = '';
}
});
}
} else {
this.hidePage = true;
console.log(d, "getTmOrderList...........");
}
});
......@@ -714,7 +720,7 @@
this.indentInfo.channelServiceNo = this.channelServiceNo;
this.indentInfo.deliveryOrderNo = this.deliveryOrderNo;
this.indentInfo.name = this.name;
this.indentInfo.itemName = this.itemName;
this.indentInfo.itemCode = this.itemName;
this.indentInfo.tmName = this.tmName;
this.indentInfo.CreateDate = this.CreateDate;
this.indentInfo.deliveryStatus = this.checkedStatus;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment