Commit 779b4618 authored by 鲁鑫's avatar 鲁鑫

转移,工厂放到抬头

parent 0f7bcd15
......@@ -56,21 +56,16 @@ function bindEvent(){
$('#burksName').val(data.BUTXT);
}
});
/* $("#applyPersonName").orgTree({
filter: "ogn,dpt,pos,psm",
excludePos: 1, param: {orgKindId: "ogn,dpt,pos,psm"},
back: {text: "#applyPersonName",value :'#applyPerson'},
manageType: 'taskQuery,admin',
onChange:function(value,data){ //alert(data.name);
// $("#applyPerson").val(data.fullId);
// $("#applyPersonName").val(data.name);
$('#werksName').searchbox({
type: "system", name: "dictionary",
getParam: function (item) {
return {fieldName: "WERKS"}
},
onChange: function (value, data) {
$('#werks').val(data.WERKS);
$('#werksName').val(data.NAME1);
}
});
*/
}
function loadGrid() {
......@@ -177,25 +172,25 @@ function loadGrid() {
}
},
{display: "库存地点名称", name: "lgortName", width: "200", align: "left", type: "string"},
{display: "收货工厂", name: "werks", width: "100", align: "left", type: "string",
editor: {
required: true, type: "select",
data: {
type: 'system',
name: "dictionary",
getParam: function (item) {
return {fieldName: "WERKS"}
},
back: {
WERKS: "werks",
NAME1: "werksName"
}
},
}
},
{display: "工厂名称", name: "werksName", width: "200", align: "left", type: "string",
editor: {required: false, type: "text"}
},
// {display: "收货工厂", name: "werks", width: "100", align: "left", type: "string",
// editor: {
// required: true, type: "select",
// data: {
// type: 'system',
// name: "dictionary",
// getParam: function (item) {
// return {fieldName: "WERKS"}
// },
// back: {
// WERKS: "werks",
// NAME1: "werksName"
// }
// },
// }
// },
// {display: "工厂名称", name: "werksName", width: "200", align: "left", type: "string",
// editor: {required: false, type: "text"}
// },
],
dataAction: "server",
url: web_app.name + '/sapStockTransfersItem/querySapStockTransfersItems.ajax',
......
......@@ -39,6 +39,9 @@
<x:hidden name="burks"/>
<x:inputC name="burksName" required="false" label="公司代码" labelCol="2" fieldCol="2" wrapper="select"/>
<x:hidden name="werks"/>
<x:inputC name="werksName" required="false" label="收货工厂" labelCol="2" fieldCol="2" wrapper="select"/>
</div>
</div>
<div class="blank_div clearfix"></div>
......
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