|
|
|
@ -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 = {
|
|
|
|
|