|
|
@ -1942,7 +1942,11 @@ export default { |
|
|
this.searchData.planEndDateStr = this.searchData.planEndDate || '' |
|
|
this.searchData.planEndDateStr = this.searchData.planEndDate || '' |
|
|
this.dataListLoading = true |
|
|
this.dataListLoading = true |
|
|
|
|
|
|
|
|
searchInspectionRequestHeaderList(this.searchData).then(({ data }) => { |
|
|
|
|
|
|
|
|
// rqrq - 每次查询从页面模式生成范围,重置条件不会清除本人限制。 |
|
|
|
|
|
searchInspectionRequestHeaderList({ |
|
|
|
|
|
...this.searchData, |
|
|
|
|
|
currentPlannerOnly: !this.isSupplierPageMode |
|
|
|
|
|
}).then(({ data }) => { |
|
|
if (data.code === 0) { |
|
|
if (data.code === 0) { |
|
|
this.mainDataList = data.page.list |
|
|
this.mainDataList = data.page.list |
|
|
|
|
|
|
|
|
@ -2319,6 +2323,7 @@ export default { |
|
|
// 加载新增PO选择列表 |
|
|
// 加载新增PO选择列表 |
|
|
loadAddPoSelectList () { |
|
|
loadAddPoSelectList () { |
|
|
const params = { |
|
|
const params = { |
|
|
|
|
|
currentPlannerOnly: !this.isSupplierPageMode, // rqrq - 补选 PO 同样限定本人 |
|
|
site: this.$store.state.user.site, |
|
|
site: this.$store.state.user.site, |
|
|
supplierNo: this.addFormData.supplierNo, |
|
|
supplierNo: this.addFormData.supplierNo, |
|
|
orderRef1: this.addPoSearch.orderRef1 || '', |
|
|
orderRef1: this.addPoSearch.orderRef1 || '', |
|
|
@ -2897,6 +2902,7 @@ export default { |
|
|
// 查询新增弹窗专用供应商列表 |
|
|
// 查询新增弹窗专用供应商列表 |
|
|
loadPoSupplierList () { |
|
|
loadPoSupplierList () { |
|
|
const params = { |
|
|
const params = { |
|
|
|
|
|
currentPlannerOnly: !this.isSupplierPageMode, // rqrq - 本人负责的供应商 |
|
|
site: this.$store.state.user.site, |
|
|
site: this.$store.state.user.site, |
|
|
supplierNo: this.poSupplierSearch.supplierNo || '', |
|
|
supplierNo: this.poSupplierSearch.supplierNo || '', |
|
|
supplierName: this.poSupplierSearch.supplierName || '', |
|
|
supplierName: this.poSupplierSearch.supplierName || '', |
|
|
@ -3089,6 +3095,7 @@ export default { |
|
|
// 加载订单来源供应商分页列表(专用后端方法) |
|
|
// 加载订单来源供应商分页列表(专用后端方法) |
|
|
loadOrderSupplierList () { |
|
|
loadOrderSupplierList () { |
|
|
const params = { |
|
|
const params = { |
|
|
|
|
|
currentPlannerOnly: !this.isSupplierPageMode, // rqrq - 本人负责的订单 |
|
|
site: this.$store.state.user.site, |
|
|
site: this.$store.state.user.site, |
|
|
page: this.orderSupplierPageIndex, |
|
|
page: this.orderSupplierPageIndex, |
|
|
limit: this.orderSupplierPageSize, |
|
|
limit: this.orderSupplierPageSize, |
|
|
@ -3220,6 +3227,7 @@ export default { |
|
|
const params = { |
|
|
const params = { |
|
|
supplierNo: this.addFormData.supplierNo, |
|
|
supplierNo: this.addFormData.supplierNo, |
|
|
site: this.$store.state.user.site, |
|
|
site: this.$store.state.user.site, |
|
|
|
|
|
currentPlannerOnly: !this.isSupplierPageMode, // rqrq - 供应商模式保持原有 PO 范围 |
|
|
page: 1, |
|
|
page: 1, |
|
|
limit: 1000 |
|
|
limit: 1000 |
|
|
} |
|
|
} |
|
|
@ -3609,6 +3617,7 @@ export default { |
|
|
// 获取当前查询条件 |
|
|
// 获取当前查询条件 |
|
|
const exportParams = { |
|
|
const exportParams = { |
|
|
...this.searchData, |
|
|
...this.searchData, |
|
|
|
|
|
currentPlannerOnly: !this.isSupplierPageMode, // rqrq - 导出与主表查询范围一致 |
|
|
limit: 99999, |
|
|
limit: 99999, |
|
|
page: 1 |
|
|
page: 1 |
|
|
} |
|
|
} |
|
|
|