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