修改
This commit is contained in:
@@ -400,7 +400,7 @@ public class WmsToErpServiceImpl implements WmsToErpService {
|
|||||||
whereMap = new HashMap<String, String>(map);
|
whereMap = new HashMap<String, String>(map);
|
||||||
}
|
}
|
||||||
|
|
||||||
JSONArray ja = WQL.getWO("QERP").setDbname("dataSource1").addParamMap(whereMap).addParam("flag", "4").process().getResultJSONArray(0);
|
JSONArray ja = WQL.getWO("QERP").setDbname("dataSource1").addParamMap(whereMap).addParam("flag", "5").process().getResultJSONArray(0);
|
||||||
log.info("备件入库单导入数据---------:" + ja.toString());
|
log.info("备件入库单导入数据---------:" + ja.toString());
|
||||||
|
|
||||||
for (int i = 0; i < ja.size(); i++) {
|
for (int i = 0; i < ja.size(); i++) {
|
||||||
@@ -409,6 +409,7 @@ public class WmsToErpServiceImpl implements WmsToErpService {
|
|||||||
JSONObject purchase = purchaseIn_wql.query("CGENERALBID = '"+CGENERALBID+"'").uniqueResult(0);
|
JSONObject purchase = purchaseIn_wql.query("CGENERALBID = '"+CGENERALBID+"'").uniqueResult(0);
|
||||||
if (ObjectUtil.isEmpty(purchase)){
|
if (ObjectUtil.isEmpty(purchase)){
|
||||||
purchase = new JSONObject();
|
purchase = new JSONObject();
|
||||||
|
purchase.put("id", IdUtil.getSnowflake(1, 1).nextId());
|
||||||
purchase.put("CGENERALHID",jo.getString("CGENERALHID"));
|
purchase.put("CGENERALHID",jo.getString("CGENERALHID"));
|
||||||
purchase.put("CGENERALBID",jo.getString("CGENERALBID"));
|
purchase.put("CGENERALBID",jo.getString("CGENERALBID"));
|
||||||
purchase.put("CROWNO",jo.getString("CROWNO"));
|
purchase.put("CROWNO",jo.getString("CROWNO"));
|
||||||
|
|||||||
@@ -237,10 +237,6 @@ export default {
|
|||||||
},
|
},
|
||||||
clcikRow(row, column, event) {
|
clcikRow(row, column, event) {
|
||||||
this.form.dtl_row = row
|
this.form.dtl_row = row
|
||||||
sparePart.getIODtl({ 'bill_code': this.form.dtl_row.bill_code }).then(res => {
|
|
||||||
this.openParam = res
|
|
||||||
this.form.dtl_row = res[row.index]
|
|
||||||
})
|
|
||||||
sparePart.getDisDtl(row).then(res => {
|
sparePart.getDisDtl(row).then(res => {
|
||||||
this.form.tableMater = res
|
this.form.tableMater = res
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -239,7 +239,6 @@ export default {
|
|||||||
return this.dict.label.work_status[row.work_status]
|
return this.dict.label.work_status[row.work_status]
|
||||||
},
|
},
|
||||||
handleDtlCurrentChange(current) {
|
handleDtlCurrentChange(current) {
|
||||||
debugger
|
|
||||||
if (current !== null) {
|
if (current !== null) {
|
||||||
this.tabledis = []
|
this.tabledis = []
|
||||||
this.currentdtl = current
|
this.currentdtl = current
|
||||||
|
|||||||
Reference in New Issue
Block a user