|
@@ -46,11 +46,8 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="报价方式" prop="quoteMode">
|
|
|
- <el-select style="width: 100%" v-model="form.quoteMode" placeholder="请选择报价方式">
|
|
|
- <el-option v-for="dict in dict.type.quote_mode" :key="dict.value" :label="dict.label"
|
|
|
- :value="dict.value"></el-option>
|
|
|
- </el-select>
|
|
|
+ <el-form-item label="投标保证金" prop="earnestMoney">
|
|
|
+ <el-input-number v-model="form.earnestMoney" label="请输入投标保证金" :min="0"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
@@ -69,8 +66,11 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="投标保证金" prop="earnestMoney">
|
|
|
- <el-input-number v-model="form.earnestMoney" label="请输入投标保证金" :min="0"></el-input-number>
|
|
|
+ <el-form-item label="报价方式" prop="quoteMode">
|
|
|
+ <el-select style="width: 100%" v-model="form.quoteMode" placeholder="请选择报价方式">
|
|
|
+ <el-option v-for="dict in dict.type.quote_mode" :key="dict.value" :label="dict.label"
|
|
|
+ :value="dict.value" :disabled="form.buyingMode == 3 ? dict.label != '一次' : false"></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
@@ -389,6 +389,7 @@ export default {
|
|
|
changeBuyingMode () {
|
|
|
if (this.form.buyingMode == 3) {
|
|
|
this.form.allowTenderAmount = 2
|
|
|
+ this.form.quoteMode = ''
|
|
|
} else {
|
|
|
this.form.allowTenderAmount = 3
|
|
|
}
|
|
@@ -546,9 +547,9 @@ export default {
|
|
|
this.$tab.closePage()
|
|
|
},
|
|
|
handleSavePlan () {
|
|
|
- this.fullscreenLoading = true;
|
|
|
this.$refs['form'].validate(valid => {
|
|
|
if (valid) {
|
|
|
+ this.fullscreenLoading = true;
|
|
|
if (this.form.aid) {
|
|
|
updatePlan(this.form).then(res => {
|
|
|
this.$message.success("修改成功");
|
|
@@ -568,7 +569,6 @@ export default {
|
|
|
this.fullscreenLoading = false;
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
} else {
|
|
|
window.scrollTo({
|
|
|
top: 0,
|