Commit c2f7a9b1 authored by 鲁鑫's avatar 鲁鑫

工序外协根据产品编码,工序编码和数量匹配工序报价

parent 6146f2cc
...@@ -20,7 +20,12 @@ ...@@ -20,7 +20,12 @@
<property name="port" value="${shiro.port}"/> <property name="port" value="${shiro.port}"/>
<property name="usePool" value="true"/> <property name="usePool" value="true"/>
<property name="poolConfig" ref="jedisPoolConfig"/> <property name="poolConfig" ref="jedisPoolConfig"/>
<property name="database" value="0"/><!--指定数据库--> <!--开发测试指定数据库-->
<property name="database" value="0"/>
<!--310集成指定数据库-->
<!--<property name="database" value="1"/>-->
<!--320指定数据库-->
<!--<property name="database" value="2"/>-->
</bean> </bean>
<bean id="redisTemplate" class="org.springframework.data.redis.core.RedisTemplate"> <bean id="redisTemplate" class="org.springframework.data.redis.core.RedisTemplate">
......
...@@ -138,7 +138,7 @@ $(function () { ...@@ -138,7 +138,7 @@ $(function () {
{ display: "编码", name: "code", width: 100, minWidth: 60, type: "string", align: "left" }, { display: "编码", name: "code", width: 100, minWidth: 60, type: "string", align: "left" },
{ display: "名称", name: "name", width: 100, minWidth: 60, type: "string", align: "left" }, { display: "名称", name: "name", width: 100, minWidth: 60, type: "string", align: "left" },
{ display: "证件号码", name: "certificateNo", width: 160, minWidth: 60, type: "string", align: "left" }, { display: "证件号码", name: "certificateNo", width: 160, minWidth: 60, type: "string", align: "left" },
{ display: "全称", name: "longName", width: 100, minWidth: 60, type: "string", align: "left" }, //{ display: "全称", name: "longName", width: 100, minWidth: 60, type: "string", align: "left" },
{ display: "排序号", name: "sequence", width: 60, minWidth: 60, type: "string", align: "left", { display: "排序号", name: "sequence", width: 60, minWidth: 60, type: "string", align: "left",
render: function(item) { render: function(item) {
var id = item.id.replace(/\@/g,"_"); var id = item.id.replace(/\@/g,"_");
......
...@@ -85,6 +85,20 @@ function loadOrderItemGrid() { ...@@ -85,6 +85,20 @@ function loadOrderItemGrid() {
checkbox: true, checkbox: true,
fixedCellHeight: true, fixedCellHeight: true,
selectRowButtonOnly: true, selectRowButtonOnly: true,
onAfterEdit:function (item) {
if(item.column.name == "menge"){
Public.ajax(web_app.name + "/processQuotedPrice/findPriceByProductAndProcess.ajax?" +
"productCode="+item.record.productCode+
"&outProcess="+item.record.wempf+
"&number="+item.record.menge,
{
},function (data){
orderItemGridManager.updateRow(item.record,{
kbetr:data
})
})
}
}
}); });
UICtrl.setSearchAreaToggle(orderItemGridManager); UICtrl.setSearchAreaToggle(orderItemGridManager);
} }
......
...@@ -29,6 +29,10 @@ public class SyncOrgController extends CommonController { ...@@ -29,6 +29,10 @@ public class SyncOrgController extends CommonController {
@Autowired @Autowired
private OrgSyncApplication orgSyncApplication; private OrgSyncApplication orgSyncApplication;
/**
* 同步人员到EP
* @return
*/
@SkipAuth @SkipAuth
@RequestMapping( value = "/syncOrgInfo") @RequestMapping( value = "/syncOrgInfo")
@ResponseBody @ResponseBody
......
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