Commit 6b32c1f6 authored by 赵啸非's avatar 赵啸非

临时修改设备管理保修期

parent 6d038320
......@@ -266,10 +266,7 @@ export default {
},
methods: {
beforeSubmit(data){
data.defectsLiabilityPeriod = new Date(data.defectsLiabilityPeriod)
return data
},
changeProduct(val) {
this.form.productCode = this.dict.productCode[val];
},
......
......@@ -470,7 +470,8 @@ export default {
this.info = this.$route.query;
this.query = { siteId: this.siteId };
this.upload.headers.Authorization=window.sessionStorage.getItem("token") || ""
console.log(this.upload);
console.log("upload",this.upload);
console.log("query",this.$route.query);
this.$get("/sitestat/siteInfo", {
siteId: this.siteId,
})
......@@ -555,7 +556,6 @@ export default {
row.siteId = this.siteId;
row.siteName = this.siteName;
row.siteCode = this.siteCode;
this.$refs.drawerform.add(row);
},
/** 重写编辑方法 */
......
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