| | |
| | | data() { |
| | | return { |
| | | tableList: {}, |
| | | showcol: ["仓库位置", "来源","来源单据","调出位置", "调入位置", "联系人", "日期", "销售明细单", "状态"], |
| | | showcol: ["仓库位置", "来源","来源单据","调出位置", "调入位置", "联系人", "日期", "销售明细单", "状态" ,"主管","会计","保管员",], |
| | | searchOptions: [], |
| | | commonDetail: { |
| | | visible: false, |
| | |
| | | numberLabel: "单号", |
| | | TabsIndex: "0", |
| | | productTableList: {}, |
| | | showBottomCol: ["产品编号", "产品名称", "产品规格", "产品型号", "计量单位", "调出位置", "调入位置", "数量"], |
| | | showBottomCol: ["产品编号", "产品名称", "产品规格", "产品型号", "计量单位", "调出位置", "调入位置", "数量","主管","会计","保管员",], |
| | | tableBottomColumn: [], |
| | | selectRow: {}, |
| | | productColumn: [ |
| | |
| | | this.toLabel = "客户位置" |
| | | this.numberLabel = "出库单号" |
| | | } else { |
| | | this.showcol=["仓库位置", "调出位置", "调入位置", "联系人", "日期", "销售明细单", "状态"], |
| | | this.showcol=["仓库位置", "调出位置", "调入位置", "联系人","日期", "销售明细单", "状态","主管","会计","保管员",], |
| | | this.formLabel = "调出位置" |
| | | this.toLabel = "调入位置" |
| | | this.numberLabel = "调拨单号" |
| | |
| | | status: true, |
| | | isCallMethod: true, |
| | | getCallMethod: this.getStatus |
| | | } |
| | | }, |
| | | { |
| | | label: "主管", |
| | | prop: "manager", |
| | | isShowColumn: showcol.includes("主管"), |
| | | default: false |
| | | }, |
| | | { |
| | | label: "会计", |
| | | prop: "accountant", |
| | | isShowColumn: showcol.includes("会计"), |
| | | default: false |
| | | }, |
| | | { |
| | | label: "保管员", |
| | | prop: "custodian", |
| | | isShowColumn: showcol.includes("保管员"), |
| | | default: false |
| | | }, |
| | | ] |
| | | return tableColumn |
| | | }, |
| | |
| | | } |
| | | row.locationID = row.location.jointName |
| | | row.locationId = row.location.value |
| | | |
| | | row.managerObj={ |
| | | label:row.manager, |
| | | value:row.managerId |
| | | } |
| | | row.accountantObj={ |
| | | label:row.accountant, |
| | | value:row.accountantId |
| | | } |
| | | row.custodianObj={ |
| | | label:row.custodian, |
| | | value:row.custodianId |
| | | } |
| | | // row.tolocationId=row.tolocation.value |
| | | this.editConfig.infomation = { ...row } |
| | | }, |