diff --git a/klp-ui/src/views/crm/contract/index.vue b/klp-ui/src/views/crm/contract/index.vue index 839874e2..059b4d28 100644 --- a/klp-ui/src/views/crm/contract/index.vue +++ b/klp-ui/src/views/crm/contract/index.vue @@ -316,9 +316,6 @@ export default { }; }, - created() { - this.getDictList(); - }, watch: { 'form.productContent': function (newVal) { if (!this.autoFillOrderAmount || !newVal) return; @@ -365,7 +362,7 @@ export default { /** 处理合同状态更新 */ handleStatusChange(status) { this.form.status = status; - updateContract({ + updateOrder({ ...this.form, status: status }).then(res => {