diff --git a/src/views/purchase/purOrder/purOrderDetailDialog.vue b/src/views/purchase/purOrder/purOrderDetailDialog.vue index 7c73318..1fc5a1f 100644 --- a/src/views/purchase/purOrder/purOrderDetailDialog.vue +++ b/src/views/purchase/purOrder/purOrderDetailDialog.vue @@ -103,7 +103,7 @@ - 是否生成采购入库单 + 是否生成采购入库单 @@ -196,6 +196,7 @@ export default { }, data() { return { + autoPurchase: true, code: '', query: { orderIdFk: '', @@ -501,8 +502,8 @@ export default { this.formData.targetInv = 1000 this.orderEditor = true this.sValue = this.formData.corpName - this.formData.autoPurchase = true - console.log(this.formData) + // this.formData.autoPurchase = true + this.$set(this.formData, 'autoPurchase', true) this.getStockOrderDetailList() } else { this.formData = {