|
@ -174,10 +174,10 @@ const isShowMainButton = (row,val) => { |
|
|
// 列表-操作按钮 |
|
|
// 列表-操作按钮 |
|
|
const butttondata = (row) => { |
|
|
const butttondata = (row) => { |
|
|
return [ |
|
|
return [ |
|
|
// defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // 承接 |
|
|
defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // 承接 |
|
|
// defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), // 关闭 |
|
|
defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), // 关闭 |
|
|
// defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // 放弃 |
|
|
defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // 放弃 |
|
|
// defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // 执行 |
|
|
defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // 执行 |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -186,39 +186,39 @@ const buttonTableClick = async (val, row) => { |
|
|
if (val == 'mainJobExe') { // 执行 |
|
|
if (val == 'mainJobExe') { // 执行 |
|
|
|
|
|
|
|
|
let aaa = { |
|
|
let aaa = { |
|
|
"id": "1809200001805505476", |
|
|
"id": "1809200001805505479", |
|
|
"requestNumber": "REQ1820231205-0005", |
|
|
"requestNumber": "REQ1820231220-0002", |
|
|
"deliverRecordNumber": "JOB2420231205-0002", |
|
|
"deliverRecordNumber": "JOB2420231206-0005", |
|
|
"deliverPlanNumber": "DP20231205-0002", |
|
|
"deliverPlanNumber": "DP20231205-0002", |
|
|
"customerCode": "CF", |
|
|
"customerCode": "CF", |
|
|
"customerDockCode": "CFCKYT", |
|
|
"customerDockCode": "CFCKYT", |
|
|
"receiptDock": null, |
|
|
"receiptDock": null, |
|
|
"carrierCode": "cys-001", |
|
|
"carrierCode": "", |
|
|
"transferMode": "AIR", |
|
|
"transferMode": "", |
|
|
"vehiclePlateNumber": "车牌号", |
|
|
"vehiclePlateNumber": "", |
|
|
"fromWarehouseCode": null, |
|
|
"fromWarehouseCode": null, |
|
|
"toWarehouseCode": null, |
|
|
"toWarehouseCode": null, |
|
|
"requestTime": 1701756307000, |
|
|
"requestTime": 1703056874000, |
|
|
"requestDueTime": 1704470400000, |
|
|
"requestDueTime": 0, |
|
|
"status": "2", |
|
|
"status": "1", |
|
|
"expiredTime": null, |
|
|
"expiredTime": null, |
|
|
"updateTime": 1701764165000, |
|
|
"updateTime": 1703056901000, |
|
|
"updater": "1", |
|
|
"updater": "超级管理员", |
|
|
"jobStageStatus": null, |
|
|
"jobStageStatus": null, |
|
|
"priority": null, |
|
|
"priority": null, |
|
|
"priorityIncrement": null, |
|
|
"priorityIncrement": null, |
|
|
"departmentCode": "研发部门", |
|
|
"departmentCode": "闻荫源码", |
|
|
"acceptUserId": "1", |
|
|
"acceptUserId": null, |
|
|
"acceptTime": 1701764178000, |
|
|
"acceptTime": null, |
|
|
"completeUserId": null, |
|
|
"completeUserId": null, |
|
|
"completeTime": null, |
|
|
"completeTime": null, |
|
|
"fromLocationTypes": "INSP,HOLD", |
|
|
"fromLocationTypes": "INSP,HOLD,SCRAP", |
|
|
"toLocationTypes": "HOLD,INSP", |
|
|
"toLocationTypes": "HOLD,INSP,SEMI,RAW", |
|
|
"number": "JOB2520231205-0014", |
|
|
"number": "JOB2520231220-0007", |
|
|
"businessType": "CustomerRejectJob", |
|
|
"businessType": "CustomerRejectJob", |
|
|
"remark": "主表备注", |
|
|
"remark": "", |
|
|
"createTime": 1701764165000, |
|
|
"createTime": 1703056901000, |
|
|
"creator": "1", |
|
|
"creator": "超级管理员", |
|
|
"fromAreaCodes": "采购在途库", |
|
|
"fromAreaCodes": "采购在途库", |
|
|
"toAreaCodes": "采购在途库", |
|
|
"toAreaCodes": "采购在途库", |
|
|
"toDockCode": null, |
|
|
"toDockCode": null, |
|
@ -232,29 +232,64 @@ const buttonTableClick = async (val, row) => { |
|
|
"allowPartialComplete": "TRUE", |
|
|
"allowPartialComplete": "TRUE", |
|
|
"allowModifyBatch": "FALSE", |
|
|
"allowModifyBatch": "FALSE", |
|
|
"allowModifyPackingNumber": "FALSE", |
|
|
"allowModifyPackingNumber": "FALSE", |
|
|
"subList": [{ |
|
|
"subList": [ |
|
|
"id": "1809200000441442040", |
|
|
{ |
|
|
|
|
|
"id": "1809200000441442043", |
|
|
"soNumber": null, |
|
|
"soNumber": null, |
|
|
"soLine": null, |
|
|
"soLine": null, |
|
|
"packingNumber": "testCF", |
|
|
"packingNumber": "M20230421000005", |
|
|
"batch": "20230808", |
|
|
"batch": "20230808", |
|
|
"inventoryStatus": "OK", |
|
|
"inventoryStatus": "OK", |
|
|
"ownerCode": null, |
|
|
"ownerCode": null, |
|
|
"containerNumber": null, |
|
|
"containerNumber": null, |
|
|
"fromLocationCode": "Loc_testCF", |
|
|
"fromLocationCode": "Loc_testCF", |
|
|
"toLocationCode": "INSPECT", |
|
|
"toLocationCode": "SFG", |
|
|
"itemCode": "testCF", |
|
|
"itemCode": "testCF", |
|
|
"itemName": null, |
|
|
"itemName": "陈放测试物品", |
|
|
"itemDesc1": null, |
|
|
"itemDesc1": "测试用", |
|
|
"itemDesc2": null, |
|
|
"itemDesc2": "测试用", |
|
|
"projectCode": null, |
|
|
"projectCode": "5", |
|
|
"qty": 22, |
|
|
"qty": 22, |
|
|
"uom": "EA", |
|
|
"uom": "EA", |
|
|
"number": "REQ1820231206-0001", |
|
|
"number": "REQ1820231220-0002", |
|
|
"remark": "子表备注", |
|
|
"remark": "子表备注", |
|
|
"createtime": null, |
|
|
"createtime": null, |
|
|
"creator": "1" |
|
|
"creator": "超级管理员", |
|
|
}] |
|
|
"handleQty": null, |
|
|
|
|
|
"toPackingNumber": null, |
|
|
|
|
|
"toContainerNumber": null, |
|
|
|
|
|
"toBatch": null, |
|
|
|
|
|
"toInventoryStatus": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"id": "1809200000441442042", |
|
|
|
|
|
"soNumber": null, |
|
|
|
|
|
"soLine": null, |
|
|
|
|
|
"packingNumber": "12", |
|
|
|
|
|
"batch": "21", |
|
|
|
|
|
"inventoryStatus": "OK", |
|
|
|
|
|
"ownerCode": null, |
|
|
|
|
|
"containerNumber": null, |
|
|
|
|
|
"fromLocationCode": "Loc_testCF", |
|
|
|
|
|
"toLocationCode": "H03", |
|
|
|
|
|
"itemCode": "testCF", |
|
|
|
|
|
"itemName": "陈放测试物品", |
|
|
|
|
|
"itemDesc1": "测试用", |
|
|
|
|
|
"itemDesc2": "测试用", |
|
|
|
|
|
"projectCode": "5", |
|
|
|
|
|
"qty": 10, |
|
|
|
|
|
"uom": "EA", |
|
|
|
|
|
"number": "REQ1820231220-0002", |
|
|
|
|
|
"remark": "子表备注", |
|
|
|
|
|
"createtime": null, |
|
|
|
|
|
"creator": "超级管理员", |
|
|
|
|
|
"handleQty": null, |
|
|
|
|
|
"toPackingNumber": null, |
|
|
|
|
|
"toContainerNumber": null, |
|
|
|
|
|
"toBatch": null, |
|
|
|
|
|
"toInventoryStatus": null |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
handleHandle(aaa) |
|
|
handleHandle(aaa) |
|
|
} else if (val == 'mainJobAba') { // 放弃 |
|
|
} else if (val == 'mainJobAba') { // 放弃 |
|
|