|
@@ -217,6 +217,18 @@
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column prop="shouldPostponedDate" label="顺延时间" width="180">
|
|
<el-table-column prop="shouldPostponedDate" label="顺延时间" width="180">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ {{ scope.row.dateTime }}
|
|
|
|
|
+ {{
|
|
|
|
|
+ scope.row.dateType == "year"
|
|
|
|
|
+ ? "年"
|
|
|
|
|
+ : scope.row.dateType == "month"
|
|
|
|
|
+ ? "月"
|
|
|
|
|
+ : scope.row.dateType == "days"
|
|
|
|
|
+ ? "天"
|
|
|
|
|
+ : ""
|
|
|
|
|
+ }}
|
|
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -597,6 +609,10 @@
|
|
|
accept=".pdf,.docx"
|
|
accept=".pdf,.docx"
|
|
|
>
|
|
>
|
|
|
<el-button size="small" type="primary">点击上传</el-button>
|
|
<el-button size="small" type="primary">点击上传</el-button>
|
|
|
|
|
+ <span></span>
|
|
|
|
|
+ <div slot="tip" class="el-upload__tip">
|
|
|
|
|
+ 文件类型仅支持docx/pdf格式文件
|
|
|
|
|
+ </div>
|
|
|
<!-- <div slot="tip" class="el-upload__tip">
|
|
<!-- <div slot="tip" class="el-upload__tip">
|
|
|
只能上传jpg/png文件,且不超过500kb
|
|
只能上传jpg/png文件,且不超过500kb
|
|
|
</div> -->
|
|
</div> -->
|
|
@@ -709,6 +725,27 @@
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-form :model="form" :inline="true" :disabled="true">
|
|
<el-form :model="form" :inline="true" :disabled="true">
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
|
|
+ <el-form-item
|
|
|
|
|
+ label="合同状态"
|
|
|
|
|
+ label-width="130px"
|
|
|
|
|
+ prop="contractStatus"
|
|
|
|
|
+ >
|
|
|
|
|
+ <!-- <el-input
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ v-model="item.contractStatus"
|
|
|
|
|
+ autocomplete="off"
|
|
|
|
|
+ :disabled="true"
|
|
|
|
|
+ style="width: 220px"
|
|
|
|
|
+ ></el-input> -->
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ v-model="item.contractStatus"
|
|
|
|
|
+ style="width: 220px"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option value="1" label="失效">失效</el-option>
|
|
|
|
|
+ <el-option value="0" label="有效">有效</el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="合同编号" label-width="130px">
|
|
<el-form-item label="合同编号" label-width="130px">
|
|
|
<el-input
|
|
<el-input
|
|
|
size="small"
|
|
size="small"
|
|
@@ -1280,6 +1317,11 @@ export default {
|
|
|
return v.fileId;
|
|
return v.fileId;
|
|
|
})
|
|
})
|
|
|
: [];
|
|
: [];
|
|
|
|
|
+ this.date = res.data.dateType;
|
|
|
|
|
+ this.year = res.data.dateType == "year" ? res.data.dateTime : "";
|
|
|
|
|
+ this.month =
|
|
|
|
|
+ res.data.dateType == "month" ? res.data.dateTime : "";
|
|
|
|
|
+ this.days = res.data.dateType == "days" ? res.data.dateTime : "";
|
|
|
if (commad == "supplement") {
|
|
if (commad == "supplement") {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.$refs.ruleForm.clearValidate();
|
|
this.$refs.ruleForm.clearValidate();
|
|
@@ -1429,9 +1471,16 @@ export default {
|
|
|
...this.supplierIdChildList,
|
|
...this.supplierIdChildList,
|
|
|
],
|
|
],
|
|
|
filePathIdList: this.fileIdList,
|
|
filePathIdList: this.fileIdList,
|
|
|
- yearTime: this.date == "year" ? this.year : "",
|
|
|
|
|
- monthTime: this.date == "month" ? this.month : "",
|
|
|
|
|
- dayTime: this.date == "day" ? this.days : "",
|
|
|
|
|
|
|
+ // yearTime: this.date == "year" ? this.year : "",
|
|
|
|
|
+ // monthTime: this.date == "month" ? this.month : "",
|
|
|
|
|
+ dateTime:
|
|
|
|
|
+ this.date == "day"
|
|
|
|
|
+ ? this.days
|
|
|
|
|
+ : this.date == "year"
|
|
|
|
|
+ ? this.year
|
|
|
|
|
+ : this.date == "month"
|
|
|
|
|
+ ? this.month
|
|
|
|
|
+ : "",
|
|
|
dateType: this.date,
|
|
dateType: this.date,
|
|
|
})
|
|
})
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -1455,9 +1504,14 @@ export default {
|
|
|
...this.supplierIdChildList,
|
|
...this.supplierIdChildList,
|
|
|
],
|
|
],
|
|
|
filePathIdList: this.fileIdList,
|
|
filePathIdList: this.fileIdList,
|
|
|
- yearTime: this.date == "year" ? this.year : "",
|
|
|
|
|
- monthTime: this.date == "month" ? this.month : "",
|
|
|
|
|
- dayTime: this.date == "day" ? this.days : "",
|
|
|
|
|
|
|
+ dateTime:
|
|
|
|
|
+ this.date == "day"
|
|
|
|
|
+ ? this.days
|
|
|
|
|
+ : this.date == "year"
|
|
|
|
|
+ ? this.year
|
|
|
|
|
+ : this.date == "month"
|
|
|
|
|
+ ? this.month
|
|
|
|
|
+ : "",
|
|
|
dateType: this.date,
|
|
dateType: this.date,
|
|
|
})
|
|
})
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -1653,10 +1707,11 @@ export default {
|
|
|
return v.fileId;
|
|
return v.fileId;
|
|
|
})
|
|
})
|
|
|
: [];
|
|
: [];
|
|
|
- // this.year = res.data.yearTime;
|
|
|
|
|
- // this.month = res.data.monthTime;
|
|
|
|
|
- // this.day = res.data.dayTime;
|
|
|
|
|
- // this.date = this.dateType;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ this.date = res.data.dateType;
|
|
|
|
|
+ this.year = res.data.dateType == "year" ? res.data.dateTime : "";
|
|
|
|
|
+ this.month = res.data.dateType == "month" ? res.data.dateTime : "";
|
|
|
|
|
+ this.days = res.data.dateType == "days" ? res.data.dateTime : "";
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|