|
@@ -668,15 +668,6 @@ const getDict = () => {
|
|
|
};
|
|
|
});
|
|
|
});
|
|
|
- proxy.post("/customer/privateSeaPage", { pageNum: 1, pageSize: 999 }).then((res) => {
|
|
|
- customerList.value = res.rows.map((item) => {
|
|
|
- return {
|
|
|
- ...item,
|
|
|
- label: item.name,
|
|
|
- value: item.id,
|
|
|
- };
|
|
|
- });
|
|
|
- });
|
|
|
proxy.post("/accountManagement/page", { pageNum: 1, pageSize: 999 }).then((res) => {
|
|
|
accountList.value = res.rows.map((item) => {
|
|
|
return {
|
|
@@ -1259,6 +1250,7 @@ watch(
|
|
|
}
|
|
|
getDecisionAids();
|
|
|
}
|
|
|
+ console.log('111');
|
|
|
},
|
|
|
{
|
|
|
deep: true,
|
|
@@ -1277,9 +1269,29 @@ const acquireSelectList = () => {
|
|
|
return data;
|
|
|
};
|
|
|
onMounted(() => {
|
|
|
+ if(!route.query.processType || route.query.processType == 30) {
|
|
|
+ proxy.post("/customer/privateSeaPage", { pageNum: 1, pageSize: 999 }).then((res) => {
|
|
|
+ customerList.value = res.rows.map((item) => {
|
|
|
+ return {
|
|
|
+ ...item,
|
|
|
+ label: item.name,
|
|
|
+ value: item.id,
|
|
|
+ };
|
|
|
+ });
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ proxy.post("/customer/page", { pageNum: 1, pageSize: 999 }).then((res) => {
|
|
|
+ customerList.value = res.rows.map((item) => {
|
|
|
+ return {
|
|
|
+ ...item,
|
|
|
+ label: item.name,
|
|
|
+ value: item.id,
|
|
|
+ };
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
if (props.queryData.priceSheetId) {
|
|
|
proxy.post("/saleQuotation/detail", { id: props.queryData.priceSheetId }).then((res) => {
|
|
|
- console.log(res);
|
|
|
res.countryId = res.buyCountryId;
|
|
|
res.provinceId = res.buyProvinceId;
|
|
|
res.cityId = res.buyCityId;
|