给单据增加账户、状态和备注的筛选
This commit is contained in:
@@ -58,6 +58,19 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -144,7 +157,9 @@
|
|||||||
subType: "调拨",
|
subType: "调拨",
|
||||||
roleType: Vue.ls.get('roleType'),
|
roleType: Vue.ls.get('roleType'),
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: ""
|
creator: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
|
|||||||
@@ -58,6 +58,19 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -144,7 +157,9 @@
|
|||||||
subType: "组装单",
|
subType: "组装单",
|
||||||
roleType: Vue.ls.get('roleType'),
|
roleType: Vue.ls.get('roleType'),
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: ""
|
creator: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
|
|||||||
@@ -58,6 +58,19 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -144,7 +157,9 @@
|
|||||||
subType: "拆卸单",
|
subType: "拆卸单",
|
||||||
roleType: Vue.ls.get('roleType'),
|
roleType: Vue.ls.get('roleType'),
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: ""
|
creator: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
|
|||||||
@@ -72,6 +72,19 @@
|
|||||||
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -160,7 +173,9 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
linkNumber: ""
|
linkNumber: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
|
|||||||
@@ -72,6 +72,19 @@
|
|||||||
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -160,7 +173,9 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
linkNumber: ""
|
linkNumber: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
|
|||||||
@@ -72,6 +72,28 @@
|
|||||||
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="结算账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择结算账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -160,7 +182,10 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
linkNumber: ""
|
linkNumber: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -227,6 +252,7 @@
|
|||||||
this.initSupplier()
|
this.initSupplier()
|
||||||
this.getDepotData()
|
this.getDepotData()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,6 +72,28 @@
|
|||||||
<a-input placeholder="请输入关联订单" v-model="queryParam.linkNumber"></a-input>
|
<a-input placeholder="请输入关联订单" v-model="queryParam.linkNumber"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="结算账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择结算账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -162,7 +184,10 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
linkNumber: ""
|
linkNumber: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -235,6 +260,7 @@
|
|||||||
this.initSupplier()
|
this.initSupplier()
|
||||||
this.getDepotData()
|
this.getDepotData()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,6 +58,21 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
<a-select-option value="3">部分采购</a-select-option>
|
||||||
|
<a-select-option value="2">完成采购</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -148,7 +163,9 @@
|
|||||||
roleType: Vue.ls.get('roleType'),
|
roleType: Vue.ls.get('roleType'),
|
||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: ""
|
creator: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
|
|||||||
@@ -72,6 +72,28 @@
|
|||||||
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="结算账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择结算账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -160,7 +182,10 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
linkNumber: ""
|
linkNumber: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -225,6 +250,7 @@
|
|||||||
this.initRetail()
|
this.initRetail()
|
||||||
this.getDepotData()
|
this.getDepotData()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,6 +67,28 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="结算账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择结算账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -154,7 +176,10 @@
|
|||||||
roleType: Vue.ls.get('roleType'),
|
roleType: Vue.ls.get('roleType'),
|
||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: ""
|
creator: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -219,6 +244,7 @@
|
|||||||
this.initRetail()
|
this.initRetail()
|
||||||
this.getDepotData()
|
this.getDepotData()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,6 +73,28 @@
|
|||||||
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
<a-input placeholder="请输入关联单据" v-model="queryParam.linkNumber"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="结算账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择结算账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -160,7 +182,10 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
linkNumber: ""
|
linkNumber: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -227,6 +252,7 @@
|
|||||||
this.initCustomer()
|
this.initCustomer()
|
||||||
this.getDepotData()
|
this.getDepotData()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,6 +59,21 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
<a-select-option value="3">部分销售</a-select-option>
|
||||||
|
<a-select-option value="2">完成销售</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -148,7 +163,9 @@
|
|||||||
roleType: Vue.ls.get('roleType'),
|
roleType: Vue.ls.get('roleType'),
|
||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: ""
|
creator: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
|
|||||||
@@ -73,6 +73,28 @@
|
|||||||
<a-input placeholder="请输入关联订单" v-model="queryParam.linkNumber"></a-input>
|
<a-input placeholder="请输入关联订单" v-model="queryParam.linkNumber"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="结算账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择结算账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -162,7 +184,10 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
depotId: "",
|
depotId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
linkNumber: ""
|
linkNumber: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -235,6 +260,7 @@
|
|||||||
this.initCustomer()
|
this.initCustomer()
|
||||||
this.getDepotData()
|
this.getDepotData()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import {getAction } from '@/api/manage'
|
import {getAction } from '@/api/manage'
|
||||||
import {findBySelectSup, findBySelectCus, findBySelectRetail, getUserList } from '@/api/api'
|
import {findBySelectSup, findBySelectCus, findBySelectRetail, getUserList, getAccount} from '@/api/api'
|
||||||
|
|
||||||
export const BillListMixin = {
|
export const BillListMixin = {
|
||||||
data () {
|
data () {
|
||||||
@@ -8,7 +8,8 @@ export const BillListMixin = {
|
|||||||
supList: [],
|
supList: [],
|
||||||
cusList: [],
|
cusList: [],
|
||||||
retailList: [],
|
retailList: [],
|
||||||
userList: []
|
userList: [],
|
||||||
|
accountList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -128,6 +129,14 @@ export const BillListMixin = {
|
|||||||
this.userList = res;
|
this.userList = res;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
initAccount() {
|
||||||
|
getAccount({}).then((res)=>{
|
||||||
|
if(res && res.code === 200) {
|
||||||
|
let list = res.data.accountList
|
||||||
|
this.accountList = list
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -63,6 +63,19 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -153,6 +166,8 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
handsPersonId: "",
|
handsPersonId: "",
|
||||||
|
status: "",
|
||||||
|
remark: "",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType')
|
||||||
},
|
},
|
||||||
// 表头
|
// 表头
|
||||||
@@ -190,6 +205,7 @@
|
|||||||
this.initRetail()
|
this.initRetail()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
this.initPerson()
|
this.initPerson()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,6 +54,28 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="付款账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择付款账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -143,6 +165,9 @@
|
|||||||
type: "转账",
|
type: "转账",
|
||||||
creator: "",
|
creator: "",
|
||||||
handsPersonId: "",
|
handsPersonId: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: "",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType')
|
||||||
},
|
},
|
||||||
// 表头
|
// 表头
|
||||||
@@ -177,6 +202,7 @@
|
|||||||
created () {
|
created () {
|
||||||
this.initUser()
|
this.initUser()
|
||||||
this.initPerson()
|
this.initPerson()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,6 +63,28 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="收入账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择收入账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -153,6 +175,9 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
handsPersonId: "",
|
handsPersonId: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: "",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType')
|
||||||
},
|
},
|
||||||
// 表头
|
// 表头
|
||||||
@@ -189,6 +214,7 @@
|
|||||||
this.initOrgan()
|
this.initOrgan()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
this.initPerson()
|
this.initPerson()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,6 +63,28 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="支出账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择支出账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -153,6 +175,9 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
handsPersonId: "",
|
handsPersonId: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: "",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType')
|
||||||
},
|
},
|
||||||
// 表头
|
// 表头
|
||||||
@@ -189,6 +214,7 @@
|
|||||||
this.initOrgan()
|
this.initOrgan()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
this.initPerson()
|
this.initPerson()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,6 +63,28 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="收款账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择收款账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -154,6 +176,9 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
handsPersonId: "",
|
handsPersonId: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: "",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType')
|
||||||
},
|
},
|
||||||
// 表头
|
// 表头
|
||||||
@@ -192,6 +217,7 @@
|
|||||||
this.initCustomer()
|
this.initCustomer()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
this.initPerson()
|
this.initPerson()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,6 +63,28 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="收款账户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择收款账户" showSearch optionFilterProp="children" v-model="queryParam.accountId">
|
||||||
|
<a-select-option v-for="(item,index) in accountList" :key="index" :value="item.id">
|
||||||
|
{{ item.name }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择单据状态" v-model="queryParam.status">
|
||||||
|
<a-select-option value="0">未审核</a-select-option>
|
||||||
|
<a-select-option value="1">已审核</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="单据备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入单据备注" v-model="queryParam.remark"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -154,6 +176,9 @@
|
|||||||
organId: "",
|
organId: "",
|
||||||
creator: "",
|
creator: "",
|
||||||
handsPersonId: "",
|
handsPersonId: "",
|
||||||
|
accountId: "",
|
||||||
|
status: "",
|
||||||
|
remark: "",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType')
|
||||||
},
|
},
|
||||||
// 表头
|
// 表头
|
||||||
@@ -192,6 +217,7 @@
|
|||||||
this.initSupplier()
|
this.initSupplier()
|
||||||
this.initUser()
|
this.initUser()
|
||||||
this.initPerson()
|
this.initPerson()
|
||||||
|
this.initAccount()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType } from '@/api/api'
|
import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType, getAccount} from '@/api/api'
|
||||||
|
|
||||||
export const FinancialListMixin = {
|
export const FinancialListMixin = {
|
||||||
data () {
|
data () {
|
||||||
@@ -8,7 +8,8 @@ export const FinancialListMixin = {
|
|||||||
organList: [],
|
organList: [],
|
||||||
retailList: [],
|
retailList: [],
|
||||||
userList: [],
|
userList: [],
|
||||||
personList: []
|
personList: [],
|
||||||
|
accountList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -109,6 +110,14 @@ export const FinancialListMixin = {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
initAccount() {
|
||||||
|
getAccount({}).then((res)=>{
|
||||||
|
if(res && res.code === 200) {
|
||||||
|
let list = res.data.accountList
|
||||||
|
this.accountList = list
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
onDateChange: function (value, dateString) {
|
onDateChange: function (value, dateString) {
|
||||||
this.queryParam.beginTime=dateString[0];
|
this.queryParam.beginTime=dateString[0];
|
||||||
this.queryParam.endTime=dateString[1];
|
this.queryParam.endTime=dateString[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user