Commit dd0091e1 by 杨树贤

加字段

parent 6b40fe4a
...@@ -331,7 +331,7 @@ class SupplierFilter ...@@ -331,7 +331,7 @@ class SupplierFilter
} }
}); });
$query->with(['contact', 'attachment']); $query->with(['contact', 'attachment','yunxin_account']);
$query->whereRaw('supplier_name NOT LIKE "%-1"'); $query->whereRaw('supplier_name NOT LIKE "%-1"');
// 权限逻辑已经移到上面的复合查询条件中 // 权限逻辑已经移到上面的复合查询条件中
......
...@@ -181,6 +181,26 @@ ...@@ -181,6 +181,26 @@
align: 'center', align: 'center',
width: 140, width: 140,
}, },
//启用芯链账号
{
field: 'has_supplier_account',
title: '启用芯链账号',
align: 'center',
width: 120,
templet: function (data) {
return data.yunxin_account ? '是' : '否';
}
},
//通过芯链上传合同
{
field: 'has_order_contract',
title: '通过芯链上传合同',
align: 'center',
width: 120,
templet: function (data) {
return data.has_order_contract ? '是' : '否';
}
},
{ {
field: 'channel_username', title: '采购员', align: 'center', width: 130, templet: function (data) { field: 'channel_username', title: '采购员', align: 'center', width: 130, templet: function (data) {
if (data.resign_channel_username) { if (data.resign_channel_username) {
......
...@@ -181,6 +181,26 @@ ...@@ -181,6 +181,26 @@
align: 'center', align: 'center',
width: 140, width: 140,
}, },
//启用芯链账号
{
field: 'has_supplier_account',
title: '启用芯链账号',
align: 'center',
width: 120,
templet: function (data) {
return data.yunxin_account ? '是' : '否';
}
},
//通过芯链上传合同
{
field: 'has_order_contract',
title: '通过芯链上传合同',
align: 'center',
width: 120,
templet: function (data) {
return data.has_order_contract ? '是' : '否';
}
},
{ {
field: 'channel_username', title: '采购员', align: 'center', width: 130, templet: function (data) { field: 'channel_username', title: '采购员', align: 'center', width: 130, templet: function (data) {
if (data.resign_channel_username) { if (data.resign_channel_username) {
......
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