Commit 5acc8b59 by 杨树贤

修改部分限制

parent 28be712b
...@@ -34,7 +34,7 @@ class SupplierAccountValidator ...@@ -34,7 +34,7 @@ class SupplierAccountValidator
$yunxinChannelUid = $supplierModel->where('supplier_code', $yunxinChannelUid = $supplierModel->where('supplier_code',
$account['supplier_code'])->value('yunxin_channel_uid'); $account['supplier_code'])->value('yunxin_channel_uid');
if (empty($yunxinChannelUid)) { if (empty($yunxinChannelUid)) {
return '该供应商没有绑定SKU采购,请完善相关信息'; //return '该供应商没有绑定SKU采购,请完善相关信息';
} }
$model = new SupplierAccountModel(); $model = new SupplierAccountModel();
$supplierCount = $model->where('supplier_code', $account['supplier_code']) $supplierCount = $model->where('supplier_code', $account['supplier_code'])
...@@ -63,4 +63,4 @@ class SupplierAccountValidator ...@@ -63,4 +63,4 @@ class SupplierAccountValidator
'password_raw.required' => '账号密码不能为空', 'password_raw.required' => '账号密码不能为空',
]; ];
} }
} }
\ No newline at end of file
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
{ {
field: 'password_raw', title: '密码', align: 'center', width: 170, field: 'password_raw', title: '密码', align: 'center', width: 170,
templet: function (data) { templet: function (data) {
let text = canViewAccountInfo ? '查看' : ''; let text = canViewAccountInfo ? '' : '';
return '<span>' + data.password_raw + '</span><span style="color: dodgerblue;margin-left: 10px" class="viewAccount" type="password_raw" id="' + data.id + '">' + text + '</span>'; return '<span>' + data.password_raw + '</span><span style="color: dodgerblue;margin-left: 10px" class="viewAccount" type="password_raw" id="' + data.id + '">' + text + '</span>';
} }
}, },
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
{ {
field: 'supplier_code', title: '供应商编码', align: 'center', width: 120 field: 'supplier_code', title: '供应商编码', align: 'center', width: 120
}, },
{field: 'supplier_name', title: '供应商名称', align: 'center'}, {field: 'supplier_name', title: '供应商名称', align: 'center', width: 180},
{field: 'type_name', title: '账号类型', align: 'center'}, {field: 'type_name', title: '账号类型', align: 'center', width: 120},
{ {
field: 'is_entity', title: '实体名单', align: 'center', width: 80, templet: function (data) { field: 'is_entity', title: '实体名单', align: 'center', width: 80, templet: function (data) {
let color = ''; let color = '';
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
if (res.err_code === 0) { if (res.err_code === 0) {
} else { } else {
layer.msg('请先去魔方系统配置阶梯系数,再新建芯链账号', {icon: 5}) // layer.msg('请先去魔方系统配置阶梯系数,再新建芯链账号', {icon: 5})
$('input[name="stockup_type[5]"]').next().click(); // $('input[name="stockup_type[5]"]').next().click();
} }
}, },
error: function () { error: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment