|
@@ -355,7 +355,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item
|
|
|
+ <!-- <el-form-item
|
|
|
label="保管期限"
|
|
|
prop="storagePeriod"
|
|
|
>
|
|
@@ -371,6 +371,14 @@
|
|
|
:value="item.dictKey"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
+ </el-form-item> -->
|
|
|
+ <el-form-item
|
|
|
+ label="卷盒规格"
|
|
|
+ prop="specification"
|
|
|
+ >
|
|
|
+ <el-select v-model="contractForm.specification" clearable placeholder="请选择" style="width:100%">
|
|
|
+ <el-option v-for="item in coilsize" :key="item.value" :label="item.label" :value="item.value" />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -413,14 +421,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item
|
|
|
- label="卷盒规格"
|
|
|
- prop="specification"
|
|
|
- >
|
|
|
- <el-select v-model="contractForm.specification" clearable placeholder="请选择" style="width:100%">
|
|
|
- <el-option v-for="item in coilsize" :key="item.value" :label="item.label" :value="item.value" />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
+
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-col>
|
|
@@ -1155,7 +1156,7 @@ export default {
|
|
|
this.activeType = this.$route.query.type;
|
|
|
}
|
|
|
|
|
|
- this.getStoragePeriodList();//获取业务字典
|
|
|
+
|
|
|
this.getSecurityLevelList();//获取安全等级
|
|
|
this.setHeaders();
|
|
|
},
|
|
@@ -1250,9 +1251,9 @@ export default {
|
|
|
if (Number(this.contractForm.securityLevel) < 0) {
|
|
|
this.contractForm.securityLevel = 0;
|
|
|
}
|
|
|
- if (Number(this.contractForm.storagePeriod) < 0) {
|
|
|
- this.contractForm.storagePeriod = 0;
|
|
|
- }
|
|
|
+ // if (Number(this.contractForm.storagePeriod) < 0) {
|
|
|
+ // this.contractForm.storagePeriod = 0;
|
|
|
+ // }
|
|
|
|
|
|
this.meterContractInfo = this.contractForm.meterContractInfo
|
|
|
||{
|
|
@@ -1315,9 +1316,9 @@ export default {
|
|
|
if (Number(this.contractForm.securityLevel) < 0) {
|
|
|
this.contractForm.securityLevel = 0;
|
|
|
}
|
|
|
- if (Number(this.contractForm.storagePeriod) < 0) {
|
|
|
- this.contractForm.storagePeriod = 0;
|
|
|
- }
|
|
|
+ // if (Number(this.contractForm.storagePeriod) < 0) {
|
|
|
+ // this.contractForm.storagePeriod = 0;
|
|
|
+ // }
|
|
|
|
|
|
this.meterContractInfo=res.data.data.meterContractInfo
|
|
|
||{
|
|
@@ -1716,19 +1717,6 @@ export default {
|
|
|
this.$refs['contractForm'].validateField('projectPlace');
|
|
|
},
|
|
|
|
|
|
- getStoragePeriodList() {
|
|
|
- if (this.storagePeriodList.length > 1) {
|
|
|
- return;
|
|
|
- }
|
|
|
- getDictbiz({
|
|
|
- code: 'storage_period'
|
|
|
- }).then((res) => {
|
|
|
- res.data.data.forEach(element => {
|
|
|
- element.dictKey = Number(element.dictKey)
|
|
|
- });
|
|
|
- this.storagePeriodList = res.data.data;
|
|
|
- })
|
|
|
- },
|
|
|
getSecurityLevelList() {
|
|
|
if (this.securityLevelList.length > 1) {
|
|
|
return;
|