报表增加打印功能;单据退货可以从原单直接关联数据

This commit is contained in:
季圣华
2021-06-24 19:48:54 +08:00
parent ed7d2e205e
commit b08b55457d
19 changed files with 436 additions and 233 deletions

View File

@@ -241,7 +241,11 @@
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单据">
{{model.linkNumber}}
</a-form-item>
</a-col>
</a-row>
<a-table
ref="table"
@@ -447,7 +451,11 @@
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单据">
{{model.linkNumber}}
</a-form-item>
</a-col>
</a-row>
<a-row class="form-row" :gutter="24">
<a-col :lg="18" :md="12" :sm="24">
@@ -587,7 +595,11 @@
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单据">
{{model.linkNumber}}
</a-form-item>
</a-col>
</a-row>
<a-table
ref="table"

View File

@@ -42,9 +42,9 @@
queryParam: {
number: "",
searchMaterial: "",
type: "其它",
type: "",
subType: "",
status: "1"
status: ""
},
// 表头
columns: [
@@ -84,8 +84,9 @@
created() {
},
methods: {
show(subType, organType) {
show(type, subType, organType, status) {
this.queryParam.subType = subType
this.queryParam.status = status
this.columns[1].title = organType
this.model = Object.assign({}, {});
this.visible = true;