|
@@ -140,6 +140,7 @@
|
|
|
var fatherProject = ref('')
|
|
|
var fatherSourceCode = ref('')
|
|
|
var fatherType =ref('')
|
|
|
+ var getListUrl=ref('')
|
|
|
const columns = [
|
|
|
{
|
|
|
type: 'selection',
|
|
@@ -302,7 +303,7 @@
|
|
|
});
|
|
|
function loadData(){
|
|
|
let params = getQueryParams();
|
|
|
- defHttp.get({ url: '/purCode/purOrder/selectPurOrderDetailAlert',params}, { isTransformResponse: false })
|
|
|
+ defHttp.get({ url: getListUrl.value,params}, { isTransformResponse: false })
|
|
|
.then((res) => {
|
|
|
if (res.success) {
|
|
|
dataSource.value = res.result.records;
|
|
@@ -423,6 +424,7 @@
|
|
|
fatherSourceCode.value = ''
|
|
|
}
|
|
|
fatherType.value='arrive'
|
|
|
+ getListUrl.value = '/purCode/purOrder/selectPurOrderDetailAlert'
|
|
|
loadData()
|
|
|
}
|
|
|
function getTableFromPurPayRequestForm(){
|
|
@@ -430,6 +432,7 @@
|
|
|
fatherProject.value = ''
|
|
|
fatherSourceCode.value = ''
|
|
|
fatherType.value='payRequest'
|
|
|
+ getListUrl.value = '/purCode/purOrder/listAlert'
|
|
|
loadData()
|
|
|
}
|
|
|
function changeBillDate(prop){
|