Commit 8821acb1 authored by 鲁鑫's avatar 鲁鑫

供应商在申请人阶段填写全部信息

parent e1bc5c8b
......@@ -10,7 +10,6 @@ $(document).ready(function () {
loadSuppliersBuyerListGrid();
loadSuppliersBankListGrid();
bindEvent();
controlCashierGrid();
});
function initialize(){
UICtrl.layout("#layout", {leftWidth: 3});
......@@ -592,7 +591,6 @@ function checkConstraints(){
return false;
}
}
if ("cashier" == getSubProcUnitId() || "finance" == getSubProcUnitId()){
//付款信息
var pay_grid = UICtrl.getGridManager('#sapSuppliersPayGrid');
if (pay_grid) {
......@@ -608,7 +606,6 @@ function checkConstraints(){
return false;
}
}
}
return true;
}
......@@ -668,17 +665,3 @@ function reloadGrid() {
sapSuppliersBuyerGridManager.loadData();
sapSuppliersBankGridManager.loadData();
}
\ No newline at end of file
function controlCashierGrid(){
var status = $("#statusId").val();
if (status == 0 || status == 1){
$("#cashierGrid").hide();
}
let subProcUnitId = getSubProcUnitId();
if ("cashier" == subProcUnitId){
$("#cashierGrid").show();
}
if ("finance" == subProcUnitId){
$("#cashierGrid").show();
}
}
\ No newline at end of file
......@@ -98,14 +98,12 @@
<div class="blank_div clearfix"></div>
<x:title title="供应商采购组织信息" name="group"/>
<div id="sapSuppliersBuyerGrid" style="margin: 2px;"></div>
<div id="cashierGrid">
<div class="blank_div clearfix"></div>
<x:title title="供应商公司信息" name="group"/>
<div id="sapSuppliersPayGrid" style="margin: 2px;"></div>
<div class="blank_div clearfix"></div>
<x:title title="供应商银行银行信息" name="group"/>
<div id="sapSuppliersBankGrid" style="margin: 2px;"></div>
</div>
</form>
</body>
</html>
......@@ -608,20 +608,6 @@ function reloadGrid() {
sapSuppliersBankGridManager.loadData();
}
function controlCashierGrid(){
var status = $("#statusId").val();
if (status == 0 || status == 1){
$("#cashierGrid").hide();
}
let subProcUnitId = getSubProcUnitId();
if ("cashier" == subProcUnitId){
$("#cashierGrid").show();
}
if ("finance" == subProcUnitId){
$("#cashierGrid").show();
}
}
function initNowData(){
var partner = $("#partner").val();
Public.ajax(web_app.name+"/sapSuppliersData/getSupplierNowItemList.ajax",{partner:partner},function (data){
......
......@@ -88,13 +88,14 @@
<x:fileList bizCode="supplier" bizId="attbizId" id="supplierList" title="营业执照/开票资料" />
</div>
<div class="blank_div clearfix"></div>
<x:title title="供应商采购组织信息" name="group"/>
<div id="sapSuppliersBuyerGrid" style="margin: 2px;"></div>
<div id="cashierGrid">
<div class="blank_div clearfix"></div>
<x:title title="供应商公司信息" name="group"/>
<div id="sapSuppliersPayGrid" style="margin: 2px;"></div>
<div class="blank_div clearfix"></div>
<x:title title="供应商银行银行信息" name="group"/>
<div id="sapSuppliersBankGrid" style="margin: 2px;"></div>
</div>
</form>
</body>
</html>
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 to comment