优化销售退货和采购退货的关联单据查询逻辑

This commit is contained in:
季圣华 2023-12-13 22:55:01 +08:00
parent 315be9104e
commit 34211dbde0
3 changed files with 4 additions and 2 deletions

View File

@ -74,6 +74,8 @@
<a-tag v-if="record.status === '2' && queryParam.subType === '销售订单'" color="cyan">完成销售</a-tag>
<a-tag v-if="record.status === '3' && queryParam.subType === '采购订单'" color="blue">部分采购</a-tag>
<a-tag v-if="record.status === '3' && queryParam.subType === '销售订单'" color="blue">部分销售</a-tag>
<a-tag v-if="record.status === '2' && (queryParam.subType === '采购'||queryParam.subType === '销售')" color="green">已审核</a-tag>
<a-tag v-if="record.status === '3' && (queryParam.subType === '采购'||queryParam.subType === '销售')" color="green">已审核</a-tag>
</template>
<template v-if="queryParam.purchaseStatus">
<a-tag v-if="record.purchaseStatus === '0'" color="red">未采购</a-tag>

View File

@ -374,7 +374,7 @@
}
},
onSearchLinkNumber() {
this.$refs.linkBillList.show('入库', '采购', '供应商', "1")
this.$refs.linkBillList.show('入库', '采购', '供应商', "1,2,3")
this.$refs.linkBillList.title = "选择采购入库"
},
linkBillListOk(selectBillDetailRows, linkNumber, organId, discountMoney, deposit, remark) {

View File

@ -385,7 +385,7 @@
}
},
onSearchLinkNumber() {
this.$refs.linkBillList.show('出库', '销售', '客户', "1")
this.$refs.linkBillList.show('出库', '销售', '客户', "1,2,3")
this.$refs.linkBillList.title = "选择销售出库"
},
linkBillListOk(selectBillDetailRows, linkNumber, organId, discountMoney, deposit, remark) {