|
@ -6,11 +6,13 @@ const { t } = useI18n() // 国际化 |
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
import * as ItembasicApi from '@/api/wms/itembasic' |
|
|
import * as ItembasicApi from '@/api/wms/itembasic' |
|
|
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
import { PurchasePlanMain } from '../purchasePlanMain/purchasePlanMain.data' |
|
|
// import { PurchasePlanMain } from '../purchasePlanMain/purchasePlanMain.data'
|
|
|
import * as PurchasePlanMainApi from '@/api/wms/purchasePlanMain' |
|
|
import * as PurchasePlanMainApi from '@/api/wms/purchasePlanMain' |
|
|
|
|
|
import * as PurchasePlanDetailApi from '@/api/wms/purchasePlanDetail' |
|
|
import * as PurchaseMainApi from '@/api/wms/purchaseMain' |
|
|
import * as PurchaseMainApi from '@/api/wms/purchaseMain' |
|
|
import * as PurchaseDetailApi from '@/api/wms/purchaseDetail' |
|
|
import * as PurchaseDetailApi from '@/api/wms/purchaseDetail' |
|
|
import { PurchaseDetail, PurchaseMain } from '../purchaseMain/purchaseMain.data' |
|
|
import { PurchaseDetail, PurchaseMain } from '../purchaseMain/purchaseMain.data' |
|
|
|
|
|
import { PurchasePlanDetail, PurchasePlanMain } from '../purchasePlanMain/purchasePlanMain.data' |
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
const queryParams = { |
|
|
const queryParams = { |
|
@ -509,22 +511,6 @@ export const SupplierdeliverRequestMainRules = reactive({ |
|
|
* @returns {Array} 供应商发货申请子表 |
|
|
* @returns {Array} 供应商发货申请子表 |
|
|
*/ |
|
|
*/ |
|
|
export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
// {
|
|
|
|
|
|
// label: '包装号',
|
|
|
|
|
|
// field: 'packingNumber',
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 150
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
|
|
|
// {
|
|
|
|
|
|
// label: '器具号',
|
|
|
|
|
|
// field: 'containerNumber',
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 150
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '批次', |
|
|
label: '批次', |
|
|
field: 'batch', |
|
|
field: 'batch', |
|
@ -634,20 +620,27 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
isSearchList: true, |
|
|
isSearchList: true, |
|
|
searchListPlaceholder: '请选择订单号', |
|
|
searchListPlaceholder: '请选择订单号', |
|
|
searchField: 'number', |
|
|
searchField: 'number', |
|
|
searchTitle: '采购订单信息', |
|
|
searchTitle: '要货计划信息', |
|
|
searchAllSchemas: PurchaseMain.allSchemas, |
|
|
searchAllSchemas: PurchasePlanDetail.allSchemas, |
|
|
searchPage: PurchaseMainApi.getPurchaseMainPage |
|
|
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
isInpuFocusShow: true, |
|
|
isInpuFocusShow: true, |
|
|
searchListPlaceholder: '请选择订单号', |
|
|
searchListPlaceholder: '请选择订单号', |
|
|
searchField: 'number', |
|
|
searchField: 'number', |
|
|
searchTitle: '采购订单信息', |
|
|
searchTitle: '要货计划信息', |
|
|
searchAllSchemas: PurchaseMain.allSchemas, |
|
|
searchAllSchemas: PurchasePlanDetail.allSchemas, |
|
|
searchPage: PurchaseMainApi.getPurchaseMainPage |
|
|
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, |
|
|
|
|
|
searchCondition: [ |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'number', |
|
|
|
|
|
value: 'ppNumber', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '订单行', |
|
|
label: '订单行', |
|
|
field: 'poLine', |
|
|
field: 'poLine', |
|
@ -656,23 +649,12 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, |
|
|
disabled: true |
|
|
searchListPlaceholder: '请选择订单行', |
|
|
|
|
|
searchField: 'lineNumber', |
|
|
|
|
|
searchTitle: '采购订单信息', |
|
|
|
|
|
searchAllSchemas: PurchaseDetail.allSchemas, |
|
|
|
|
|
searchPage: PurchaseDetailApi.getPurchaseDetailPage |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
isInpuFocusShow: true, |
|
|
disabled: true |
|
|
searchListPlaceholder: '请选择订单行', |
|
|
|
|
|
searchField: 'lineNumber', |
|
|
|
|
|
searchTitle: '采购订单信息', |
|
|
|
|
|
searchAllSchemas: PurchaseDetail.allSchemas, |
|
|
|
|
|
searchPage: PurchaseDetailApi.getPurchaseDetailPage |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -785,6 +767,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '物品代码', |
|
|
label: '物品代码', |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
@ -793,25 +776,15 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, |
|
|
disabled: true |
|
|
searchListPlaceholder: '请选择物品代码', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '物品基础信息', |
|
|
|
|
|
searchAllSchemas: Itembasic.allSchemas, |
|
|
|
|
|
searchPage: ItembasicApi.getItembasicPage |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
isInpuFocusShow: true, |
|
|
disabled: true |
|
|
searchListPlaceholder: '请选择物品代码', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '物品基础信息', |
|
|
|
|
|
searchAllSchemas: Itembasic.allSchemas, |
|
|
|
|
|
searchPage: ItembasicApi.getItembasicPage |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
|
field: 'remark', |
|
|
field: 'remark', |
|
@ -893,15 +866,21 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
{ |
|
|
{ |
|
|
label: '计量单位', |
|
|
label: '计量单位', |
|
|
field: 'uom', |
|
|
field: 'uom', |
|
|
|
|
|
sort: 'custom', |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'Select' |
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -986,7 +965,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
isDetail: false, |
|
|
isDetail: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150, |
|
|
width: 180, |
|
|
fixed: 'right' |
|
|
fixed: 'right' |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|