|
@@ -10,7 +10,7 @@
|
|
</zj-form-container>
|
|
</zj-form-container>
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
<el-button size="mini" @click="formCancel">取 消</el-button>
|
|
<el-button size="mini" @click="formCancel">取 消</el-button>
|
|
- <el-button size="mini" @click="formConfirm" type="primary">确 定</el-button>
|
|
|
|
|
|
+ <el-button size="mini" :disabled="disabled" @click="formConfirm" type="primary">确 定</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
@@ -136,10 +136,12 @@ export default {
|
|
formConfirm() {
|
|
formConfirm() {
|
|
this.$refs.formRef.validate(valid => {
|
|
this.$refs.formRef.validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
|
|
+ this.lockBtn()
|
|
orderBaseLogAdd({
|
|
orderBaseLogAdd({
|
|
...this.formData,
|
|
...this.formData,
|
|
imgSrc: this.formData.imgSrc.map(item => item.url).join(",")
|
|
imgSrc: this.formData.imgSrc.map(item => item.url).join(",")
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
|
+ this.unlockBtn()
|
|
// 编辑保存后不跳转列表,刷新数据
|
|
// 编辑保存后不跳转列表,刷新数据
|
|
this.acquireVerify(this, 'getorderDetail')()
|
|
this.acquireVerify(this, 'getorderDetail')()
|
|
// 刷新操作记录
|
|
// 刷新操作记录
|
|
@@ -149,6 +151,8 @@ export default {
|
|
message: '反馈成功'
|
|
message: '反馈成功'
|
|
})
|
|
})
|
|
this.formCancel()
|
|
this.formCancel()
|
|
|
|
+ }).catch(() => {
|
|
|
|
+ this.unlockBtn()
|
|
})
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|