陈薪名 11 months ago
parent
commit
7e929f0471
  1. 67
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue
  2. 2
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

67
src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue

@ -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'])}), //
] ]
} }
@ -185,39 +185,40 @@ const butttondata = (row) => {
const buttonTableClick = async (val, row) => { const buttonTableClick = async (val, row) => {
 if (val == 'mainJobExe') { //  if (val == 'mainJobExe') { //
    let aaa = {     let aaa = {
"id": "1809200001805505477", "id": "1809190002130023685",
"requestNumber": "REQ1820231206-0001", "requestNumber": "REQ1720231222-0004",
"deliverRecordNumber": "JOB2420231206-0005", "deliverPlanNumber": "DP20231222-0004",
"deliverPlanNumber": "DP20231205-0002", "customerDeliverNumber": "CUST20231222-00000005",
"customerCode": "CF", "customerCode": "CF",
"customerDockCode": "CFCKYT", "customerDockCode": "CFCKYT",
"receiptDock": null, "deliverDock": null,
"carrierCode": "cys-001", "carrierCode": null,
"transferMode": "LOAD", "transferMode": null,
"vehiclePlateNumber": "车牌号", "vehiclePlateNumber": null,
"fromWarehouseCode": null, "fromWarehouseCode": null,
"toWarehouseCode": null, "toWarehouseCode": "CFCK",
"requestTime": 1701826510000, "requestTime": 1703207798000,
"requestDueTime": 1704470400000, "requestDueTime": 1703952000000,
"status": "2", "status": "2",
"expiredTime": null, "expiredTime": null,
"updateTime": 1701827786000, "updateTime": 1703207917000,
"updater": "1", "updater": "超级管理员",
"jobStageStatus": null, "jobStageStatus": null,
"priority": null, "priority": null,
"priorityincrement": null, "priorityincrement": null,
"departmentCode": "研发部门", "departmentCode": "100",
"acceptUserId": "1", "acceptUserId": "1",
"acceptTime": 1701742448000, "acceptTime": 1703207934000,
"completeUserId": null, "completeUserId": null,
"completeTime": null, "completeTime": null,
"fromLocationTypes": "FG", "fromLocationTypes": "FG",
"toLocationTypes": "CUST", "toLocationTypes": "CUST",
"number": "JOB2420231205-0001", "number": "JOB2420231222-0006",
"businessType": "DeliverJob", "businessType": "DeliverJob",
"remark": "主表备注", "remark": "",
"createTime": 1701740969000, "createTime": 1703207917000,
"creator": "1", "creator": "超级管理员",
"ruleUserId": null,
"fromAreaCodes": "采购在途库", "fromAreaCodes": "采购在途库",
"toAreaCodes": "采购在途库", "toAreaCodes": "采购在途库",
"fromDockCode": null, "fromDockCode": null,
@ -231,31 +232,35 @@ const buttonTableClick = async (val, row) => {
"allowPartialComplete": "TRUE", "allowPartialComplete": "TRUE",
"allowModifyBatch": "FALSE", "allowModifyBatch": "FALSE",
"allowModifyPackingNumber": "FALSE", "allowModifyPackingNumber": "FALSE",
"inInventoryStatuses": "OK",
"outInventoryStatuses": "OK",
"concurrencyStamp": 1,
"subList": [{ "subList": [{
"id": "1809190001245559377", "id": "1809190001245559379",
"soNumber": null, "soNumber": null,
"soLine": null, "soLine": null,
"packingNumber": null, "packingNumber": null,
"batch": "20231130", "batch": "20230808",
"inventoryStatus": "OK", "inventoryStatus": "OK",
"ownerCode": null, "ownerCode": null,
"containerNumber": null, "containerNumber": null,
"fromLocationCode": "Loc_testCF", "fromLocationCode": "L-R-001-001-1-01",
"toLocationCode": "CUST", "toLocationCode": "CUST",
"itemCode": "testCF", "itemCode": "testCF",
"itemName": "陈放测试物品", "itemName": "陈放测试物品",
"itemDesc1": "测试用", "itemDesc1": "测试用",
"itemDesc2": "测试用", "itemDesc2": "测试用",
"projectCode": "5", "projectCode": "5",
"qty": 1, "qty": 5,
"uom": "EA", "uom": "EA",
"number": "JOB2420231205-0001", "number": "JOB2420231222-0006",
"remark": "子表备注", "remark": "",
"createTime": 1701740970000, "createTime": 1703207917000,
"creator": "1", "creator": "超级管理员",
"toPackingNumber": null, "toPackingNumber": null,
"toContainerNumber": null, "toContainerNumber": null,
"toBatch": null, "toBatch": null,
"handleQty": null,
"toInventoryStatus": null, "toInventoryStatus": null,
recordList: [{ recordList: [{
handleQty: 10, handleQty: 10,

2
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -455,7 +455,7 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
tableForm: { tableForm: {
disabled: true, disabled: true,
type: 'Select' type: 'Select'
}, },
}, },
{ {

Loading…
Cancel
Save