();
jm.data = new
{
model,
userTocashStatus,
- userTocashType
+ userTocashType,
+ weChatPayTransferSceneId
};
return jm;
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/financial/usertocash/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/financial/usertocash/edit.html
index 99624983..52f0efb9 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/financial/usertocash/edit.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/financial/usertocash/edit.html
@@ -23,13 +23,24 @@
+
@@ -43,6 +54,7 @@
layui.data.sendParams = function (d) {
//开启调试情况下获取接口赋值数据
if (debug) { console.log(d.params.data); }
+
layui.use(['admin', 'form', 'laydate', 'upload', 'coreHelper', 'cropperImg'],
function () {
var $ = layui.$
@@ -54,6 +66,7 @@
, coreHelper = layui.coreHelper;
$('#selectStatusBox').hide();
+ $('#selectSceneBox').hide();
form.on('select(selectType)', function (data) {
console.log(data.value); //复选框value值,也可以通过data.elem.value得到
@@ -62,6 +75,13 @@
} else {
$('#selectStatusBox').hide();
}
+
+ if (data.value === '4') {
+ $('#selectSceneBox').show();
+ } else {
+ $('#selectSceneBox').hide();
+ }
+
});
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/financial/usertocash/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/financial/usertocash/index.html
index eb60937a..56416777 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/financial/usertocash/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/financial/usertocash/index.html
@@ -239,7 +239,7 @@
admin.popup({
shadeClose: false,
title: '提现操作',
- area: ['500px', '400px'],
+ area: ['500px', '500px'],
id: 'LAY-popup-CoreCmsUserTocash-edit',
success: function (layero, index) {
view(this.id).render('financial/usertocash/edit', { data: e.data }).done(function () {
@@ -248,8 +248,6 @@
function (data) {
var field = data.field; //获取提交的字段
-
-
if (debug) { console.log(field); } //开启调试返回数据
//提交 Ajax 成功后,关闭当前弹层并重载表格
coreHelper.Post("Api/CoreCmsUserTocash/SetStatus", field, function (e) {