Commit 72089b79 by mushishixian

temp

parent f2ddf168
......@@ -24,6 +24,50 @@ use Illuminate\Support\Facades\DB;
class SupplierApiController extends Controller
{
//默认要接收的数据
private $channelMap = [
'supplier_id',
//基础资料
'supplier_name',
'register_company_name',
'supplier_name_en',
'stockup_type',
'supplier_group',
'region',
'currency',
'tax_number',
'supplier_address',
'main_brands',
'upload_file',
'legal_representative',
'established_time',
'pay_type',
'trading_method',
//收发货地址
'return_phone',
'return_address',
'return_consignee',
'shipping_address',
//系数和货期
'cn_ratio',
'us_ratio',
'credit_investigation',
'us_delivery_time',
'cn_delivery_time_period',
'cn_delivery_time',
'us_delivery_time_period',
//附加费
'cn',
'us',
// 'status',
//商品上传规则
'sku_upload_ruler',
];
public function Entrance(Request $request, $id)
{
$this->$id($request, $id);
......@@ -38,25 +82,7 @@ class SupplierApiController extends Controller
if ($validateResult) {
$this->response(-1, $validateResult);
}
$channel = $request->only([
'supplier_id',
'supplier_name',
'supplier_name_en',
'stockup_type',
'supplier_group',
'region',
'channel_uid',
'purchase_uid',
'currency',
'tax_number',
'supplier_address',
'main_brands',
'qualification_photos',
'legal_representative',
'established_time',
'credit_investigation',
'status',
]);
$channel = $request->only($this->channelMap);
$service = new SupplierService();
$result = $service->saveSupplier($channel, $request->get('contact'));
if (!$result) {
......@@ -65,6 +91,25 @@ class SupplierApiController extends Controller
$this->response(0, '操作成功');
}
//添加供应商
public function UpdateSupplier($request)
{
//先去表单验证
$validator = new SupplierValidator();
$validateResult = $validator->checkSave($request);
if ($validateResult) {
// $this->response(-1, $validateResult);
}
$channel = $request->only($this->channelMap);
$service = new SupplierService();
$result = $service->saveSupplier($channel);
if (!$result) {
$this->response(-1, '操作失败');
}
$this->response(0, '操作成功');
}
//获取供应商信息变更记录
public function GetSupplierList(Request $request)
{
......
......@@ -73,6 +73,7 @@ class SupplierController extends Controller
if (empty($supplier)) {
return '供应商不存在';
}
$this->data['operate'] = 'detail';
$this->data['supplier'] = $supplier;
$this->data['address'] = $supplierService->getAddress($supplierId);
return $this->view('供应商详情');
......@@ -96,6 +97,7 @@ class SupplierController extends Controller
'value' => $userId,
];
}
$this->data['operate'] = 'add';
//编辑
if (!empty($supplierId)) {
$this->data['title'] = '编辑供应商';
......@@ -112,6 +114,34 @@ class SupplierController extends Controller
return $this->view('新增供应商');
}
//编辑供应商
public function UpdateSupplier($request)
{
$intracodeModel = new IntracodeModel();
$userCodes = $intracodeModel->getSampleEncode();
$this->data['userCodes'] = $userCodes;
$this->data['user'] = $userCodes;
$this->data['purchase_users'] = [];
$this->data['operate'] = 'update';
foreach ($userCodes as $userId => $code) {
$this->data['purchase_users'][] = [
'name' => $code,
'value' => $userId,
];
}
//编辑
$this->data['title'] = '编辑供应商';
$supplierId = $request->get('supplier_id');
$supplierService = new SupplierService();
$supplier = $supplierService->getSupplier($supplierId);
if (empty($supplier)) {
return '供应商不存在';
}
$this->data['supplier'] = $supplier;
$this->data['address'] = $supplierService->getAddress($supplierId);
return $this->view('编辑供应商');
}
//审核供应商
public function AuditSupplier($request)
{
......
<?php
namespace App\Http\Services;
use App\Model\SupplierAddressModel;
use App\Model\SupplierChannelModel;
use App\Model\SupplierContactModel;
class SupplierAddressService
{
//保存收退货地址
public function saveAddress($map)
{
$supplierModel = new SupplierChannelModel();
$supplierCode = $supplierModel->where('supplier_id', $map['supplier_id'])->value('supplier_code');
//组装成两条数据(鬼知道以前为啥存两条)
$shippingData = [
'supplier_id' => $map['supplier_id'],
'supplier_code' => $supplierCode,
'address' => $map['shipping_address'],
'address_type' => 1,
];
$addressModel = new SupplierAddressModel();
$infoId = $addressModel->where('supplier_id', $map['supplier_id'])->where('address_type', 1)->value('info_id');
if ($infoId) {
$result = $addressModel->where('info_id', $infoId)->update($shippingData);
} else {
$result = $addressModel->insert($shippingData);
}
if (!$result) {
return $result;
}
$returnData = [
'supplier_id' => $map['supplier_id'],
'supplier_code' => $supplierCode,
'address' => $map['return_address'],
'address_type' => 2,
'consignee' => $map['return_consignee'],
'phone' => $map['return_phone'],
];
$infoId = $addressModel->where('supplier_id', $map['supplier_id'])->where('address_type', 2)->value('info_id');
if ($infoId) {
$result = $addressModel->where('info_id', $infoId)->update($returnData);
} else {
$result = $addressModel->insert($returnData);
}
$logService = new LogService();
$logService->AddLog($map['supplier_id'], 2, '保存地址信息', ' ');
return $result;
}
}
\ No newline at end of file
......@@ -32,7 +32,7 @@ class SupplierService
return array_get($snMap, $supplierGroup, "ERR") . $supplierCodeNumber;
}
public function saveSupplier($channel, $contact)
public function saveSupplier($channel)
{
//先处理下数据
if (!empty($channel['stockup_type'])) {
......@@ -45,39 +45,87 @@ class SupplierService
$channel['tax_number'] = '';
}
}
// $channel['qualification_photos'] = $channel['qualification_photos'] ? json_encode($channel['qualification_photos']) : '';
$channel['cn_delivery_time'] = $channel['cn_delivery_time'] . $channel['cn_delivery_time_period'];
$channel['us_delivery_time'] = $channel['us_delivery_time'] . $channel['us_delivery_time_period'];
$channel['qualification_photos'] = $this->getPhotosData($channel['upload_file']);
unset($channel['upload_file']);
$channel['established_time'] = strtotime($channel['established_time']);
$channel['sku_upload_ruler'] = $this->getSkuRulerData($channel['sku_upload_ruler']);
//走事务
return DB::connection('web')->transaction(function () use ($channel, $contact) {
return DB::connection('web')->transaction(function () use ($channel) {
$model = new SupplierChannelModel();
$contactModel = new SupplierContactModel();
$contactService = new SupplierContactService();
$extraFax = [
'us' => $channel['us'],
'cn' => $channel['cn'],
];
$address = array_only($channel,
['supplier_id', 'shipping_address', 'return_address', 'return_consignee', 'return_phone']);
$supplierAddressService = new SupplierAddressService();
$supplierAddressService->saveAddress($address);
//插入
unset($channel['us'], $channel['cn'], $channel['return_phone'], $channel['return_address'],
$channel['return_consignee'], $channel['shipping_address'], $channel['cn_delivery_time_period'], $channel['us_delivery_time_period']);
if (empty($channel['supplier_id'])) {
//先去插入到channel表
$channel['create_uid'] = request()->user->userId;
$channel['create_name'] = request()->user->name;
$channel['create_time'] = time();
$supplierId = $model->insertGetId($channel);
$contactData = $contactService->getContactData($supplierId, $contact);
$contactModel->insert($contactData);
$this->saveSupplierCode($supplierId);
} else {
$supplierId = $channel['supplier_id'];
$contactData = $contactService->getContactData($supplierId, $contact);
$model->where('supplier_id', $supplierId)->update($channel);
$contactService->saveContacts($supplierId, $contactData);
$this->saveSupplierCode($supplierId);
}
$supplierSn = $this->generateSupplierSn($supplierId, $channel['supplier_group']);
//修改数据
$model->where('supplier_id', $supplierId)->update(['supplier_sn' => $supplierSn]);
$messageService = new MessageService();
$messageService->sendSupplierMessage($supplierId, $channel['status']);
// $messageService = new MessageService();
// $messageService->sendSupplierMessage($supplierId, $channel['status']);
return true;
});
}
public function getPhotosData($uploadFiles)
{
$data = [];
foreach ($uploadFiles as $name => $file) {
if (empty($file)) {
$data[$name] = [
'name' => $name,
'url' => '',
'file_name' => ''
];
} else {
$file = explode('|_|', $file);
$data[$name] = [
'name' => $name,
'url' => $file[0],
'file_name' => $file[1],
];
}
}
$data = json_encode($data);
return $data;
}
public function getSkuRulerData($skuUploadRuler)
{
$defaultRuler = config('fixed.SkuUploadRuler');
$rule = [];
foreach ($defaultRuler as $ruleName => $value) {
if (isset($skuUploadRuler[$ruleName])) {
$rule[$ruleName] = 1;
} else {
$rule[$ruleName] = 0;
}
}
$rule = json_encode($rule);
return $rule;
}
//报错供应商编码,包括系统生成的和自定义规则生成的
private function saveSupplierCode($supplierId)
{
......@@ -94,19 +142,6 @@ class SupplierService
}
}
public function getMainBrands($mainBrandIds)
{
$mainBrandIds = explode(',', $mainBrandIds);
if (!$mainBrandIds) {
return [];
}
$mainBrands = [];
if ($mainBrandIds) {
$redis = RedisDB::connection();
$mainBrands = $redis->hmGet('brand', $mainBrandIds);
}
return $mainBrands;
}
public function getAddress($supplierId)
{
......
......@@ -96,10 +96,8 @@ class SupplierTransformer
$supplier['established_time'] = !empty($supplier['established_time']) ? date('Y-m-d',
$supplier['established_time']) : '';
$supplier = $this->getStockupType($supplier);
$supplier['supplier_group'] = array_get(config('fixed.SupplierGroup'), $supplier['supplier_group'], '未设置');
$supplier['status_name'] = array_get(config('fixed.SupplierStatus'), $supplier['status']);
$supplier['region_name'] = array_get(config('fixed.Region'), $supplier['region']);
$supplier['stockup_type_name'] = array_get(config('fixed.StockupType'), $supplier['stockup_type']);
$supplier['currency_name'] = array_get(config('fixed.Currency'), $supplier['currency']);
$supplier['supplier_group_name'] = array_get(config('fixed.SupplierGroup'), $supplier['supplier_group']);
$supplier['pay_type_name'] = array_get(config('fixed.PayType'), $supplier['pay_type']);
......@@ -108,6 +106,8 @@ class SupplierTransformer
$supplier['create_time'] = $supplier['create_time'] ? date('Y-m-d H:i:s', $supplier['create_time']) : '';
$supplier['channel_username'] = $this->getChannelNames($supplier['channel_uid']);
$supplier['purchase_username'] = array_get($users, $supplier['purchase_uid']);
$supplier['qualification_photos'] = $this->getPhotosDataForForm($supplier['qualification_photos']);
$supplier['sku_upload_ruler'] = json_decode($supplier['sku_upload_ruler'], true);
$supplier['is_channel_or_purchase_user_view'] = $this->getIsChannelOrPurchaseUserView($supplier);
if (!empty($supplier['contact'])) {
$adminUserService = new AdminUserService();
......@@ -120,35 +120,20 @@ class SupplierTransformer
}
}
}
$previewConfigs = $this->getPreviewConfigs($supplier);
$supplier['previewConfigs'] = json_encode($previewConfigs);
return $supplier;
}
private function getPreviewConfigs($supplier)
private function getPhotosDataForForm($photos)
{
//处理一些图片的数据给前端插件用
$previewConfigs = [];
if (!empty($supplier['qualification_photos'])) {
$photos = json_decode($supplier['qualification_photos'], true);
foreach ($photos as $photo) {
$arr = parse_url($photo);
$arr = pathinfo($arr['path']);
$type = "image";
if ($arr['extension'] == "pdf") {
$type = "pdf";
}
if ($arr['extension'] == "zip") {
$type = "other";
}
$previewConfigs[] = [
'type' => $type,
'downloadUrl' => $photo,
'caption' => $photo,
];
}
$data = [];
$photos = json_decode($photos, true);
foreach ($photos as $name=>$photo) {
$data[$name] = [
'value' => $photo['url'] . '|_|' . $photo['file_name'],
'file_name' => $photo['file_name'],
];
}
return $previewConfigs;
return $data;
}
private function getStockupType($supplier)
......@@ -157,7 +142,7 @@ class SupplierTransformer
$supplier['stockup_type'] = array_map(function ($value) {
return array_get(config('fixed.StockupType'), $value);
}, $supplier['stockup_type']);
$supplier['stockup_type'] = implode(' | ', $supplier['stockup_type']);
$supplier['stockup_type_name'] = $supplier['stockup_type'] = implode(' | ', $supplier['stockup_type']);
return $supplier;
}
......@@ -165,7 +150,7 @@ class SupplierTransformer
{
$mainBrandsIds = explode(',', $mainBrandsIds);
$redis = new RedisModel();
$brands = $redis->hmget('brand',$mainBrandsIds);
$brands = $redis->hmget('brand', $mainBrandsIds);
$brands = implode(',', $brands);
return $brands;
}
......
......@@ -19,8 +19,8 @@ class ReceiptValidator
"bank_adderss" => "required",
"account_no" => "required",
"swift_code" => "required",
"account_name" => "required",
// "certificate" => "required",
// "account_name" => "required",
"certificate" => "required",
];
$messages = $this->messages();
$validator = Validator::make($receipt, $rules, $messages);
......
......@@ -17,6 +17,7 @@ class SupplierValidator
$requestData = $this->transformRequestData($requestData);
$rules = [
'supplier_name' => 'required',
'register_company_name' => 'required',
'stockup_type' => 'required',
'supplier_group' => 'required',
'region' => 'required',
......@@ -31,9 +32,9 @@ class SupplierValidator
if ($requestData['currency'] == 1) {
$rules['tax_number'] = 'required';
}
if ($requestData['status'] == -1) {
$rules = ['supplier_name' => 'required'];
}
// if ($requestData['status'] == -1) {
// $rules = ['supplier_name' => 'required'];
// }
$messages = $this->messages();
$validator = Validator::make($requestData, $rules, $messages);
......@@ -61,6 +62,7 @@ class SupplierValidator
return [
'supplier_name.required' => '供应商名称不能为空',
'stockup_type.required' => '合作类型不能为空',
'register_company_name.required' => '注册公司名不能为空',
'supplier_group.required' => '行业性质不能为空',
'region.required' => '所属区域不能为空',
'purchase_uid.required' => '渠道开发员不能为空',
......
......@@ -30,7 +30,7 @@ EOF;
$optionsHtml = ' <option value="">请选择</option>';
$checked = '';
foreach ($data as $key => $value) {
if ($status !== '' || $status != null) {
if ($status !== '' && $status != null) {
$checked = ($key == $status) ? "selected='selected'" : '';
}
$optionsHtml = $optionsHtml . "<option value='$key' $checked>$value</option>";
......
......@@ -304,4 +304,16 @@ return [
2 => '财务维护',
],
//{"allow_stock_lte_0":0,"allow_moq_lte_0":1,"allow_stock_lt_moq":0,"allow_price_null":1}
'SkuUploadRuler' => [
'allow_stock_lte_0' => '允许库存为空',
'allow_moq_lte_0' => '允许起订量为空',
// 'allow_stock_lt_moq' => '允许起订量大于库存',
'allow_price_null' => '允许阶梯价为空',
],
'TradingMethod' => [
1=>'先款后货',
2 => '月结',
],
];
......@@ -6,73 +6,5 @@
let element = layui.element;
let xmSelect = layui.xmSelect;
layDate.render({
elem: '#established_time'
, type: 'month'
, format: 'yyyy-MM'
});
//监听币种变化,人民币才显示公司税号
form.on('select(currency)', function (data) {
if (data.value === '1') {
$('#tax_number_div').show();
form.render('select');
} else {
$('#tax_number_div').hide();
form.render('select');
}
});
//渲染主营品牌的多选
function getBrandOption(element, brandType) {
let brandUrl = '/api/common/getBrandList?type=' + brandType;
let brandRes = ajax(brandUrl);
let brandList = brandRes.data;
return {
el: '#' + element,
filterable: true,
paging: true,
height: '250px',
direction: 'auto',
autoRow: true,
prop: {
name: 'brand_name',
value: 'brand_id',
},
pageSize: 30,
data: brandList,
on: function (brandList) {
let arr = brandList.arr;
let brandIds = '';
for (let i in arr) {
brandIds += arr[i].brand_id + ',';
}
let idName = 'main_brands';
$('#' + idName).val(brandIds);
},
};
}
let brandOption = getBrandOption('brand_selector', 2);
let brandSelector = xmSelect.render(brandOption);
let brandIds = $('#main_brands').attr('value');
brandSelector.setValue(brandIds.split(','));
form.on('submit(load)', function (data) {
let supplierId = getQueryVariable('supplier_id');
let url = '/api/supplier_contact/SaveSupplierContact?supplier_id=' + supplierId;
let res = ajax(url, data.field);
if (!res) {
layer.msg('网络错误,请重试', {icon: 6});
} else {
if (res.err_code === 0) {
admin.closeThisDialog();
parent.layer.msg(res.err_msg, {icon: 6});
} else {
parent.layer.msg(res.err_msg, {icon: 5});
}
}
return false;
});
});
</script>
\ No newline at end of file
<script>
layui.use(['table', 'form', 'element', 'layer', 'admin', 'upload'], function () {
let table = layui.table;
let layer = layui.layer;
let form = layui.form;
let admin = layui.admin;
let element = layui.element;
let upload = layui.upload;
let supplierId = getQueryVariable('supplier_id')
$('#updateSupplierUrl').click(function () {
layer.load(1);
})
function openLogView() {
// 打开右侧面板
layer.open({
type: 2,
content: '/log/SupplierLog?view=iframe&supplier_id=' + supplierId,
area: ['400px', '85%'],
shade: 0,
offset: 'rb',
title: '操作日志',
});
}
openLogView();
});
</script>
\ No newline at end of file
<script>
layui.use(['table', 'form', 'element', 'layer', 'admin', 'laydate', 'xmSelect'], function () {
let admin = layui.admin;
let form = layui.form;
let layDate = layui.laydate;
let table = layui.table;
let element = layui.element;
let xmSelect = layui.xmSelect;
$('#supplierDetailUrl').click(function () {
layer.load(1);
});
form.on('submit(updateSupplier)', function (data) {
layer.confirm('确定要修改供应商信息吗?一旦修改,该供应商就会再次进入审核阶段', function (index) {
let res = ajax('/api/supplier/UpdateSupplier', data.field)
if (res.err_code === 0) {
table.reload('receiptList')
layer.msg(res.err_msg, {icon: 6})
} else {
layer.msg(res.err_msg, {icon: 5})
}
});
})
});
</script>
\ No newline at end of file
<script>
layui.use(['table', 'form', 'element', 'layer', 'admin', 'laydate','xmSelect'], function () {
let admin = layui.admin;
let form = layui.form;
let layDate = layui.laydate;
let element = layui.element;
let xmSelect = layui.xmSelect;
layDate.render({
elem: '#established_time'
, type: 'month'
, format: 'yyyy-MM'
});
//监听币种变化,人民币才显示公司税号
form.on('select(currency)', function (data) {
if (data.value === '1') {
$('#tax_number_div').show();
form.render('select');
} else {
$('#tax_number_div').hide();
form.render('select');
}
});
//渲染主营品牌的多选
function getBrandOption(element, brandType) {
let brandUrl = '/api/common/getBrandList?type=' + brandType;
let brandRes = ajax(brandUrl);
let brandList = brandRes.data;
return {
el: '#' + element,
filterable: true,
paging: true,
height: '250px',
direction: 'auto',
autoRow: true,
prop: {
name: 'brand_name',
value: 'brand_id',
},
pageSize: 30,
data: brandList,
on: function (brandList) {
let arr = brandList.arr;
let brandIds = '';
for (let i in arr) {
brandIds += arr[i].brand_id + ',';
}
let idName = 'main_brands';
$('#' + idName).val(brandIds);
},
};
}
let brandOption = getBrandOption('brand_selector', 2);
let brandSelector = xmSelect.render(brandOption);
let brandIds = $('#main_brands').attr('value');
brandSelector.setValue(brandIds.split(','));
form.on('submit(load)', function (data) {
let supplierId = getQueryVariable('supplier_id');
let url = '/api/supplier_contact/SaveSupplierContact?supplier_id=' + supplierId;
let res = ajax(url, data.field);
if (!res) {
layer.msg('网络错误,请重试', {icon: 6});
} else {
if (res.err_code === 0) {
admin.closeThisDialog();
parent.layer.msg(res.err_msg, {icon: 6});
} else {
parent.layer.msg(res.err_msg, {icon: 5});
}
}
return false;
});
});
</script>
\ No newline at end of file
{{Autograph()}}
<script>
layui.use(['table', 'form', 'element', 'layer', 'admin','upload'], function () {
layui.use(['table', 'form', 'element', 'layer', 'admin', 'upload'], function () {
let table = layui.table;
let form = layui.form;
let admin = layui.admin;
let element = layui.element;
let upload = layui.upload;
let fileName = '';
upload.render({
elem: '.uploadObj'
,url: 'https://httpbin.org/post' //改成您自己的上传接口
,accept: 'file' //音频
,data : {
k1:k1,
k2:k2,
source:1
elem: '.uploadButton'
, url: '{{config('website.UploadUrl')}}' //改成您自己的上传接口
, accept: 'file' //音频
, field: 'upload'
, data: {
k1: k1,
k2: k2,
source: 1
}
,before: function(){
layer.tips('接口地址:'+ this.url, this.item, {tips: 1});
,exts : 'jpg|png|bmp|jpeg|zip|pdf'
,size : 20000
, before: function () {
}
,done: function(res, index, upload){
var item = this.item;
console.log(item); //获取当前触发上传的元素,layui 2.1.0 新增
console.log(res); //获取当前触发上传的元素,layui 2.1.0 新增
, choose: function (obj) {
let files = obj.pushFile();
let recentFile = files[Object.keys(files)[Object.keys(files).length - 1]]
fileName = recentFile.name;
}
, done: function (res, index, upload) {
if (res.code === 200) {
this.item.parent().find('.upload_obj').val(res.data[0] + '|_|' + fileName);
this.item.parent().find('.uploadButton').text(fileName);
} else {
layer.msg('上传接口异常,请重试或者联系管理员 . ' + res.message);
}
}
});
});
......
......@@ -39,19 +39,6 @@
page: {},
});
function openLogView(){
// 打开右侧面板
layer.open({
type: 2,
content: '/log/SupplierLog?view=iframe&supplier_id=' + supplierId,
area: ['400px', '85%'],
shade: 0,
offset: 'rb',
title: '操作日志',
});
}
openLogView();
//新增银行弹窗
$("#add_bank").click(function () {
layer.open({
......@@ -74,8 +61,6 @@
} else {
let receiptId = data[0].receipt_id;
let supplierId = data[0].supplier_id;
alert(receiptId);
alert(supplierId);
layer.open({
type: 2,
content: '/supplier_receipt/UpdateSupplierReceipt?view=iframe&supplier_id=' + supplierId + '&receipt_id=' + receiptId,
......
<script>
layui.use(['table', 'form', 'element', 'layer', 'admin', 'laydate', 'xmSelect'], function () {
let admin = layui.admin;
let form = layui.form;
let layDate = layui.laydate;
let element = layui.element;
let xmSelect = layui.xmSelect;
form.on('checkbox(cn_filter)', function (data) {
if (data.elem.checked === true) {
$('#cn_max').val(9999999);
}
});
form.on('checkbox(hk_filter)', function (data) {
if (data.elem.checked === true) {
$('#hk_max').val(9999999);
}
});
});
</script>
\ No newline at end of file
......@@ -22,128 +22,7 @@
</style>
<div class="layui-card">
<div class="layui-card-body">
<form class="layui-form" action="">
<blockquote class="layui-elem-quote layui-text">
<b>基本信息</b>
</blockquote>
<div class="layui-form-item">
<label class="layui-form-label"><span class="require">*</span>供应商名称 : </label>
<div class="layui-input-block">
<input type="text" name="supplier_name" id="supplier_name"
placeholder="请输入供应商名称" class="layui-input"
value="">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">英文名称 : </label>
<div class="layui-input-block">
<input type="text" name="supplier_name_en" id="supplier_name_en"
placeholder="请输入供应商英文名称" class="layui-input"
value="">
</div>
</div>
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-md4">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('region','所在区域','',
config('fixed.Region'),['required'=>true,'width'=>'150px']) !!}
</div>
<div class="layui-col-md8">
<label class="layui-form-label">注册地址 :
</label>
<div class="layui-input-block">
<input type="text" name="supplier_address" id="supplier_address"
placeholder="请输入注册地址" class="layui-input"
value="">
</div>
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-md4">
<label class="layui-form-label"><span class="require">*</span>法人代表 :
</label>
<div class="layui-input-block">
<input type="text" style="width: 150px" name="supplier_address" id="supplier_address"
placeholder="请输入法人代表" class="layui-input"
value="">
</div>
</div>
<div class="layui-col-md8">
<label class="layui-form-label" style="width: 80px">成立时间 :
</label>
<div class="layui-input-block" style="width: 150px">
<input type="text" id="established_time" name="established_time"
placeholder="请输入成立时间"
class="layui-input"
autocomplete="off"
value="">
</div>
</div>
</div>
</div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">资信调查 : </label>
<div class="layui-input-block">
<textarea name="credit_investigation" placeholder="请输入资信调查" class="layui-textarea"></textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">
主营品牌</label>
<div class="layui-input-block" style="margin-top: 15px">
<div id="brand_selector" class="layui-input-inline" style="width: 100%;">
</div>
<input type="hidden" name="main_brands" value="{{$supplierInfo['main_brands'] or ''}}"
id="main_brands">
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label"><span class="require">*</span>合作类型</label>
<div class="layui-input-block">
<input type="hidden" name="stockup_type"
value="{{$supplierInfo['stockup_type'] or ''}}">
@foreach(config('fixed.StockupType') as $k=>$type)
<input type="checkbox" name="stockup_type[{{$k}}]"
lay-skin="primary"
@if(!empty($supplierInfo['stockup_type_data'])&&in_array($k,$supplierInfo['stockup_type_data']))
checked
@endif
title="{{$type}}">
@endforeach
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('currency','结算币种',
isset($supplierInfo)?$supplierInfo['currency']:'',config('fixed.Currency'),['required'=>false]) !!}
</div>
<div class="layui-inline" id="tax_number_div"
@if(empty($supplierInfo) || (!empty($supplierInfo)&&$supplierInfo['currency']!=1))
style="display: none;"
@endif
>
<label class="layui-form-label"><span class="require">*</span>公司税号</label>
<div class="layui-input-inline">
<input type="text" name="tax_number" placeholder="请输入公司税号" class="layui-input"
value="{{$supplierInfo['tax_number'] or ''}}">
</div>
</div>
</div>
@include('web.supplier.SupplierFile')
<blockquote class="layui-elem-quote layui-text">
<b>跟进人</b>
</blockquote>
@inject('statusPresenter','App\Presenters\StatusPresenter')
<div class="layui-form-item">
{!! $statusPresenter->render('region','渠道开发员','',$userCodes,['required'=>true,'width'=>'150px']) !!}
</div>
@include('web.supplier.SupplierBase')
</div>
</form>
</div>
</div>
\ No newline at end of file
<div class="layui-card">
<div class="layui-card-header" style="height: 90px;">
<div class="layui-card-header" style="height: 140px;">
<div class="layui-row">
<div class="layui-col-md2">
<b>{{$supplier['supplier_name']}}</b>
......@@ -22,14 +22,17 @@
公司性质 : {{$supplier['supplier_group']}}
</div>
<div class="layui-col-md2">
公司性质 : {{$supplier['supplier_group']}}
合作类型:{{$supplier['stockup_type_name']}}
</div>
<div class="layui-col-md8"></div>
</div>
<div class="layui-row">
<a id="updateSupplierUrl" href="/supplier/UpdateSupplier?view=iframe&supplier_id={{$supplier['supplier_id']}}" style="margin-bottom: 25px;margin-top: 5px" class="layui-btn layui-btn">点击修改</a>
</div>
</div>
<div class="layui-card-body">
<div class="layui-tab layui-tab-brief">
<div class="layui-tab">
<ul class="layui-tab-title">
<li class="layui-this" id="base_info">基本信息</li>
<li id="contact">联系人</li>
......@@ -70,10 +73,10 @@
</div>
<div class="layui-row">
<div class="layui-col-md2">
合作类型:{{$supplier['stockup_type_name']}}
公司性质 : {{$supplier['supplier_group']}}
</div>
<div class="layui-col-md3">
公司性质:{{$supplier['supplier_group_name']}}
合作类型:{{$supplier['stockup_type_name']}}
</div>
</div>
<div class="layui-row">
......
......@@ -3,10 +3,10 @@
@include('web.supplier.SupplierListCommon')
<div class="layui-btn-group demoTable" style="margin-bottom: 15px;margin-top: 15px">
<button class="layui-btn layui-btn-sm" id="add_supplier">新增</button>
<button class="layui-btn layui-btn-sm" id="disable_supplier">禁用</button>
<button class="layui-btn layui-btn-sm" id="audit_supplier">审核</button>
<button class="layui-btn layui-btn-sm" id="allocate_purchase_user">分配渠道员</button>
<button type="button" class="layui-btn layui-btn-sm" id="add_supplier">新增</button>
<button type="button" class="layui-btn layui-btn-sm" id="disable_supplier">禁用</button>
<button type="button" class="layui-btn layui-btn-sm" id="audit_supplier">审核</button>
<button type="button" class="layui-btn layui-btn-sm" id="allocate_purchase_user">分配渠道员</button>
</div>
<table class="layui-table" id="list" lay-filter="list"></table>
......
<style>
.layui-form-item {
margin-bottom: 5px;
}
.layui-input-inline {
margin-top: 0px;
}
.xm-select {
height: 30px;
line-height: 30px;
}
/*.layui-form-label {*/
/* width: 150px;*/
/*}*/
/*.layui-input-block {*/
/* margin-left: 180px;*/
/*}*/
</style>
<div class="layui-card">
<form class="layui-form" action="">
<div class="layui-card-header" style="height: 140px;">
<div class="layui-row">
<div class="layui-col-md2">
<b>{{$supplier['supplier_name']}}</b>
</div>
<div class="layui-col-md2">
供应商编码 : {{$supplier['supplier_code']}}
</div>
<div class="layui-col-md2">
状态 : {{$supplier['status_name']}}
</div>
<div class="layui-col-md2">
渠道开发员 : {{$supplier['purchase_username']}}
</div>
<div class="layui-col-md4">
最近修改时间 : {{$supplier['update_time']}}
</div>
</div>
<div class="layui-row">
<div class="layui-col-md2">
公司性质 : {{$supplier['supplier_group']}}
</div>
<div class="layui-col-md2">
合作类型:{{$supplier['stockup_type_name']}}
</div>
<div class="layui-col-md8"></div>
</div>
<div class="layui-row">
<div class="layui-btn-group" style="margin-bottom: 25px;margin-top: 5px">
<button type="button" class="layui-btn layui-btn" lay-submit
lay-filter="updateSupplier">保存修改
</button>
<a id="supplierDetailUrl"
href="/supplier/SupplierDetail?view=iframe&supplier_id={{$supplier['supplier_id']}}"
class="layui-btn layui-btn-warm">返回详情</a>
</div>
</div>
</div>
<div class="layui-card-body">
<input type="hidden" name="supplier_id" value="{{$supplier['supplier_id']}}">
<input type="hidden" name="supplier_code" value="{{$supplier['supplier_code']}}">
<div class="layui-tab">
<ul class="layui-tab-title">
<li class="layui-this" id="base_info">基本信息</li>
<li id="contact">联系人</li>
<li id="ruler">特殊规则</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<div class="layui-row" style="padding: 10px">
<div class="layui-row">
@include('web.supplier.SupplierBase')
</div>
<hr/>
<blockquote class="layui-elem-quote layui-text">
<b>系统设置</b>
</blockquote>
<div class="layui-row" style="margin-bottom: 10px">
<div class="layui-col-md2">
供应商编码 :{{$supplier['supplier_code']}}
</div>
<div class="layui-col-md3" style="margin-left: 18px">
供应商ID :{{$supplier['supplier_id']}}
</div>
</div>
<div class="layui-row">
<div class="layui-col-md3">
<div class="layui-inline" style="margin-left: -40px">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('trading_method','交易方式 : ',
isset($supplier)?$supplier['trading_method']:'',config('fixed.TradingMethod'),['required'=>false]) !!}
</div>
</div>
<div class="layui-col-md3">
<div class="layui-inline" style="margin-left: -150px">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('pay_type','付款方式 : ',
isset($supplier)?$supplier['pay_type']:'',config('fixed.SupplierPayType'),['required'=>false]) !!}
</div>
</div>
</div>
<hr/>
<blockquote class="layui-elem-quote layui-text">
<b>财务信息</b>
</blockquote>
@include('web.supplier.SupplierReceipt')
<blockquote class="layui-elem-quote layui-text">
<b>运输信息</b>
</blockquote>
<div class="layui-form-item">
<label class="layui-form-label">发货地址 : </label>
<div class="layui-input-block block-42">
<input type="text" name="shipping_address" id="shipping_address"
placeholder="请输入发货地址" class="layui-input"
value="{{$address['shipping_address']}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">退货地址 : </label>
<div class="layui-input-block block-42">
<input type="text" name="return_address" id="return_address"
placeholder="请输入退货地址" class="layui-input"
value="{{$address['return_address']}}">
</div>
</div>
<div class="layui-form-item" style="width:60%">
<div class="layui-inline">
<label class="layui-form-label">退货收货人 : </label>
<div class="layui-input-inline">
<input type="text" name="return_consignee" id="return_consignee"
placeholder="请输入收货人"
class="layui-input" value="{{$address['return_consignee'] or ''}}">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">退件电话 : </label>
<div class="layui-input-inline">
<input type="text" name="return_phone" id="return_phone" placeholder="请输入收件电话"
class="layui-input" value="{{$address['return_phone']}}">
</div>
</div>
</div>
<hr/>
<blockquote class="layui-elem-quote layui-text">
<b>其他信息</b>
</blockquote>
<div class="layui-row">
<div class="layui-col-md2">
创建人:{{$supplier['create_name']}}
</div>
<div class="layui-col-md2">
创建时间:{{$supplier['create_time']}}
</div>
</div>
<div class="layui-row">
<div class="layui-col-md2">
最近修改人:{{$supplier['supplier_name']}}
</div>
<div class="layui-col-md2">
最近修改时间:{{$supplier['update_time']}}
</div>
</div>
<hr/>
</div>
</div>
<div class="layui-tab-item">
@include('web.supplier.SupplierContact')
</div>
<div class="layui-tab-item">
@include('web.supplier.SupplierRuler')
</div>
<div class="layui-tab-item">内容4</div>
<div class="layui-tab-item">内容5</div>
</div>
</div>
</div>
</form>
</div>
<blockquote class="layui-elem-quote layui-text">
<b>基本信息</b>
</blockquote>
<div class="layui-form-item">
<label class="layui-form-label"><span class="require">*</span>供应商名称 : </label>
<div class="layui-input-block">
<input type="text" name="supplier_name" id="supplier_name"
placeholder="请输入供应商名称" class="layui-input"
value="{{$supplier['supplier_name'] or ''}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"><span class="require">*</span>注册公司名 : </label>
<div class="layui-input-block">
<input type="text" name="register_company_name" id="register_company_name"
@if(!empty($supplier))
disabled
@endif
placeholder="请输入注册公司名" class="layui-input"
value="{{$supplier['register_company_name'] or ''}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">英文名称 : </label>
<div class="layui-input-block">
<input type="text" name="supplier_name_en" id="supplier_name_en"
placeholder="请输入供应商英文名称" class="layui-input"
value="{{$supplier['supplier_name_en'] or ''}}">
</div>
</div>
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-md4">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('region','所在区域',array_get($supplier,'region',''),
config('fixed.Region'),['required'=>true,'width'=>'150px']) !!}
</div>
<div class="layui-col-md8">
<label class="layui-form-label">注册地址 :
</label>
<div class="layui-input-block">
<input type="text" name="supplier_address" id="supplier_address"
placeholder="请输入注册地址" class="layui-input"
value="{{$supplier['supplier_address'] or ''}}">
</div>
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-md4">
<label class="layui-form-label"><span class="require">*</span>法人代表 :
</label>
<div class="layui-input-block">
<input type="text" style="width: 150px" name="legal_representative" id="legal_representative"
placeholder="请输入法人代表" class="layui-input"
value="{{$supplier['legal_representative'] or ''}}">
</div>
</div>
<div class="layui-col-md8">
<label class="layui-form-label" style="width: 80px">成立时间 :
</label>
<div class="layui-input-block" style="width: 150px">
<input type="text" id="established_time" name="established_time"
placeholder="请输入成立时间"
class="layui-input"
autocomplete="off"
value="{{$supplier['established_time'] or ''}}">
</div>
</div>
</div>
</div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">资信调查 : </label>
<div class="layui-input-block">
<textarea name="credit_investigation" placeholder="请输入资信调查"
class="layui-textarea">{{$supplier['credit_investigation'] or ''}}</textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">
主营品牌</label>
<div class="layui-input-block" style="margin-top: 15px">
<div id="brand_selector" class="layui-input-inline" style="width: 100%;">
</div>
<input type="hidden" name="main_brands" value="{{$supplier['main_brands'] or ''}}"
id="main_brands">
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label"><span class="require">*</span>合作类型</label>
<div class="layui-input-block">
<input type="hidden" name="stockup_type"
value="{{$supplier['stockup_type'] or ''}}">
@foreach(config('fixed.StockupType') as $k=>$type)
<input type="checkbox" name="stockup_type[{{$k}}]"
lay-skin="primary"
@if(!empty($supplier['stockup_type_data'])&&in_array($k,$supplier['stockup_type_data']))
checked
@endif
title="{{$type}}">
@endforeach
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-md4">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('supplier_group','公司性质',array_get($supplier,'supplier_group',null),
config('fixed.SupplierGroup'),['required'=>true,'width'=>'150px']) !!}
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('currency','结算币种',
isset($supplier)?$supplier['currency']:'',config('fixed.Currency'),['required'=>false]) !!}
</div>
<div class="layui-inline" id="tax_number_div"
@if(empty($supplier) || (!empty($supplier)&&$supplier['currency']!=1))
style="display: none;"
@endif
>
<label class="layui-form-label"><span class="require">*</span>公司税号</label>
<div class="layui-input-inline">
<input type="text" name="tax_number" placeholder="请输入公司税号" class="layui-input"
value="{{$supplier['tax_number'] or ''}}">
</div>
</div>
</div>
@include('web.supplier.SupplierFile')
@if($operate=='add')
<blockquote class="layui-elem-quote layui-text">
<b>跟进人</b>
</blockquote>
@inject('statusPresenter','App\Presenters\StatusPresenter')
<div class="layui-form-item">
{!! $statusPresenter->render('region','渠道开发员','',$userCodes,['required'=>true,'width'=>'150px']) !!}
</div>
@endif
@include('script.supplier.SupplierBaseScript')
\ No newline at end of file
<div class="layui-row">
<div class="layui-btn-group demoTable" style="margin-bottom: 15px;margin-top: 15px">
<button class="layui-btn layui-btn-sm" id="add_contact">新增</button>
<button class="layui-btn layui-btn-sm" id="update_contact">修改</button>
<button class="layui-btn layui-btn-sm" id="batchDelete">删除</button>
@if($operate == 'update')
<div class="layui-btn-group demoTable" style="margin-top: 5px">
<button type="button" class="layui-btn layui-btn-sm" id="add_contact">新增</button>
<button type="button" class="layui-btn layui-btn-sm" id="update_contact">修改</button>
<button type="button" class="layui-btn layui-btn-sm" id="batchDelete">删除</button>
</div>
@endif
<table class="layui-table" lay-filter="contactList" id="contactList"></table>
</div>
......
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-md4">
<label class="layui-form-label">营业执照 :
<label class="layui-form-label"><span class="require">*</span>营业执照 :
</label>
<div class="layui-upload">
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm uploadObj">选择文件</button>
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm uploadButton">{{$supplier['qualification_photos']['business_license']['file_name']}}</button>
<input type="hidden" class="upload_obj" name="upload_file[business_license]" value="{{$supplier['qualification_photos']['business_license']['value'] or ''}}">
</div>
</div>
<div class="layui-col-md4">
<label class="layui-form-label">开票资料 :
</label>
<div class="layui-upload">
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm uploadObj">选择文件</button>
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm uploadButton">{{$supplier['qualification_photos']['billing_information']['file_name']}}</button>
<input type="hidden" class="upload_obj" name="upload_file[billing_information]" value="{{$supplier['qualification_photos']['billing_information']['value'] or ''}}">
</div>
</div>
</div>
......
<div class="layui-row">
<div class="layui-btn-group demoTable" style="margin-bottom: 15px;margin-top: 15px">
<button class="layui-btn layui-btn-sm" id="add_bank">新增</button>
<button class="layui-btn layui-btn-sm" id="update_bank">修改</button>
<button class="layui-btn layui-btn-sm" id="delete_bank">删除</button>
@if($operate == 'update')
<div class="layui-btn-group demoTable" style="margin-top: 5px">
<button type="button" class="layui-btn layui-btn-sm" id="add_bank">新增</button>
<button type="button" class="layui-btn layui-btn-sm" id="update_bank">修改</button>
<button type="button" class="layui-btn layui-btn-sm" id="delete_bank">删除</button>
</div>
@endif
<table class="layui-table" lay-filter="receiptList" id="receiptList"></table>
</div>
......
<blockquote class="layui-elem-quote layui-text">
<b>采购附加费设置</b>
</blockquote>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">商品总价不满</label>
<div class="layui-input-inline" style="width: 100px;">
<input class="layui-input" type="text" name="cn[max]" id="cn_max" value="{{$info['cn']['max'] or ''}}"
lay-verify="num">
</div>
<div class="layui-form-label" style="width: 100px;margin-left: -20px">元(人民币),收取</div>
<div class="layui-input-inline" style="width: 100px;">
<input class="layui-input" type="text" name="cn[price]" value="{{$info['cn']['price'] or ''}}"
lay-verify="float" value="">
</div>
<div class="layui-form-label" style="width: 40px;margin-left: -20px">元运费</div>
<div class="layui-input-inline" style="width: 100px;">
<input type="checkbox" title="全渠道收费" lay-skin="primary" lay-filter="cn_filter">
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">商品总价不满</label>
<div class="layui-input-inline" style="width: 100px;">
<input class="layui-input" type="text" name="hk[max]" id="hk_max" value="{{$info['hk']['max'] or ''}}"
lay-verify="num" value="">
</div>
<div class="layui-form-label" style="width: 55px;margin-left: -20px">美金,收取</div>
<div class="layui-input-inline" style="width: 100px;">
<input class="layui-input" type="text" name="hk[price]" value="{{$info['hk']['price'] or ''}}"
lay-verify="float" value="">
</div>
<div class="layui-form-label" style="width: 40px;margin-left: -20px">元运费</div>
<div class="layui-input-inline" style="width: 100px;">
<input type="checkbox" title="全渠道收费" lay-skin="primary" lay-filter="hk_filter">
</div>
</div>
</div>
<blockquote class="layui-elem-quote layui-text">
<b>采购价格系数调整</b>
</blockquote>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">人民币系数</label>
<div class="layui-input-inline" style="width: 50px">
<input type="text" name="cn_ratio" value="{{$ratio['cn_ratio'] or 1}}" lay-verify="required"
placeholder="请输入人民币系数" autocomplete="off" class="layui-input" style="display: inline-block">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">美金系数</label>
<div class="layui-input-inline" style="width: 50px">
<input type="text" name="us_ratio" value="{{$RatioInfo['us_ratio'] or 1}}" lay-verify="required"
placeholder="请输入采购附加费" autocomplete="off" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux">
基数为1,如利润为10%,请填写1.1
</div>
</div>
</div>
<blockquote class="layui-elem-quote layui-text">
<b>货期调整</b>
</blockquote>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">大陆交期</label>
<div class="layui-input-inline" style="width: 50px">
<input type="text" name="cn_delivery_time" value="{{$RatioInfo['cn_delivery_time'] or 1}}"
lay-verify="required" placeholder="请输入大陆货期" autocomplete="off" class="layui-input">
</div>
<div class="layui-input-inline" style="width: 50px">
<select name="cn_delivery_time_period">
<option value="天"></option>
<option value="周"></option>
</select>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">香港交期</label>
<div class="layui-input-inline" style="width: 50px">
<input type="text" name="us_delivery_time" value="{{$RatioInfo['us_delivery_time'] or 1}}"
lay-verify="required" placeholder="请输入香港货期" autocomplete="off" class="layui-input">
</div>
<div class="layui-input-inline" style="width: 50px">
<select name="us_delivery_time_period">
<option value="天"></option>
<option value="周"></option>
</select>
</div>
<div class="layui-form-mid layui-word-aux">
单位为工作日,周。格式2-6工作日,1-2周
</div>
</div>
</div>
<blockquote class="layui-elem-quote layui-text">
<b>SKU相关设置 - 联营库存数据</b>
</blockquote>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">数据新增规则 : </label>
<div class="layui-input-block">
@if(!empty($supplier['sku_upload_ruler']))
@foreach($supplier['sku_upload_ruler'] as $key=>$flag)
@if(!empty(array_get(config('fixed.SkuUploadRuler'),$key)))
<input type="checkbox" name="sku_upload_ruler[{{$key}}]"
lay-skin="primary"
@if(array_get(config('fixed.SkuUploadRuler'),$key))
checked
@endif
title="{{array_get(config('fixed.SkuUploadRuler'),$key)}}">
@endif
@endforeach
@else
@foreach(config('fixed.SkuUploadRuler') as $key=>$flag)
<input type="checkbox" name="sku_upload_ruler[{{$key}}]"
lay-skin="primary"
title="{{$flag}}">
@endforeach
@endif
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">审核内容配置 : </label>
<div class="layui-input-inline" style="width: 50px">
</div>
</div>
</div>
@include('script.supplier.SupplierRulerScript')
\ No newline at end of file
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