|
@@ -50,6 +50,7 @@
|
|
<div class="value">
|
|
<div class="value">
|
|
<el-input
|
|
<el-input
|
|
:disabled="title == '详情'"
|
|
:disabled="title == '详情'"
|
|
|
|
+ placeholder="请输入"
|
|
v-model="detailList.refFactoryNo"
|
|
v-model="detailList.refFactoryNo"
|
|
></el-input>
|
|
></el-input>
|
|
</div>
|
|
</div>
|
|
@@ -82,7 +83,8 @@
|
|
class="selectStyle"
|
|
class="selectStyle"
|
|
v-model="detailList.sendFactoryDate"
|
|
v-model="detailList.sendFactoryDate"
|
|
type="datetime"
|
|
type="datetime"
|
|
- placeholder=""
|
|
|
|
|
|
+ prefix-icon="''"
|
|
|
|
+ placeholder="请选择寄厂日期"
|
|
default-time="00:00:00"
|
|
default-time="00:00:00"
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
>
|
|
>
|
|
@@ -97,11 +99,12 @@
|
|
<div class="label">安装时间</div>
|
|
<div class="label">安装时间</div>
|
|
<div class="value">
|
|
<div class="value">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
|
+ prefix-icon="''"
|
|
|
|
+ placeholder="请选择安装时间"
|
|
:disabled="title == '详情'"
|
|
:disabled="title == '详情'"
|
|
class="selectStyle"
|
|
class="selectStyle"
|
|
v-model="detailList.installDate"
|
|
v-model="detailList.installDate"
|
|
type="datetime"
|
|
type="datetime"
|
|
- placeholder=""
|
|
|
|
default-time="00:00:00"
|
|
default-time="00:00:00"
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
>
|
|
>
|
|
@@ -378,14 +381,15 @@
|
|
<div class="label">验收人</div>
|
|
<div class="label">验收人</div>
|
|
<div class="value">{{ this.checkBy }}</div>
|
|
<div class="value">{{ this.checkBy }}</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
|
|
|
|
+ <el-col :xs="12" :sm="12" :lg="12" class="item dateS">
|
|
<div class="label">验收日期</div>
|
|
<div class="label">验收日期</div>
|
|
<div class="value">
|
|
<div class="value">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
|
+ disabled
|
|
|
|
+ prefix-icon="''"
|
|
class="selectStyle"
|
|
class="selectStyle"
|
|
- v-model="checkDate"
|
|
|
|
type="datetime"
|
|
type="datetime"
|
|
- placeholder=""
|
|
|
|
|
|
+ placeholder="系统自动生成"
|
|
default-time="00:00:00"
|
|
default-time="00:00:00"
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
>
|
|
>
|
|
@@ -421,7 +425,7 @@
|
|
<div class="label">验收人</div>
|
|
<div class="label">验收人</div>
|
|
<div class="value">{{ detailList.checkBy }}</div>
|
|
<div class="value">{{ detailList.checkBy }}</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
|
|
|
|
+ <el-col :xs="12" :sm="12" :lg="12" class="item dateS">
|
|
<div class="label">验收日期</div>
|
|
<div class="label">验收日期</div>
|
|
<div class="value">
|
|
<div class="value">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
@@ -446,7 +450,7 @@
|
|
</el-radio-group>
|
|
</el-radio-group>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="12" :sm="24" :lg="24" class="item">
|
|
|
|
|
|
+ <el-col :xs="12" :sm="24" :lg="24" class="item dateS">
|
|
<div class="label">验收说明</div>
|
|
<div class="label">验收说明</div>
|
|
<div class="value">
|
|
<div class="value">
|
|
<el-input
|
|
<el-input
|
|
@@ -503,11 +507,12 @@ export default {
|
|
dataList: [], // 列表数据
|
|
dataList: [], // 列表数据
|
|
detailList: {},
|
|
detailList: {},
|
|
checkBy: "",
|
|
checkBy: "",
|
|
- checkDate: null,
|
|
|
|
|
|
+ checkDate: "",
|
|
isRefundDeposit: true,
|
|
isRefundDeposit: true,
|
|
checkNote: "",
|
|
checkNote: "",
|
|
};
|
|
};
|
|
},
|
|
},
|
|
|
|
+
|
|
created() {
|
|
created() {
|
|
console.log(this.$imageUrl, 8888);
|
|
console.log(this.$imageUrl, 8888);
|
|
this.checkBy = this.name;
|
|
this.checkBy = this.name;
|
|
@@ -516,25 +521,11 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
//批量下载
|
|
//批量下载
|
|
async batchDownloadFn() {
|
|
async batchDownloadFn() {
|
|
- // let res = await getDepositManageDownZip({ parentId: this.detailId });
|
|
|
|
- // console.log(res, 888999);
|
|
|
|
- // // window.open(this.imageURL + "/deposit-manage/downZip");
|
|
|
|
- // // console.log(res, 9999);
|
|
|
|
- // if (res.data) {
|
|
|
|
- // window.open(this.imageURL + res.data);
|
|
|
|
- // }
|
|
|
|
downloadFiles("/deposit-manage/downZip", { parentId: this.detailId });
|
|
downloadFiles("/deposit-manage/downZip", { parentId: this.detailId });
|
|
},
|
|
},
|
|
//下载
|
|
//下载
|
|
downLoadFn(v) {
|
|
downLoadFn(v) {
|
|
window.open(this.imageURL + v);
|
|
window.open(this.imageURL + v);
|
|
- // const url = this.imageURL + v;
|
|
|
|
- // const link = document.createElement("a");
|
|
|
|
- // link.style.display = "none";
|
|
|
|
- // link.href = url;
|
|
|
|
- // link.setAttribute("download", "导入学生账号模板");
|
|
|
|
- // document.body.appendChild(link);
|
|
|
|
- // link.click();
|
|
|
|
},
|
|
},
|
|
// 检查文件类型
|
|
// 检查文件类型
|
|
checkFileType(url) {
|
|
checkFileType(url) {
|
|
@@ -559,10 +550,14 @@ export default {
|
|
},
|
|
},
|
|
//审批驳回
|
|
//审批驳回
|
|
async rejectFn() {
|
|
async rejectFn() {
|
|
|
|
+ if (!this.detailList.installDate) {
|
|
|
|
+ this.$message.error("请选择安装时间");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
let data = {
|
|
let data = {
|
|
...this.detailList,
|
|
...this.detailList,
|
|
checkBy: this.checkBy,
|
|
checkBy: this.checkBy,
|
|
- checkDate: this.checkDate,
|
|
|
|
|
|
+ // checkDate: this.checkDate,
|
|
isRefundDeposit: this.isRefundDeposit,
|
|
isRefundDeposit: this.isRefundDeposit,
|
|
checkNote: this.checkNote,
|
|
checkNote: this.checkNote,
|
|
examineResult: 0,
|
|
examineResult: 0,
|
|
@@ -574,10 +569,14 @@ export default {
|
|
},
|
|
},
|
|
//审批通过
|
|
//审批通过
|
|
async adoptFn() {
|
|
async adoptFn() {
|
|
|
|
+ if (!this.detailList.installDate) {
|
|
|
|
+ this.$message.error("请选择安装时间");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
let data = {
|
|
let data = {
|
|
...this.detailList,
|
|
...this.detailList,
|
|
checkBy: this.checkBy,
|
|
checkBy: this.checkBy,
|
|
- checkDate: this.checkDate,
|
|
|
|
|
|
+ // checkDate: this.checkDate,
|
|
isRefundDeposit: this.isRefundDeposit,
|
|
isRefundDeposit: this.isRefundDeposit,
|
|
checkNote: this.checkNote,
|
|
checkNote: this.checkNote,
|
|
examineResult: 1,
|
|
examineResult: 1,
|
|
@@ -612,6 +611,11 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+.dateS {
|
|
|
|
+ .value {
|
|
|
|
+ padding: 0;
|
|
|
|
+ }
|
|
|
|
+}
|
|
.batchDownload {
|
|
.batchDownload {
|
|
float: right;
|
|
float: right;
|
|
margin-top: 9px;
|
|
margin-top: 9px;
|