修改
This commit is contained in:
@@ -400,7 +400,7 @@ public class WmsToErpServiceImpl implements WmsToErpService {
|
||||
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());
|
||||
|
||||
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);
|
||||
if (ObjectUtil.isEmpty(purchase)){
|
||||
purchase = new JSONObject();
|
||||
purchase.put("id", IdUtil.getSnowflake(1, 1).nextId());
|
||||
purchase.put("CGENERALHID",jo.getString("CGENERALHID"));
|
||||
purchase.put("CGENERALBID",jo.getString("CGENERALBID"));
|
||||
purchase.put("CROWNO",jo.getString("CROWNO"));
|
||||
|
||||
@@ -237,10 +237,6 @@ export default {
|
||||
},
|
||||
clcikRow(row, column, event) {
|
||||
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 => {
|
||||
this.form.tableMater = res
|
||||
})
|
||||
|
||||
@@ -239,7 +239,6 @@ export default {
|
||||
return this.dict.label.work_status[row.work_status]
|
||||
},
|
||||
handleDtlCurrentChange(current) {
|
||||
debugger
|
||||
if (current !== null) {
|
||||
this.tabledis = []
|
||||
this.currentdtl = current
|
||||
|
||||
Reference in New Issue
Block a user