|
@@ -11,7 +11,15 @@ const columns = [
|
|
|
require: true,
|
|
|
},
|
|
|
// { key: "puOrgName", title: "采购组织名称", },
|
|
|
- { key: "billType", title: "订单类型", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "billType",
|
|
|
+ title: "订单类型",
|
|
|
+ type: "Select",
|
|
|
+ require: true,
|
|
|
+ config: {
|
|
|
+ optionsName: "", // 字典名
|
|
|
+ },
|
|
|
+ },
|
|
|
// { key: "billTypeName", title: "订单类型名称", },
|
|
|
{ key: "oaDemandNo", title: "OA需求单号", type: "Input", },
|
|
|
{ key: "code", title: "订单编号", type: "Input", },
|
|
@@ -32,9 +40,30 @@ const columns = [
|
|
|
require: true,
|
|
|
},
|
|
|
// { key: "supplierName", title: "供应商名称", },
|
|
|
- { key: "paymentAgreement", title: "付款协议", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "paymentAgreement",
|
|
|
+ title: "付款协议",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: {
|
|
|
+ componentName: "PaymentPlan",
|
|
|
+ dataMapping: {
|
|
|
+ buyer: "userName",
|
|
|
+ puDept: "deptName",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
{ key: "finalType", title: "结算方式", type: "Input", },
|
|
|
- { key: "currency", title: "币种", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "currency",
|
|
|
+ title: "币种",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: {
|
|
|
+ componentName: "Currency",
|
|
|
+ dataMapping: {
|
|
|
+ currency: "name",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
// { key: "currencyName", title: "币种名称", },
|
|
|
{
|
|
|
key: "buyer",
|
|
@@ -58,8 +87,14 @@ const columns = [
|
|
|
require: true,
|
|
|
},
|
|
|
// { key: "puDeptName", title: "采购部门名称", },
|
|
|
- { key: "customer", title: "收货客户", type: "Input", },
|
|
|
- // { key: "customerName", title: "收货客户名称", },
|
|
|
+ // { key: "customer", title: "收货客户", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "customerName",
|
|
|
+ title: "收货客户名称",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "Customer" },
|
|
|
+ width: 200,
|
|
|
+ },
|
|
|
{
|
|
|
key: "qty",
|
|
|
title: "总数量",
|
|
@@ -78,11 +113,22 @@ const columns = [
|
|
|
{ key: "status", title: "单据状态", type: "Input", },
|
|
|
{ key: "freezeCause", title: "冻结原因", type: "Input", },
|
|
|
{ key: "isBack", title: "退货", type: "Input", type: "Input", },
|
|
|
- { key: "isMarketing", title: "已协同生成销售订单", type: "Input", },
|
|
|
- { key: "isMarketingSource", title: "由销售订单协同生成", type: "Input", },
|
|
|
- { key: "warehouse", title: "WMS入库仓库", type: "Input", },
|
|
|
+ { key: "isMarketing", title: "已协同生成销售订单", type: "Checkbox", },
|
|
|
+ { key: "isMarketingSource", title: "由销售订单协同生成", type: "Checkbox", },
|
|
|
+ {
|
|
|
+ key: "warehouse",
|
|
|
+ title: "WMS入库仓库", // 收货仓库
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "Warehouse" },
|
|
|
+ },
|
|
|
// { key: "warehouseName", title: "WMS入库仓库名称", },
|
|
|
- { key: "goodsAllocation", title: "货位", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "goodsAllocation",
|
|
|
+ title: "货位",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "Allocation" },
|
|
|
+ width: 200,
|
|
|
+ },
|
|
|
// { key: "goodsAllocationName", title: "货位名称", },
|
|
|
{ key: "isSendSrm", title: "是否同步SRM", type: "Checkbox", },
|
|
|
{ key: "isInvoice", title: "发票标识", type: "Input", },
|
|
@@ -93,25 +139,58 @@ const columns = [
|
|
|
{ key: "contacts", title: "收货联系人", type: "Input", },
|
|
|
{ key: "customerDept", title: "客户部门", type: "Input", },
|
|
|
// { key: "customerDeptName", title: "客户部门名称", },
|
|
|
- { key: "supplierContacts", title: "供应商业务联系人", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "supplierContacts",
|
|
|
+ title: "供应商业务联系人",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "" },
|
|
|
+ width: 200,
|
|
|
+ },
|
|
|
// { key: "supplierContactsName", title: "供应商业务联系人名称", },
|
|
|
{ key: "isUrgency", title: "紧急程度", type: "Input", },
|
|
|
- { key: "isSendWms", title: "已同步WMS", type: "Input", },
|
|
|
- { key: "agent", title: "代理人", type: "Input", },
|
|
|
+ { key: "isSendWms", title: "已同步WMS", type: "Checkbox", },
|
|
|
+ // { key: "agent", title: "代理人", type: "Input", }, // 建议删除
|
|
|
// { key: "agentName", title: "代理人名称", },
|
|
|
- { key: "isClose", title: "最终关闭", type: "Input", },
|
|
|
+ { key: "isClose", title: "最终关闭", type: "Checkbox", },
|
|
|
{ key: "closeTime", title: "最终关闭日期", type: "Input", },
|
|
|
{ key: "applyPaymentMoney", title: "累计付款申请金额", type: "Input", },
|
|
|
{ key: "paymentMoney", title: "累计付款金额", type: "Input", },
|
|
|
{ key: "invoiceMoney", title: "发票金额", type: "Input", },
|
|
|
- { key: "supplierPersonal", title: "供应商业务员", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "supplierPersonal",
|
|
|
+ title: "供应商业务员",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "" },
|
|
|
+ width: 200,
|
|
|
+ },
|
|
|
// { key: "supplierPersonalName", title: "供应商业务员名称", },
|
|
|
{ key: "isDeliver", title: "是否发货", type: "Input", },
|
|
|
- { key: "retReason", title: "退换原因", type: "Input", },
|
|
|
- { key: "processType", title: "处理方式", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "retReason",
|
|
|
+ title: "退换原因",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "" },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "processType",
|
|
|
+ title: "处理方式",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "" },
|
|
|
+ },
|
|
|
{ key: "isEnd", title: "整单关闭标识", type: "Input", },
|
|
|
- { key: "projectNow", title: "在建工程项目", type: "Input", },
|
|
|
- { key: "operatingItems", title: "经营性项目", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "projectNow",
|
|
|
+ title: "在建工程项目",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "" },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "operatingItems",
|
|
|
+ title: "经营性项目",
|
|
|
+ type: "Input",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "" },
|
|
|
+ },
|
|
|
{ key: "isArrivalReson", title: "到货超期原因", type: "Input", },
|
|
|
{ key: "midOrderNo", title: "中台采购订单号", type: "Input", },
|
|
|
{ key: "marketingCode", title: "销售订单号", type: "Input", },
|
|
@@ -143,8 +222,14 @@ const tabColumns = [
|
|
|
// { key: "id", title: "主键" },
|
|
|
{ key: "rowNo", title: "行号", type: "Input", },
|
|
|
{ key: "orderId", title: "采购订单ID", type: "Input", },
|
|
|
- { key: "material", title: "物料", type: "Input", },
|
|
|
- { key: "materialName", title: "物料名称", type: "Input", },
|
|
|
+ // { key: "material", title: "物料", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "materialName",
|
|
|
+ title: "物料名称",
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "" },
|
|
|
+ width: 200,
|
|
|
+ },
|
|
|
{ key: "materialCode", title: "物料编码", type: "Input", },
|
|
|
{ key: "materialClassify", title: "物料分类", type: "Input", },
|
|
|
{ key: "materialManufacturersCode", title: "厂家物料编码", type: "Input", },
|
|
@@ -168,7 +253,13 @@ const tabColumns = [
|
|
|
{ key: "isArrival", title: "到货关闭", type: "Input", },
|
|
|
{ key: "isPayment", title: "付款关闭", type: "Input", },
|
|
|
{ key: "isGift", title: "赠品", type: "Input", },
|
|
|
- { key: "warehouse", title: "收货仓库", type: "Input", },
|
|
|
+ {
|
|
|
+ key: "warehouse",
|
|
|
+ title: "收货仓库", //WMS入库仓库
|
|
|
+ type: "InputDialog",
|
|
|
+ config: { componentName: "Warehouse" },
|
|
|
+ width: 200,
|
|
|
+ },
|
|
|
{ key: "place", title: "收货地点", type: "Input", },
|
|
|
{ key: "address", title: "收货地址", type: "Input", },
|
|
|
{ key: "productBatch", title: "产品批号", type: "Input", },
|
|
@@ -219,13 +310,13 @@ const tabColumns = [
|
|
|
{ key: "orderId", title: "采购订单ID", type: "Input", },
|
|
|
{ key: "rowno", title: "行号", type: "Input", },
|
|
|
{ key: "material", title: "物料", type: "Input", },
|
|
|
- { key: "materialName", title: "物料名称", type: "Input", },
|
|
|
+ // { key: "materialName", title: "物料名称", type: "Input", },
|
|
|
{ key: "specification", title: "规格", type: "Input", },
|
|
|
{ key: "qty", title: "数量", type: "Input", },
|
|
|
{ key: "stroageQty", title: "累计到货主数量", type: "Input", },
|
|
|
{ key: "stockQty", title: "累计入库主数量", type: "Input", },
|
|
|
{ key: "invoiceQty", title: "累计开票主数量", type: "Input", },
|
|
|
- { key: "rollbackQty", title: "累计退货主数量", type: "Input", },
|
|
|
+ { key: "rollbackQty", title: "累计退货主数量", type: "Checkbox", },
|
|
|
{ key: "backStockQty", title: "累计退库主数量", type: "Input", },
|
|
|
{ key: "floatQty", title: "未到货数量", type: "Input", },
|
|
|
// { key: "tenantId", title: "租户号",type: "Input", },
|