|
|
@@ -418,7 +418,8 @@
|
|
|
roleName.includes('应付修改') ||
|
|
|
roleName.includes('应收查看') ||
|
|
|
roleName.includes('应付查看'))) ||
|
|
|
- roleName.includes('国外费用')||roleName.includes('允许修改他人费用')
|
|
|
+ roleName.includes('国外费用') ||
|
|
|
+ roleName.includes('允许修改他人费用')
|
|
|
"
|
|
|
>
|
|
|
<feecenter
|
|
|
@@ -560,7 +561,7 @@
|
|
|
placeholder="目的港公司"
|
|
|
key="id"
|
|
|
label="deptName"
|
|
|
- :url="'/blade-system/dept/getDeptList?polId=' + form.podId"
|
|
|
+ url="/blade-system/dept/lazy-list"
|
|
|
:filterable="true"
|
|
|
@selectChange="dicChange('podCompanyName', $event)"
|
|
|
></dic-select>
|
|
|
@@ -1390,6 +1391,15 @@ export default {
|
|
|
this.transferForm = {
|
|
|
podCompanyId: null
|
|
|
};
|
|
|
+ getLazylist().then(res => {
|
|
|
+ for (let item of res.data.data) {
|
|
|
+ if (this.form.podId == item.polId) {
|
|
|
+ this.transferForm.podCompanyId = item.id;
|
|
|
+ this.transferForm.podCompanyName = item.deptName;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
this.transferDialog = true;
|
|
|
}
|
|
|
if (name == "物流撤销提交") {
|
|
|
@@ -2506,7 +2516,9 @@ export default {
|
|
|
for (let item of this.form.feeCenterListC) {
|
|
|
if (!item.corpId || !item.feeId || !item.curCode) {
|
|
|
msgs.push(
|
|
|
- `应付第${item.$index + 1}行${!item.corpId ? " 往来单位" : ""}${!item.feeId ? " 费用简称" : ""}${!item.curCode ? " 币种" : ""}${(item.feeCnName == "快递费"&&!item.trackingNumber)?" 快递费" : ""}`
|
|
|
+ `应付第${item.$index + 1}行${!item.corpId ? " 往来单位" : ""}${!item.feeId ? " 费用简称" : ""}${!item.curCode ? " 币种" : ""}${
|
|
|
+ item.feeCnName == "快递费" && !item.trackingNumber ? " 快递费" : ""
|
|
|
+ }`
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
@@ -2939,14 +2951,14 @@ export default {
|
|
|
if (
|
|
|
!this.roleName.includes("admin") &&
|
|
|
(this.roleName.includes("应收修改") || this.roleName.includes("应收查看")) &&
|
|
|
- !(this.roleName.includes("应付修改") || this.roleName.includes("应付查看")|| !this.roleName.includes("允许修改他人费用"))
|
|
|
+ !(this.roleName.includes("应付修改") || this.roleName.includes("应付查看") || !this.roleName.includes("允许修改他人费用"))
|
|
|
) {
|
|
|
res.data.data.feeCenterListC = [];
|
|
|
}
|
|
|
if (
|
|
|
!this.roleName.includes("admin") &&
|
|
|
(this.roleName.includes("应付修改") || this.roleName.includes("应付查看")) &&
|
|
|
- !(this.roleName.includes("应收修改") || this.roleName.includes("应收查看")|| !this.roleName.includes("允许修改他人费用"))
|
|
|
+ !(this.roleName.includes("应收修改") || this.roleName.includes("应收查看") || !this.roleName.includes("允许修改他人费用"))
|
|
|
) {
|
|
|
res.data.data.feeCenterListD = [];
|
|
|
}
|
|
|
@@ -3026,14 +3038,14 @@ export default {
|
|
|
if (
|
|
|
!this.roleName.includes("admin") &&
|
|
|
(this.roleName.includes("应收修改") || this.roleName.includes("应收查看")) &&
|
|
|
- !(this.roleName.includes("应付修改") || this.roleName.includes("应付查看")|| !this.roleName.includes("允许修改他人费用"))
|
|
|
+ !(this.roleName.includes("应付修改") || this.roleName.includes("应付查看") || !this.roleName.includes("允许修改他人费用"))
|
|
|
) {
|
|
|
res.data.data.feeCenterListC = [];
|
|
|
}
|
|
|
if (
|
|
|
!this.roleName.includes("admin") &&
|
|
|
(this.roleName.includes("应付修改") || this.roleName.includes("应付查看")) &&
|
|
|
- !(this.roleName.includes("应收修改") || this.roleName.includes("应收查看")|| !this.roleName.includes("允许修改他人费用"))
|
|
|
+ !(this.roleName.includes("应收修改") || this.roleName.includes("应收查看") || !this.roleName.includes("允许修改他人费用"))
|
|
|
) {
|
|
|
res.data.data.feeCenterListD = [];
|
|
|
}
|