|
@@ -247,13 +247,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
cancelForm() {
|
|
|
- this.$parent.$refs.pageRef.refreshList()
|
|
|
- this.$emit('update:isOpen', false)
|
|
|
+ this.$parent.backUpdPage()
|
|
|
},
|
|
|
submitForm(type) {
|
|
|
this.$refs.dataForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
editPurchaseApplySheet(this.dataForm).then(() => {
|
|
|
+ this.cancelForm()
|
|
|
this.$successMsg('保存成功')
|
|
|
})
|
|
|
}
|
|
@@ -290,6 +290,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
this.inputParam.openType = 'view'
|
|
|
this.getDetail(purchaseId)
|
|
|
+ this.cancelForm()
|
|
|
this.$successMsg('核实成功')
|
|
|
this.loading = false
|
|
|
}, 2000)
|