diff --git a/src/views/material/lease/protocol/index.vue b/src/views/material/lease/protocol/index.vue
index d750f4cc..6f93408a 100644
--- a/src/views/material/lease/protocol/index.vue
+++ b/src/views/material/lease/protocol/index.vue
@@ -139,7 +139,7 @@
:options="uniteList" :normalizer="normalizer"
:show-count="true" style="width: 100%;" :disable-branch-nodes="true"
noChildrenText="没有数据了" noOptionsText="没有数据" noResultsText="没有搜索结果"
- placeholder="请选择租赁单位"
+ placeholder="请选择租赁单位" @select="unitSelect"
/>
-
+
@@ -219,6 +219,18 @@
/>
+
+
+
+
+
-
-
+
-
-
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
0) {
this.maForm.unitId = this.unitId[this.unitId.length - 1];
@@ -964,7 +961,16 @@ export default {
// 表单重置
reset() {
- this.form = {};
+ this.form = {
+ unitId:null,
+ projectId:null,
+ authPerson:"",
+ phone:'',
+ contractCode:'',
+ planStartTime:'',
+ protocol:"1",
+ remark:'',
+ };
this.unitId = null;
this.projectId = null;
this.maForm = {
@@ -1006,15 +1012,14 @@ export default {
await this.editAgreementTemp(this.form);
await this.deleteFile();
}
-
} else {
console.log(1)
if (this.businessLicenseListTemp.length != 0) {
- console.log(2)
+ // console.log(2)
await this.getImaUpload(),
await this.addAgreementTemp(this.form);
} else {
- console.log(3)
+ // console.log(3)
await this.addAgreementTemp(this.form);
}