|
@@ -259,7 +259,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<el-form-item label="有效期" prop="usefulLife">
|
|
<el-form-item label="有效期" prop="usefulLife">
|
|
- <el-input type="number" :disabled="disable" v-model="basicForm.usefulLife"></el-input>
|
|
|
|
|
|
+ <el-input type="number" min="0" :disabled="disable" v-model="basicForm.usefulLife"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -300,7 +300,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<el-form-item label="近效期预警天数" prop="recentWarningPeriod">
|
|
<el-form-item label="近效期预警天数" prop="recentWarningPeriod">
|
|
- <el-input type="number" :disabled="disable" v-model="basicForm.recentWarningPeriod"></el-input>
|
|
|
|
|
|
+ <el-input type="number" min="0" :disabled="disable" v-model="basicForm.recentWarningPeriod"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -365,7 +365,7 @@
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<el-form-item label="交货周期" prop="deliveryPeriod">
|
|
<el-form-item label="交货周期" prop="deliveryPeriod">
|
|
- <el-input type="number" :disabled="disable" v-model="basicForm.deliveryPeriod"></el-input>
|
|
|
|
|
|
+ <el-input type="number" min="0" :disabled="disable" v-model="basicForm.deliveryPeriod"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -1308,7 +1308,7 @@ export default {
|
|
this.basicForm.businessDepartment = res.data.businessDepartment
|
|
this.basicForm.businessDepartment = res.data.businessDepartment
|
|
this.getDepartDetails(res.data.businessDepartment)
|
|
this.getDepartDetails(res.data.businessDepartment)
|
|
}
|
|
}
|
|
- if(res.data.unitId) {this.basicForm.unitId = res.data.unitId.toString()}
|
|
|
|
|
|
+ if(res.data.unitId) {this.basicForm.unitId = res.data.unitId}
|
|
if(res.data.manufacturerId) {this.basicForm.manufacturerId = res.data.manufacturerId.toString()}
|
|
if(res.data.manufacturerId) {this.basicForm.manufacturerId = res.data.manufacturerId.toString()}
|
|
if(res.data.usefulLifeUnitId) {this.basicForm.usefulLifeUnitId = res.data.usefulLifeUnitId.toString()}
|
|
if(res.data.usefulLifeUnitId) {this.basicForm.usefulLifeUnitId = res.data.usefulLifeUnitId.toString()}
|
|
if(res.data.expiryUnitId) {this.basicForm.expiryUnitId = res.data.expiryUnitId.toString()}
|
|
if(res.data.expiryUnitId) {this.basicForm.expiryUnitId = res.data.expiryUnitId.toString()}
|