查询采购订单 多选框无法取消选中问题

ywj_dev
wangwei 2 years ago
parent 23229dd8e2
commit 6eeab33065

@ -103,7 +103,7 @@
<el-row>
<el-col :span="11">
<el-form-item>
<el-checkbox v-model="formData.autoPurchase" >是否生成采购入库单</el-checkbox>
<el-checkbox v-model="formData.autoPurchase"></el-checkbox>
</el-form-item>
</el-col>
<el-col :span="11" v-show="formData.autoPurchase">
@ -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 = {

Loading…
Cancel
Save