|
@@ -436,7 +436,7 @@
|
|
|
</a-form-model-item>
|
|
|
|
|
|
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="是否后补" prop="amends">
|
|
|
- <a-radio-group v-model="amends">
|
|
|
+ <a-radio-group v-model="amends">
|
|
|
<a-radio-button value="2">否</a-radio-button>
|
|
|
<a-radio-button value="1">是</a-radio-button>
|
|
|
|
|
@@ -663,7 +663,7 @@
|
|
|
this.handleDescRules(value, 5, 100, callback);
|
|
|
};
|
|
|
return {
|
|
|
- amends:"2",
|
|
|
+ amends: "2",
|
|
|
list: [],
|
|
|
productList: [],
|
|
|
advertiserList: [],
|
|
@@ -766,7 +766,7 @@
|
|
|
cashAmount: [{required: true, message: "请填写现金金额", trigger: "blur"}],
|
|
|
paymentPort: [{required: true, message: "请选择端口", trigger: "change"}],
|
|
|
rechargeType: [{required: true, message: "请选择类型", trigger: "change"}],
|
|
|
- // projectId: [{required: true, message: "请选择项目", trigger: "change"}],
|
|
|
+ // projectId: [{required: true, message: "请选择项目", trigger: "change"}],
|
|
|
},
|
|
|
queryByIdList: {
|
|
|
accountList: [],
|
|
@@ -1113,6 +1113,8 @@
|
|
|
.finally(() => {
|
|
|
});
|
|
|
},
|
|
|
+
|
|
|
+
|
|
|
getNewProductList(value) {
|
|
|
this.$set(this.queryByIdList, "productId", undefined);
|
|
|
this.$set(this.queryByIdList, "paymentMedia", undefined);
|
|
@@ -1182,12 +1184,12 @@
|
|
|
advertiserId: this.queryByIdList.advertiserId,
|
|
|
type: this.queryByIdList.paymentMedia,
|
|
|
productId: this.queryByIdList.productId,
|
|
|
- paymentPort : this.queryByIdList.paymentPort,
|
|
|
+ paymentPort: this.queryByIdList.paymentPort,
|
|
|
paymentMedia: this.queryByIdList.paymentMedia,
|
|
|
};
|
|
|
-
|
|
|
this.getRebate(params);
|
|
|
this.getPaymentPortList(params);
|
|
|
+ this.getAccountList();
|
|
|
this.getAction("/financePayment/pool/queryPoolProjectList", params)
|
|
|
.then((res) => {
|
|
|
if (res.success) {
|
|
@@ -1252,28 +1254,11 @@
|
|
|
getAccountList() {
|
|
|
this.queryByIdList.accountList = [];
|
|
|
var params = {
|
|
|
- table: "ctop_user_allocation,account_id,auth_name",
|
|
|
- groupBy: "account_id",
|
|
|
- paramters: [
|
|
|
- {
|
|
|
- paramter: "media_id",
|
|
|
- value: this.queryByIdList.paymentMedia,
|
|
|
- },
|
|
|
- // {
|
|
|
- // paramter: "advertiser_id",
|
|
|
- // value: this.queryByIdList.advertiserId,
|
|
|
- // },
|
|
|
- {
|
|
|
- paramter: "project_id",
|
|
|
- value: this.queryByIdList.projectId,
|
|
|
- },
|
|
|
- // {
|
|
|
- // paramter: "product_id",
|
|
|
- // value: this.queryByIdList.productId,
|
|
|
- // },
|
|
|
- ],
|
|
|
+ advertiserId: this.queryByIdList.advertiserId,
|
|
|
+ type: this.queryByIdList.paymentMedia,
|
|
|
+ projectId: this.queryByIdList.projectId,
|
|
|
};
|
|
|
- this.postDataAction("/financePayment/pool/querySheetIdAndNameList", params)
|
|
|
+ this.getAction("/financePayment/pool/queryPoolAccountList", params)
|
|
|
.then((res) => {
|
|
|
if (res.success) {
|
|
|
this.accountList = res.result;
|
|
@@ -1667,11 +1652,11 @@
|
|
|
userId: this.userInfo().id,
|
|
|
productId: this.policyOperationForm.productId.key,
|
|
|
advertiserId: this.policyOperationForm.advertiserId.key,
|
|
|
- displayAmount:this.policyOperationForm.displayAmount,
|
|
|
- /* displayAmount:
|
|
|
- this.policyOperationForm.paymentType == 2
|
|
|
- ? this.policyOperationForm.displayAmount
|
|
|
- : 0,*/
|
|
|
+ displayAmount: this.policyOperationForm.displayAmount,
|
|
|
+ /* displayAmount:
|
|
|
+ this.policyOperationForm.paymentType == 2
|
|
|
+ ? this.policyOperationForm.displayAmount
|
|
|
+ : 0,*/
|
|
|
temporaryAdvances: !!this.oldData
|
|
|
? this.oldData == 1 && this.policyOperationForm.paymentType == 2
|
|
|
? 1
|
|
@@ -1859,8 +1844,8 @@
|
|
|
applicanterId: this.userInfo().id,
|
|
|
userId: this.userInfo().id,
|
|
|
totalAmount: total,
|
|
|
- amends:amendsStr,
|
|
|
- paymentPort:this.rebateData.paymentPort,
|
|
|
+ amends: amendsStr,
|
|
|
+ paymentPort: this.rebateData.paymentPort,
|
|
|
financialReview: total > +that.totalAmount ? 1 : 0,
|
|
|
list: this.queryByIdList.accountList.map((item) => {
|
|
|
return {
|