Commit a8a589ff authored by 张锡奇's avatar 张锡奇

upload

parent 1ed78f5b
...@@ -103,8 +103,7 @@ util.deepClone = function (data) { ...@@ -103,8 +103,7 @@ util.deepClone = function (data) {
} }
util.dateFormat = function (str, fmt) { util.dateFormat = function (str, fmt) {
var usedDate = new Date(str).getTime; var usedDate = new Date(util.getType(str) == 'string' ? str.split('.')[0].replace(/-/g, "/") : str);
console.log(usedDate)
var o = { var o = {
"M+": usedDate.getMonth() + 1, //月份 "M+": usedDate.getMonth() + 1, //月份
"d+": usedDate.getDate(), //日 "d+": usedDate.getDate(), //日
......
...@@ -277,7 +277,6 @@ export default { ...@@ -277,7 +277,6 @@ export default {
{key:this.hdr.sType == '采购' ? 'end_date' : 'dEndDate',value:Util.dateFormat(this.list[res.trIndex].dContractDate,'yyyy-MM-dd') + ' 23:59:59'}, {key:this.hdr.sType == '采购' ? 'end_date' : 'dEndDate',value:Util.dateFormat(this.list[res.trIndex].dContractDate,'yyyy-MM-dd') + ' 23:59:59'},
{key:'searchname',value:this.list[res.trIndex].sOrderNo}, {key:'searchname',value:this.list[res.trIndex].sOrderNo},
] ]
alert(JSON.stringify(postData))
let result = await this.request(this.hdr.sType == '采购' ? 'getTipProcurementProgress' : 'getTipProcessProgress',{ data:postData, params:{}},'加载中') let result = await this.request(this.hdr.sType == '采购' ? 'getTipProcurementProgress' : 'getTipProcessProgress',{ data:postData, params:{}},'加载中')
result.map(y=>{ result.map(y=>{
y.sContractNoHTML = `<div><span style="text-decoration:underline;">${y.sContractNo}</span></div>`; y.sContractNoHTML = `<div><span style="text-decoration:underline;">${y.sContractNo}</span></div>`;
......
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