|
@@ -163,7 +163,7 @@ export const Columns = [
|
|
|
{ key: "isMarketingSource", title: "由销售订单协同生成", inputType: "Checkbox", isShow:true,},
|
|
|
{
|
|
|
key: "warehouseName",
|
|
|
- title: "WMS入库仓库", // 收货仓库
|
|
|
+ title: "WMS入库仓库",
|
|
|
inputType: "PopoverSelect",
|
|
|
require: true,
|
|
|
valueKey: "id",
|
|
@@ -200,21 +200,44 @@ export const Columns = [
|
|
|
{ key: "rebateMoney", title: "订单使用返利金额", inputType: "Input",isShow:true, },
|
|
|
{ key: "deductionMoney", title: "订单抵扣余款金额", inputType: "Input",isShow:true, },
|
|
|
{
|
|
|
- key: "addressName",
|
|
|
+ key: "goodsWarehouseName",
|
|
|
+ title: "收货仓库",
|
|
|
+ inputType: "Input",
|
|
|
+ isShow:true,
|
|
|
+ disabled:true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "address",
|
|
|
title: "收货地址",
|
|
|
inputType: "PopoverSelect",
|
|
|
- valueKey: "id",
|
|
|
+ valueKey: "address",
|
|
|
referName: "ADDRESS_PARAM",
|
|
|
isShow:true,
|
|
|
dataMapping: {
|
|
|
- address: 'id',
|
|
|
- addressName: 'name',
|
|
|
+ // address: 'address',
|
|
|
+ // addressName: '',
|
|
|
+ goodsWarehouse:'id',
|
|
|
+ goodsWarehouseName:'name',
|
|
|
contacts:'contactsName',
|
|
|
+ contactsPhone:'contactsPhone'
|
|
|
},
|
|
|
queryParams: () => ({}),
|
|
|
width: 180
|
|
|
},
|
|
|
- { key: "contacts", title: "收货联系人", inputType: "Input",isShow:true, },
|
|
|
+ {
|
|
|
+ key: "contacts",
|
|
|
+ title: "收货联系人",
|
|
|
+ inputType: "Input",
|
|
|
+ isShow:true,
|
|
|
+ disabled:true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "contactsPhone",
|
|
|
+ title: "收货联系人电话",
|
|
|
+ inputType: "Input",
|
|
|
+ isShow:true,
|
|
|
+ disabled:true,
|
|
|
+ },
|
|
|
{
|
|
|
key: "customerDeptName",
|
|
|
title: "客户部门",
|
|
@@ -288,7 +311,7 @@ export const Columns = [
|
|
|
queryParams: (params) => ({
|
|
|
// 组织、供应商id
|
|
|
pkOrg: params.puOrg,
|
|
|
- supplier:params.supplier
|
|
|
+ supplierId:params.supplier
|
|
|
}),
|
|
|
require: true,
|
|
|
},
|
|
@@ -391,7 +414,7 @@ export const TabColumns = [
|
|
|
title: '物料信息',
|
|
|
key: 'puOrderItemList',
|
|
|
tableColumns: [
|
|
|
- { key: "rowNo", title: "行号", inputType: "Input", },
|
|
|
+ { key: "rowNo", title: "行号", inputType: "Input", disabled:true},
|
|
|
// { key: "orderId", title: "采购订单ID", inputType: "Input", width: 180 },
|
|
|
// {key: "material",title: "物料",inputType: "Input", },
|
|
|
{
|
|
@@ -464,7 +487,7 @@ export const TabColumns = [
|
|
|
{ //isMedicine isMedicineValue
|
|
|
key: "isMedcine",
|
|
|
title: "医药物料",
|
|
|
- inputType: "Input",
|
|
|
+ inputType: "Checkbox",
|
|
|
width: 180,
|
|
|
disabled:true,
|
|
|
readonly:true,
|
|
@@ -480,9 +503,9 @@ export const TabColumns = [
|
|
|
{
|
|
|
key: "isDrug",
|
|
|
title: "物料药品属性",
|
|
|
- inputType: "Input",
|
|
|
- width: 180
|
|
|
- },
|
|
|
+ inputType: "Checkbox",
|
|
|
+ disabled:true,
|
|
|
+ },
|
|
|
{ //unitId unitIdName
|
|
|
key: "unit",
|
|
|
title: "单位",
|
|
@@ -515,24 +538,40 @@ export const TabColumns = [
|
|
|
{ key: "isPayment", title: "付款关闭", inputType: "Checkbox", },
|
|
|
{ key: "isGift", title: "赠品", inputType: "Checkbox", },
|
|
|
{
|
|
|
- key: "warehouseName",
|
|
|
- title: "收货仓库", //WMS入库仓库
|
|
|
- inputType: "PopoverSelect",
|
|
|
- valueKey: "id",
|
|
|
- referName: "WAREHOUSE_PARAM",
|
|
|
- dataMapping: {
|
|
|
- warehouse: 'id',
|
|
|
- warehouseName: 'name'
|
|
|
- },
|
|
|
- queryParams: () => ({}),
|
|
|
+ key: "goodsWarehouseName",
|
|
|
+ title: "收货仓库",
|
|
|
+ inputType: "Input",
|
|
|
width: 200,
|
|
|
+ disabled:true,
|
|
|
},
|
|
|
- { key: "place", title: "收货地点", inputType: "Input", width: 180 },
|
|
|
+ // { key: "place", title: "收货地点", inputType: "Input", width: 180 },
|
|
|
{
|
|
|
key: "address",
|
|
|
title: "收货地址",
|
|
|
- inputType: "Input",
|
|
|
- width: 180
|
|
|
+ inputType: "PopoverSelect",
|
|
|
+ valueKey: "address",
|
|
|
+ referName: "ADDRESS_PARAM",
|
|
|
+ width: 180,
|
|
|
+ dataMapping:{
|
|
|
+ // address: 'address',
|
|
|
+ // addressName: '',
|
|
|
+ goodsWarehouse:'id',
|
|
|
+ goodsWarehouseName:'name',
|
|
|
+ contacts:'contactsName',
|
|
|
+ contactsPhone:'contactsPhone'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "customerName",
|
|
|
+ title: "收货客户",
|
|
|
+ inputType: "PopoverSelect",
|
|
|
+ valueKey: "id",
|
|
|
+ referName: "CUSTOMER_PARAM",
|
|
|
+ width: 180,
|
|
|
+ dataMapping:{
|
|
|
+ customer:'id',
|
|
|
+ customerName:'name',
|
|
|
+ },
|
|
|
},
|
|
|
{ key: "productBatch", title: "产品批号", inputType: "Input", width: 180 },
|
|
|
{ key: "manufactureDate", title: "生产日期", inputType: "Input", width: 180 },
|
|
@@ -643,7 +682,7 @@ export const TabColumns = [
|
|
|
key: 'puOrderExecuteList',
|
|
|
tableColumns: [
|
|
|
// { key: "orderId", title: "采购订单ID", inputType: "Input", width: 180 },
|
|
|
- { key: "rowno", title: "行号", inputType: "Input", },
|
|
|
+ { key: "rowno", title: "行号", inputType: "Input", disabled:true},
|
|
|
{
|
|
|
key: "materialName",
|
|
|
title: "物料",
|
|
@@ -667,7 +706,7 @@ export const TabColumns = [
|
|
|
materialClassifyOneName:'oneClass',
|
|
|
materialClassifyTwoName:'twoClass',
|
|
|
materialClassifyThreeName:'threeClass',
|
|
|
- materialClassifyFourName:'fourClass'
|
|
|
+ materialClassifyFourName:'fourClass',
|
|
|
},
|
|
|
queryParams: () => ({}),
|
|
|
width: 180
|