|
@@ -120,33 +120,33 @@
|
|
|
item[0].prop
|
|
|
]
|
|
|
" :filterable="true" :allowCreate="item[0]
|
|
|
- .allowCreate ||
|
|
|
- false
|
|
|
- " :clearable="false" :remote="true" :disabled="detailData.seeDisabled ||
|
|
|
- item[0]
|
|
|
- .disabled ||
|
|
|
- showLock
|
|
|
- " :buttonIf="false" :placeholder="`${item[0]
|
|
|
- .text ||
|
|
|
- ''}`
|
|
|
- " :forParameter="item[0]
|
|
|
- .forParameter
|
|
|
- " @remoteMethod="
|
|
|
- remoteMethod(
|
|
|
- $event,
|
|
|
- item[0].prop
|
|
|
- )
|
|
|
- " @corpChange="
|
|
|
- corpChange(
|
|
|
- $event,
|
|
|
- item[0].prop
|
|
|
- )
|
|
|
- " @corpFocus="
|
|
|
- remoteMethod(
|
|
|
- $event,
|
|
|
- item[0].prop
|
|
|
- )
|
|
|
- ">
|
|
|
+ .allowCreate ||
|
|
|
+ false
|
|
|
+ " :clearable="false" :remote="true" :disabled="detailData.seeDisabled ||
|
|
|
+ item[0]
|
|
|
+ .disabled ||
|
|
|
+ showLock
|
|
|
+ " :buttonIf="false" :placeholder="`${item[0]
|
|
|
+ .text ||
|
|
|
+ ''}`
|
|
|
+ " :forParameter="item[0]
|
|
|
+ .forParameter
|
|
|
+ " @remoteMethod="
|
|
|
+ remoteMethod(
|
|
|
+ $event,
|
|
|
+ item[0].prop
|
|
|
+ )
|
|
|
+ " @corpChange="
|
|
|
+ corpChange(
|
|
|
+ $event,
|
|
|
+ item[0].prop
|
|
|
+ )
|
|
|
+ " @corpFocus="
|
|
|
+ remoteMethod(
|
|
|
+ $event,
|
|
|
+ item[0].prop
|
|
|
+ )
|
|
|
+ ">
|
|
|
</search-query>
|
|
|
<el-input v-else type="age" style="width: 100%;" v-model="form[
|
|
|
item[0].prop
|
|
@@ -193,8 +193,8 @@
|
|
|
" :selectValue="form[
|
|
|
item[1].prop
|
|
|
]
|
|
|
- " :filterable="true" :clearable="false"
|
|
|
- :remote="true" :disabled="detailData.seeDisabled ||
|
|
|
+ " :filterable="true" :clearable="false" :remote="true"
|
|
|
+ :disabled="detailData.seeDisabled ||
|
|
|
item[1]
|
|
|
.disabled ||
|
|
|
showLock
|
|
@@ -204,21 +204,21 @@
|
|
|
" :forParameter="item[1]
|
|
|
.forParameter
|
|
|
" @remoteMethod="
|
|
|
- remoteMethod(
|
|
|
- $event,
|
|
|
- item[1].prop
|
|
|
- )
|
|
|
- " @corpChange="
|
|
|
- corpChange(
|
|
|
- $event,
|
|
|
- item[1].prop
|
|
|
- )
|
|
|
- " @corpFocus="
|
|
|
- remoteMethod(
|
|
|
- $event,
|
|
|
- item[1].prop
|
|
|
- )
|
|
|
- ">
|
|
|
+ remoteMethod(
|
|
|
+ $event,
|
|
|
+ item[1].prop
|
|
|
+ )
|
|
|
+ " @corpChange="
|
|
|
+ corpChange(
|
|
|
+ $event,
|
|
|
+ item[1].prop
|
|
|
+ )
|
|
|
+ " @corpFocus="
|
|
|
+ remoteMethod(
|
|
|
+ $event,
|
|
|
+ item[1].prop
|
|
|
+ )
|
|
|
+ ">
|
|
|
</search-query>
|
|
|
|
|
|
<tree-select v-else-if="
|
|
@@ -229,21 +229,21 @@
|
|
|
]
|
|
|
" filterable :data="item[1].dicData
|
|
|
" :props="item[1]
|
|
|
- .forParameter
|
|
|
- " nodeKey="title" size="small" :disabled="detailData.seeDisabled ||
|
|
|
- item[1]
|
|
|
- .disabled ||
|
|
|
- showLock
|
|
|
- " :multiple="false" :clearable="false"
|
|
|
+ .forParameter
|
|
|
+ " nodeKey="title" size="small" :disabled="detailData.seeDisabled ||
|
|
|
+ item[1]
|
|
|
+ .disabled ||
|
|
|
+ showLock
|
|
|
+ " :multiple="false" :clearable="false"
|
|
|
:placeholder="`${item[1]
|
|
|
.text ||
|
|
|
''}`
|
|
|
" @input="
|
|
|
- corpChange(
|
|
|
- $event,
|
|
|
- item[1].prop
|
|
|
- )
|
|
|
- ">
|
|
|
+ corpChange(
|
|
|
+ $event,
|
|
|
+ item[1].prop
|
|
|
+ )
|
|
|
+ ">
|
|
|
</tree-select>
|
|
|
|
|
|
<el-input v-else type="age" style="width: 100%;" v-model="form[
|
|
@@ -282,8 +282,8 @@
|
|
|
" :selectValue="form[
|
|
|
item[2].prop
|
|
|
]
|
|
|
- " :filterable="true" :clearable="false"
|
|
|
- :remote="true" :disabled="detailData.seeDisabled ||
|
|
|
+ " :filterable="true" :clearable="false" :remote="true"
|
|
|
+ :disabled="detailData.seeDisabled ||
|
|
|
item[2]
|
|
|
.disabled ||
|
|
|
showLock
|
|
@@ -293,21 +293,21 @@
|
|
|
.text ||
|
|
|
''}`
|
|
|
" @remoteMethod="
|
|
|
- remoteMethod(
|
|
|
- $event,
|
|
|
- item[2].prop
|
|
|
- )
|
|
|
- " @corpChange="
|
|
|
- corpChange(
|
|
|
- $event,
|
|
|
- item[2].prop
|
|
|
- )
|
|
|
- " @corpFocus="
|
|
|
- remoteMethod(
|
|
|
- $event,
|
|
|
- item[2].prop
|
|
|
- )
|
|
|
- ">
|
|
|
+ remoteMethod(
|
|
|
+ $event,
|
|
|
+ item[2].prop
|
|
|
+ )
|
|
|
+ " @corpChange="
|
|
|
+ corpChange(
|
|
|
+ $event,
|
|
|
+ item[2].prop
|
|
|
+ )
|
|
|
+ " @corpFocus="
|
|
|
+ remoteMethod(
|
|
|
+ $event,
|
|
|
+ item[2].prop
|
|
|
+ )
|
|
|
+ ">
|
|
|
</search-query>
|
|
|
<el-input v-else type="age" style="width: 100%;" v-model="form[
|
|
|
item[2].prop
|
|
@@ -339,25 +339,25 @@
|
|
|
" :buttonIf="item.buttonIf" :forParameter="item.forParameter
|
|
|
" :joinData="item.joinData" :placeholder="`${item.text || ''}`
|
|
|
" @remoteMethod="
|
|
|
- remoteMethod(
|
|
|
- $event,
|
|
|
- item.prop
|
|
|
- )
|
|
|
- " @corpChange="
|
|
|
- corpChange(
|
|
|
- $event,
|
|
|
- item.prop
|
|
|
- )
|
|
|
- " @corpFocus="
|
|
|
- remoteMethod(
|
|
|
- $event,
|
|
|
- item.prop
|
|
|
- )
|
|
|
- " @eldialogConfirm="
|
|
|
- eldialogConfirm(
|
|
|
- item.slot
|
|
|
- )
|
|
|
- ">
|
|
|
+ remoteMethod(
|
|
|
+ $event,
|
|
|
+ item.prop
|
|
|
+ )
|
|
|
+ " @corpChange="
|
|
|
+ corpChange(
|
|
|
+ $event,
|
|
|
+ item.prop
|
|
|
+ )
|
|
|
+ " @corpFocus="
|
|
|
+ remoteMethod(
|
|
|
+ $event,
|
|
|
+ item.prop
|
|
|
+ )
|
|
|
+ " @eldialogConfirm="
|
|
|
+ eldialogConfirm(
|
|
|
+ item.slot
|
|
|
+ )
|
|
|
+ ">
|
|
|
<bcorps v-show="item.slot ==
|
|
|
'bcorps'
|
|
|
" ref="bcorps" :eldialog="true" @selectionChange="
|
|
@@ -570,7 +570,10 @@ export default {
|
|
|
businessTypes: "海运",
|
|
|
seaType: "I", // 进出口 默认出口 E=出口 I=进口"
|
|
|
billType: "DD", // 单据类型 默认 直单
|
|
|
- accDeptName: "", // 核算部门 默认登录人的部门
|
|
|
+ accDeptName: JSON.parse(localStorage.getItem('sysitemData')).deptName,
|
|
|
+ accDept: JSON.parse(localStorage.getItem('sysitemData')).deptId,
|
|
|
+ operatorDeptName: JSON.parse(localStorage.getItem('sysitemData')).deptName,
|
|
|
+ operatorDept: JSON.parse(localStorage.getItem('sysitemData')).deptId,
|
|
|
issueType: "ORI", // 签单方式 默认 正本
|
|
|
mpaymode: "PP", // 主单付费方式 默认PP
|
|
|
hpaymode: "PP", // 分单付费方式 默认 PP
|
|
@@ -611,7 +614,10 @@ export default {
|
|
|
businessTypes: "海运",
|
|
|
seaType: "I", // 进出口 默认出口 E=出口 I=进口"
|
|
|
billType: "DD", // 单据类型 默认 直单
|
|
|
- accDeptName: "", // 核算部门 默认登录人的部门
|
|
|
+ accDeptName: JSON.parse(localStorage.getItem('sysitemData')).deptName,
|
|
|
+ accDept: JSON.parse(localStorage.getItem('sysitemData')).deptId,
|
|
|
+ operatorDeptName: JSON.parse(localStorage.getItem('sysitemData')).deptName,
|
|
|
+ operatorDept: JSON.parse(localStorage.getItem('sysitemData')).deptId,
|
|
|
issueType: "ORI", // 签单方式 默认 正本
|
|
|
mpaymode: "PP", // 主单付费方式 默认PP
|
|
|
hpaymode: "PP", // 分单付费方式 默认 PP
|
|
@@ -994,7 +1000,7 @@ export default {
|
|
|
// 判断是否员id, 有id 就不显示
|
|
|
if (!this.form.id) {
|
|
|
this.deptGetDetailPolfun(); // 目的地 卸货港 当前登录人的默认
|
|
|
- this.userGetListfun(undefined, true); // 获取用户管理数据
|
|
|
+ // this.userGetListfun(undefined, true); // 获取用户管理数据
|
|
|
}
|
|
|
this.ownDeptLazyTreefun(); // 获取公司数据
|
|
|
this.getLazylistfun(); // 获取审核数据
|