|
|
@@ -955,7 +955,7 @@ export default {
|
|
|
// 仓库
|
|
|
else if (self.type === self.$config.MagnifierType.warehouse) {
|
|
|
self.service = this.$service.commonService
|
|
|
- self.methodsNameDetail = 'getWarehouseByPage' //详细函数名称,目前对应后台的查询接口名称
|
|
|
+ self.methodsNameDetail = 'getWarehouse' //详细函数名称,目前对应后台的查询接口名称
|
|
|
self.searchContent = [
|
|
|
{itemCode: 'whName'}, //查询条件
|
|
|
{itemCode: 'whCode'},
|
|
|
@@ -967,38 +967,30 @@ export default {
|
|
|
self.columns = [
|
|
|
{field: 'whName', width: '100'}, //查询出来的字段以及宽度
|
|
|
{field: 'whCode', width: '100'},
|
|
|
- {field: 'mmCode', width: '100'},
|
|
|
- {field: 'directorName', width: '100'},
|
|
|
- {field: 'contactsName', width: '100'},
|
|
|
- {field: 'contactNo', width: '100'},
|
|
|
- {field: 'cpName', width: '100'},
|
|
|
+ {field: 'contactPhone', width: '100'},
|
|
|
+ {field: 'supervisor', width: '100'},
|
|
|
{field: 'remarks', width: '100'},
|
|
|
- {field: 'flgDefault', title: "flgDefaultWh", width: '100', type: 'switch', disabled: false},
|
|
|
+ {field: 'ownerFlag', width: '40', type: 'switch', disabled: false},
|
|
|
]
|
|
|
}
|
|
|
//资金账号
|
|
|
- else if (self.type === self.$config.MagnifierType.capitalAccount) {
|
|
|
+ else if (self.type === self.$config.MagnifierType.moneyAccount) {
|
|
|
self.service = this.$service.commonService
|
|
|
- self.methodsName = 'getCapitalAccount'
|
|
|
- self.methodsNameDetail = 'getCapitalAccountByPage'
|
|
|
+ self.methodsNameDetail = 'getMoneyAccount'
|
|
|
self.searchContent = [
|
|
|
- {itemCode: 'capitalName'},
|
|
|
- {itemCode: 'capitalType'},
|
|
|
+ {itemCode: 'macCode'},
|
|
|
+ {itemCode: 'macName'},
|
|
|
]
|
|
|
- self.selectKey = 'capitalId'
|
|
|
- self.selectLabel = 'capitalName'
|
|
|
+ self.selectKey = 'macId'
|
|
|
+ self.selectLabel = 'macName'
|
|
|
self.modalWidth = 700
|
|
|
self.colCount = 2
|
|
|
self.columns = [
|
|
|
- {field: 'capitalName', width: '100'},
|
|
|
- {field: 'mmCode', width: '100'},
|
|
|
- {field: 'capitalType', width: '100'},
|
|
|
- {field: 'cpName', width: '100'},
|
|
|
- {field: 'openingCompany', width: '100'},
|
|
|
- {field: 'openingBank', width: '100'},
|
|
|
- {field: 'bankAccount', width: '100'},
|
|
|
+ {field: 'macCode', width: '100'},
|
|
|
+ {field: 'macName', width: '100'},
|
|
|
+ {field: 'macType', width: '100'},
|
|
|
{field: 'remarks', width: '100'},
|
|
|
- {field: 'flgDefault', title: 'flgDefaultCa', width: '100', type: 'switch', disabled: false},
|
|
|
+ {field: 'ownerFlag', width: '40', type: 'switch', disabled: false},
|
|
|
]
|
|
|
}
|
|
|
}
|