|
|
@@ -522,6 +522,21 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="分账商户" prop="subMerchantId">
|
|
|
+ <el-select
|
|
|
+ v-model="form.subMerchantId"
|
|
|
+ placeholder="请选择"
|
|
|
+ clearable
|
|
|
+ size="small"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in subMerchantList"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.merchantName"
|
|
|
+ :value="item.id"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
@@ -930,6 +945,7 @@ import { listDept } from '@/api/system/dept'
|
|
|
import { listAll } from '@/api/course/coursePlaySourceConfig'
|
|
|
import{ getSignProjectName } from '@/api/course/qw/courseWatchLog'
|
|
|
import { listXsyAccount, bindXsyAccount, unbindXsyAccount } from '@/api/xsy/xsy'
|
|
|
+import { merchantOptions } from "@/api/his/merchant";
|
|
|
export default {
|
|
|
name: 'Company',
|
|
|
data() {
|
|
|
@@ -1146,10 +1162,13 @@ export default {
|
|
|
companyName: '',
|
|
|
accountId: null
|
|
|
},
|
|
|
-
|
|
|
+ subMerchantList: [],
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ merchantOptions().then(res=>{
|
|
|
+ this.subMerchantList = res.data;
|
|
|
+ });
|
|
|
getGatewayCompanyList().then(res=>{
|
|
|
this.gatewayList = res.data;
|
|
|
console.log(this.gatewayList);
|