|
@@ -191,6 +191,20 @@
|
|
|
</a-select-option>
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
+ <a-form-item
|
|
|
+ label="部门"
|
|
|
+ :labelCol="BaseTool.Constant.labelCol"
|
|
|
+ :wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
+ >
|
|
|
+ <a-select v-decorator="['applyDept', {rules: [{required: true, message: '部门不能为空'}]}]" placeholder="请选择">
|
|
|
+ <a-select-option
|
|
|
+ v-for="(label,value) in (tokenType===1?lyDeptMap:sdDeptMap)"
|
|
|
+ :key="value"
|
|
|
+ :label="label"
|
|
|
+ :value="value">{{ label }}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
@@ -283,8 +297,11 @@ export default {
|
|
|
outFlag: 1,
|
|
|
tokenType: 1,
|
|
|
model: {},
|
|
|
+
|
|
|
sbPositionList: [],
|
|
|
feeFromMap: {},
|
|
|
+ lyDeptMap: {},
|
|
|
+ sdDeptMap: {},
|
|
|
storeId: null,
|
|
|
treeData: [],
|
|
|
// 下拉框map
|
|
@@ -377,6 +394,8 @@ export default {
|
|
|
// 下拉框map
|
|
|
this.getSbPositions()
|
|
|
this.feeFromMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.FEE_FORM_TYPE)
|
|
|
+ this.lyDeptMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.DEPT_TYPE_LY)
|
|
|
+
|
|
|
this.deptYYMap = this.DictCache.getChildrenList(this.DictCache.TYPE.OUT_STORE_FORM_DEPT_CODE).map(item => {
|
|
|
if (item.code === 'SBB') {
|
|
|
item.children = this.DictCache.getChildrenList(this.DictCache.TYPE.SBB)
|