Browse Source

Merge branch 'intex' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into intex

intex_online20241228
张立 2 months ago
parent
commit
a4cc8810a2
  1. 2
      src/components/TableForm/src/TableForm.vue
  2. 16
      src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts
  3. 16
      src/views/wms/basicDataManage/customerManage/saleprice/saleprice.data.ts
  4. 30
      src/views/wms/basicDataManage/itemManage/bom/bom.data.ts
  5. 1
      src/views/wms/basicDataManage/itemManage/itemSyntheticRelation/index.vue
  6. 16
      src/views/wms/basicDataManage/itemManage/itemSyntheticRelation/itemSyntheticRelation.data.ts
  7. 1
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  8. 15
      src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts
  9. 2
      src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts
  10. 1
      src/views/wms/basicDataManage/itemManage/itempackage/index.vue
  11. 6
      src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts
  12. 1
      src/views/wms/basicDataManage/itemManage/productionlineitem/index.vue
  13. 15
      src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts
  14. 1
      src/views/wms/basicDataManage/itemManage/stdcostprice/index.vue
  15. 15
      src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts
  16. 14
      src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue
  17. 293
      src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts
  18. 1
      src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts
  19. 1
      src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts
  20. 98
      src/views/wms/inventoryManage/balance/balance.data.ts
  21. 6
      src/views/wms/inventoryManage/balance/index.vue
  22. 10
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts
  23. 10
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue
  24. 37
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/inventorymoveRequestMain.data.ts
  25. 101
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts
  26. 561
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts
  27. 10
      src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/index.vue
  28. 19
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
  29. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts
  30. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts
  31. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMainWms/purchaseMain.data.ts
  32. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  33. 33
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts
  34. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts
  35. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue
  36. 37
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts
  37. 10
      src/views/wms/supplierManage/purchaseClaim/purchaseClaimRecord/PurchaseClaimRecordMain.data.ts
  38. 18
      src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/PurchaseClaimRequestMain.data.ts
  39. 1
      src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue
  40. 11
      src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/purchaseDiscreteOrderMain.data.ts
  41. 14
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
  42. 4
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  43. 32
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts
  44. 10
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts
  45. 10
      src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts

2
src/components/TableForm/src/TableForm.vue

@ -97,7 +97,7 @@
:type="headerItem?.tableForm?.inputType"
:placeholder="
t(
`ts.${headerItem?.tableForm?.placeholder || '请输入' + headerItem.label}`
`ts.${headerItem?.tableForm?.isPlaceholder === false ? '' :( headerItem?.tableForm?.placeholder || '请输入' + headerItem.label)}`
).replace('ts.', '')
"
:disabled="itemIsDisabled(headerItem, row)"

16
src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts

@ -88,6 +88,22 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
},
isSearch: true
},
{
label: '背番',
field: 'itemDesc1',
sort: 'custom',
isSearch: true,
isForm:false,
hiddenSearchHigh:true,
table: {
width: 150
},
form:{
componentProps:{
disabled: true,
}
}
},
{
label: '客户物料代码',
field: 'customerItemCode',

16
src/views/wms/basicDataManage/customerManage/saleprice/saleprice.data.ts

@ -88,6 +88,22 @@ export const Saleprice = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '背番',
field: 'itemDesc1',
sort: 'custom',
isSearch: true,
isForm:false,
hiddenSearchHigh:true,
table: {
width: 150
},
form:{
componentProps:{
disabled: true,
}
}
},
{
label: '货币',
field: 'currency',

30
src/views/wms/basicDataManage/itemManage/bom/bom.data.ts

@ -43,6 +43,21 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '父背番',
field: 'productBackNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
form:{
componentProps:{
disabled: true,
}
}
},
{
label: '子物料代码',
field: 'componentItemCode',
@ -72,6 +87,21 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '子背番',
field: 'componentBackNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
form:{
componentProps:{
disabled: true,
}
}
},
{
label: '子物料计量单位',
field: 'componentUom',

1
src/views/wms/basicDataManage/itemManage/itemSyntheticRelation/index.vue

@ -95,6 +95,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
} else {
setV[formField] = val[0][searchField]
}
setV['itemDesc1'] = val[0]['backNumber']//1
formRef.setValues(setV)
})
}

16
src/views/wms/basicDataManage/itemManage/itemSyntheticRelation/itemSyntheticRelation.data.ts

@ -77,6 +77,22 @@ export const ItemSyntheticRelation = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
isForm:false,
},
{
label: '背番',
field: 'itemDesc1',
sort: 'custom',
isSearch: false,
isForm:false,
hiddenSearchHigh:true,
table: {
width: 150
},
form:{
componentProps:{
disabled: true,
}
}
},
{
label: '生效时间',
field: 'effectiveDate',

1
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -178,6 +178,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
}else{
setV[formField] = setV[0][searchField]
}
setV['itemDesc1'] = val[0]['backNumber']//1
formRef.setValues(setV)
}
})

15
src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts

@ -50,6 +50,21 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '背番',
field: 'itemDesc1',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
form:{
componentProps:{
disabled: true,
}
}
},
{
label: '区域代码',
field: 'areaCode',

2
src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

@ -49,7 +49,7 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: false,
isSearch: true,
table: {
width: 150
},

1
src/views/wms/basicDataManage/itemManage/itempackage/index.vue

@ -359,6 +359,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
if('itemCode'==formField){
setV['itemName'] = val[0]['name']
setV['uom'] = val[0]['uom']
setV['backNumber'] = val[0]['backNumber']
}
if('packUnit'==formField){
setV['packType'] = val[0]['type']

6
src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts

@ -69,10 +69,16 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
label: '背番',
field: 'backNumber',
sort: 'custom',
hiddenSearchHigh:true,
isSearch: true,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
},
{
label: '计量单位',

1
src/views/wms/basicDataManage/itemManage/productionlineitem/index.vue

@ -257,6 +257,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
nextTick(() => {
const setV = {}
setV[formField] = val[0][searchField]
setV['itemDesc1'] = val[0]['backNumber']
formRef.setValues(setV)
})
}

15
src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

@ -151,6 +151,21 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '背番',
field: 'itemDesc1',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
form:{
componentProps:{
disabled: true,
}
}
},
{
label: '是否可用',
field: 'available',

1
src/views/wms/basicDataManage/itemManage/stdcostprice/index.vue

@ -245,6 +245,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
nextTick(() => {
const setV = {}
setV[formField] = val[0][searchField]
setV['itemDesc1'] = val[0]['backNumber']
formRef.setValues(setV)
})
}

15
src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts

@ -82,6 +82,21 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '背番',
field: 'itemDesc1',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
form:{
componentProps:{
disabled: true,
}
}
},
{
label: '货币',
field: 'currency',

14
src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue

@ -66,7 +66,7 @@ import * as BarbasicApi from '@/api/wms/barbasic'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as PackageApi from '@/api/wms/package'
import { formatTime } from '@/utils/index'
import * as Itempackaging from '@/api/wms/itempackage'
import * as itembasicApi from '@/api/wms/itembasic'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading'
@ -110,17 +110,21 @@ const searchTableSuccess = (formField, searchField, val, basicFormRef, type, row
setV['produceDate'] = ''
setV['expireDate'] = ''
setV['validityDays'] = val[0]['validityDays']
await Itempackaging.getItempackagingPage({
itemCode: val[0]['code']
await itembasicApi.getItembasicPage({
code: val[0]['code']
}).then(res => {
if (res) {
if (res.list.length > 0) {
setV['packQty'] = res.list[0].packQty
setV['packUnit'] = res.list[0].packUnit
setV['packQty'] = res.list[0].defaultPackQty
setV['packUnit'] = res.list[0].defaultPackUnit
}
}
})
}
if(formField == 'packUnit') {
setV['packUnit'] = val[0].packUnit
setV['packQty'] = val[0].packQty
}
basicFormRef.setValues(setV)
})
}

293
src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts

@ -1,23 +1,27 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter, dateFormatter2 } from '@/utils/formatTime'
import { Itembasic } from "@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data";
import * as ItembasicApi from "@/api/wms/itembasic";
import { Productionline } from "@/views/wms/basicDataManage/factoryModeling/productionline/productionline.data";
import * as ProductionlineApi from "@/api/wms/productionline";
import { Shift } from "@/views/wms/basicDataManage/orderManage/shift/shift.data";
import * as ShiftApi from "@/api/wms/shift";
import { Team } from "@/views/wms/basicDataManage/orderManage/team/team.data";
import * as TeamApi from "@/api/wms/team";
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data'
import * as ItembasicApi from '@/api/wms/itembasic'
import { Productionline } from '@/views/wms/basicDataManage/factoryModeling/productionline/productionline.data'
import * as ProductionlineApi from '@/api/wms/productionline'
import { Shift } from '@/views/wms/basicDataManage/orderManage/shift/shift.data'
import * as ShiftApi from '@/api/wms/shift'
import { Team } from '@/views/wms/basicDataManage/orderManage/team/team.data'
import * as TeamApi from '@/api/wms/team'
import * as ItempackagingApi from '@/api/wms/itempackage'
import { Itempackaging } from '@/views/wms/basicDataManage/itemManage/itempackage/itempackage.data'
// 表单校验
export const PackageRules = reactive({
number: [required],
itemCode: [required],
itemName: [required],
itemName: [required]
})
export const Package = useCrudSchemas(reactive<CrudSchema[]>([
export const Package = useCrudSchemas(
reactive<CrudSchema[]>([
{
label: '标签号',
field: 'number',
@ -43,6 +47,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
label: '标签模板',
field: 'template',
sort: 'custom',
isTable: false,
table: {
width: 180
}
@ -51,6 +56,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
label: '标签状态',
field: 'status',
sort: 'custom',
isTable: false,
isSearch: true,
dictType: DICT_TYPE.LABEL_STATUS,
dictClass: 'string',
@ -72,7 +78,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
field: 'barcodeString',
sort: 'custom',
table: {
width: 380,
width: 380
}
},
// {
@ -133,7 +139,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
search: {
value: 'TRUE',
value: 'TRUE'
},
form: {
component: 'Switch',
@ -164,7 +170,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
valueFormat: 'x'
}
}
},
@ -197,7 +203,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
valueFormat: 'x'
}
}
},
@ -220,16 +226,18 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'right'
}
}
]))
])
)
export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
export const PackageInventory = useCrudSchemas(
reactive<CrudSchema[]>([
{
label: '物料代码',
field: 'itemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150,
width: 150
},
form: {
// labelMessage: '信息提示说明!!!',
@ -241,23 +249,28 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
searchTitle: '物料信息',
searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
}, {
},
{
key: 'enableMake',
value: 'TRUE',
isMainValue: false
}],
verificationParams: [{
}
],
verificationParams: [
{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
@ -266,7 +279,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
field: 'itemName',
sort: 'custom',
table: {
width: 150,
width: 150
},
isForm: false
},
@ -275,7 +288,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150,
width: 150
},
isForm: false
},
@ -284,7 +297,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150,
width: 150
},
isForm: false
},
@ -294,8 +307,8 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
table: {
width: 150,
},
width: 150
}
},
// {
// label: '替代批次',
@ -316,7 +329,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
style: { width: '100%' },
valueFormat: 'YYYY-MM-DD',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')],
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
form: {
@ -325,12 +338,12 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
style: { width: '100%' },
type: 'date',
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
valueFormat: 'x'
}
},
table: {
width: 180,
},
width: 180
}
},
{
label: '有效期(日)',
@ -346,8 +359,8 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
value: 0
},
table: {
width: 150,
},
width: 150
}
},
{
label: '失效日期',
@ -375,8 +388,8 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 180,
},
width: 180
}
},
{
label: '计量单位',
@ -388,15 +401,15 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
component: 'Select'
},
table: {
width: 150,
},
width: 150
}
},
{
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150,
width: 150
},
form: {
component: 'InputNumber',
@ -405,7 +418,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6
},
value: 0
},
}
},
{
label: '替代计量单位',
@ -417,15 +430,15 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
component: 'Select'
},
table: {
width: 150,
},
width: 150
}
},
{
label: '替代数量',
field: 'altQty',
sort: 'custom',
table: {
width: 150,
width: 150
},
form: {
component: 'InputNumber',
@ -434,49 +447,102 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6
},
value: 0
},
}
},
{
label: '转换率',
field: 'convertRate',
sort: 'custom',
table: {
width: 150,
},
width: 150
}
},
{
label: '包装数量',
field: 'packQty',
label: '包装规格',
field: 'packUnit',
sort: 'custom',
isSearch: false,
table: {
width: 150,
},
form: {
componentProps:{
disabled: true
}
width: 120
},
isTable: false,
isTableForm: false,
isForm: true,
tableForm: {
disabled: true
}
enterSearch: true,
isInpuFocusShow: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装规格', // 输入框占位文本
searchField: 'packUnit', // 查询弹窗赋值字段
searchTitle: '物料包装信息', // 查询弹窗标题
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
searchPage: ItempackagingApi.getItempackagingPage, // 查询弹窗所需分页方法
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
label: '包装规格',
field: 'packUnit',
sort: 'custom',
// dictType: DICT_TYPE.PACK_UNIT,
// dictClass: 'string', // 默认都是字符串类型其他暂不考虑
table: {
width: 150,
key: 'itemCode',
value: 'itemCode',
message: '请先选择物料代码!',
isMainValue: true
}
],
verificationParams: [
{
key: 'packUnit',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true
}
] // 失去焦点校验参数
},
form: {
component: 'Select',
// labelMessage: '信息提示说明!!!',
componentProps: {
disabled: true
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装规格', // 输入框占位文本
searchField: 'packUnit', // 查询弹窗赋值字段
searchTitle: '物料包装信息', // 查询弹窗标题
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
searchPage: ItempackagingApi.getItempackagingPage, // 查询弹窗所需分页方法
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
key: 'itemCode',
value: 'itemCode',
message: '请先选择物料代码!', // 当前置条件为空时 弹出信息提示
isMainValue: true
}
],
verificationParams: [
{
key: 'packUnit',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
tableForm: {
disabled: true
{
label: '包装数量',
field: 'packQty',
sort: 'custom',
table: {
width: 150
}
},
// {
@ -516,7 +582,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
field: 'productionLineCodePackage',
sort: 'custom',
table: {
width: 150,
width: 150
},
form: {
// labelMessage: '信息提示说明!!!',
@ -528,19 +594,23 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
searchTitle: '生产线信息',
searchAllSchemas: Productionline.allSchemas,
searchPage: ProductionlineApi.getProductionlinePage,
searchCondition: [{
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
}],
verificationParams: [{
}
],
verificationParams: [
{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
@ -549,7 +619,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
field: 'teamCode',
sort: 'custom',
table: {
width: 150,
width: 150
},
form: {
// labelMessage: '信息提示说明!!!',
@ -561,19 +631,23 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
searchTitle: '生产线信息',
searchAllSchemas: Team.allSchemas,
searchPage: TeamApi.getTeamPage,
searchCondition: [{
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
}],
verificationParams: [{
}
],
verificationParams: [
{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
@ -582,7 +656,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
field: 'shiftCode',
sort: 'custom',
table: {
width: 150,
width: 150
},
form: {
// labelMessage: '信息提示说明!!!',
@ -594,19 +668,23 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
searchTitle: '生产线信息',
searchAllSchemas: Shift.allSchemas,
searchPage: ShiftApi.getShiftPage,
searchCondition: [{
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
}],
verificationParams: [{
}
],
verificationParams: [
{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
@ -619,38 +697,25 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'right'
}
}
]))
])
)
//表单校验
export const PackageRulesInventor = reactive({
itemCode: [
{ required: true, message: '请选择物料代码', trigger: 'change' }
],
batch: [
{ required: true, message: '请输入批次', trigger: 'blur' }
],
produceDate: [
{ required: true, message: '请选择生产日期', trigger: 'change' }
],
validityDays: [
{ required: true, message: '请输入有效期(日)', trigger: 'blur' }
],
expireDate: [
{ required: true, message: '请选择失效日期', trigger: 'change' }
],
uom: [
{ required: true, message: '请选择计量单位', trigger: 'change' }
],
qty: [
{ required: true, message: '请输入数量', trigger: 'blur' }
],
woNumber: [
{ required: true, message: '请选择生产订单号', trigger: 'change' }
],
woLine: [
{ required: true, message: '请选择生产订单行', trigger: 'change' }
itemCode: [{ required: true, message: '请选择物料代码', trigger: 'change' }],
batch: [{ required: true, message: '请输入批次', trigger: 'blur' }],
produceDate: [{ required: true, message: '请选择生产日期', trigger: 'change' }],
validityDays: [{ required: true, message: '请输入有效期(日)', trigger: 'blur' }],
expireDate: [{ required: true, message: '请选择失效日期', trigger: 'change' }],
uom: [{ required: true, message: '请选择计量单位', trigger: 'change' }],
qty: [{ required: true, message: '请输入数量', trigger: 'blur' }],
woNumber: [{ required: true, message: '请选择生产订单号', trigger: 'change' }],
woLine: [{ required: true, message: '请选择生产订单行', trigger: 'change' }],
productionLineCodePackage: [{ required: true, message: '请选择生产线代码', trigger: 'change' }],
packUnit: [
{ required: true, message: '请选择包装规格', trigger: ['change','blur'] }
],
productionLineCodePackage: [
{ required: true, message: '请选择生产线代码', trigger: 'change' }
packQty: [
{ required: true, message: '请输入包装数量', trigger: ['change','blur'] }
],
})

1
src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts

@ -91,6 +91,7 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
label: '背番',
field: 'backNumber',
sort: 'custom',
hiddenSearchHigh:true,
isSearch: true,
table: {
width: 150

1
src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

@ -110,6 +110,7 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isSearch:true,
hiddenSearchHigh:true,
tableForm:{
disabled:true,
}

98
src/views/wms/inventoryManage/balance/balance.data.ts

@ -7,6 +7,9 @@ import { Supplieritem } from '@/views/wms/basicDataManage/supplierManage/supplie
import * as ProductionlineitemApi from '@/api/wms/productionlineitem'
import { Productionlineitem } from '@/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data'
import { validatePositiveNumber } from "@/utils/validator";
import { Itempackaging } from '@/views/wms/basicDataManage/itemManage/itempackage/itempackage.data'
import * as ItemPackageApi from '@/api/wms/itempackage/index'
/**
* @returns {Array}
*/
@ -902,20 +905,107 @@ export const BalancePackage = useCrudSchemas(reactive<CrudSchema[]>([
min: 0
}
},
// {
// label: '包装规格',
// field: 'packUnit',
// sort: 'custom',
// tableForm: {
// disabled: true
// }
// },
// {
// label: '标包数量',
// field: 'packQty',
// sort: 'custom',
// tableForm: {
// disabled: true
// }
// },
{
label: '包装规格',
field: 'packUnit',
sort: 'custom',
isSearch: false,
table: {
width: 120
},
isTable: false,
isTableForm: true,
isForm: true,
tableForm: {
disabled: true
enterSearch: true,
isInpuFocusShow: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装规格', // 输入框占位文本
searchField: 'packUnit', // 查询弹窗赋值字段
searchTitle: '物料包装信息', // 查询弹窗标题
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
searchPage: ItemPackageApi.getItempackagingPage, // 查询弹窗所需分页方法
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
key: 'itemCode',
value: 'itemCode',
message: '请先选择物料代码!',
isMainValue: true
}
],
verificationParams: [
{
key: 'packUnit',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true
}
] // 失去焦点校验参数
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装规格', // 输入框占位文本
searchField: 'packUnit', // 查询弹窗赋值字段
searchTitle: '物料包装信息', // 查询弹窗标题
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
searchPage: ItemPackageApi.getItempackagingPage, // 查询弹窗所需分页方法
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
label: '标包数量',
key: 'itemCode',
value: 'itemCode',
message: '请先选择物料代码!', // 当前置条件为空时 弹出信息提示
isMainValue: true
}
],
verificationParams: [
{
key: 'packUnit',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
{
label: '包装数量',
field: 'packQty',
sort: 'custom',
tableForm: {
disabled: true
table: {
width: 150
}
},
{

6
src/views/wms/inventoryManage/balance/index.vue

@ -475,7 +475,11 @@ const getLabelDetailPage = async (row, useToPackingNumber) => {
const searchTableSuccessLabel = async (formField, searchField, val, formRef, type, row) => {
console.log('批量打印',val)
if (type == 'tableForm') {
row[formField] = val[0][searchField]
// row[formField] = val[0][searchField]
if (formField === 'packUnit') {
row['packUnit'] = val[0]['packUnit']
row['packQty'] = val[0]['packQty']
}
} else {
const setV = {}
setV[formField] = val[0][searchField]

10
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

@ -1706,7 +1706,6 @@ export const UnplannedreceiptRequestDetailLabel = useCrudSchemas(reactive<CrudSc
table: {
width: 150,
componentProps: {
disabled: true,
isSearchList: true,
searchListPlaceholder: '请选择包装',
searchField: 'packUnit',
@ -1731,7 +1730,6 @@ export const UnplannedreceiptRequestDetailLabel = useCrudSchemas(reactive<CrudSc
},
tableForm: {
enterSearch:true,
disabled: true,
isInpuFocusShow: true,
searchListPlaceholder: '请选择包装',
searchField: 'packUnit',
@ -1760,14 +1758,6 @@ export const UnplannedreceiptRequestDetailLabel = useCrudSchemas(reactive<CrudSc
table: {
width: 150
},
form: {
componentProps: {
disabled: true,
}
},
tableForm: {
disabled: true,
}
},
{
label: '标签生产线代码',

10
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue

@ -95,6 +95,7 @@ import * as LocationApi from '@/api/wms/location'
import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading'
import * as ruleApi from '@/api/wms/rule/index'
import { formatTime } from '@/utils/index'
const { loadStart, loadDone } = usePageLoading()
//
// 使
@ -327,6 +328,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['uom'] = item['uom']
newRow['qty'] = item['qty']
newRow['toInventoryStatus'] = item['inventoryStatus']//
newRow['toBatch'] = formatTime(new Date(), 'yyyyMMdd')
tableData.value.push(newRow)
})
}else if (formField == 'toLocationCode') {
@ -347,7 +349,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if (toManagementPrecision.value == 'BY_BATCH') {
if(row['fromBatch']==''){
row['fromBatchFormItemType'] = 'FormDate'
row['disabled_fromBatch'] = false
row['disabled_fromBatch'] = true
}
} else if (toManagementPrecision.value == 'BY_QUANTITY') {
@ -726,9 +728,9 @@ const submitForm = async (formType, submitData) => {
return
}
let batchList = tableData.value.filter(item=>item.fromBatchFormItemType&&item.fromBatchFormItemType == 'FormDate' && item.toManagementPrecision == 'BY_BATCH')
let noBatch = batchList.find(item => !item.fromBatch)
if(noBatch){
message.warning(`${noBatch.itemCode}没有填写批次,请填写`)
let noToBatch = batchList.find(item => !item.toBatch)
if(noToBatch){
message.warning(`${noToBatch.itemCode}没有填写批次,请填写`)
return
}
data.subList = tableData.value //

37
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/inventorymoveRequestMain.data.ts

@ -588,22 +588,27 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
},
},
// {
// label: '到批次',
// field: 'toBatch',
// sort: 'custom',
// table: {
// width: 150
// },
// isTableForm: true,
// isForm: false,
// tableForm: {
// disabled: true,
// placeholder: '请选择从批次',
// valueFormat: 'YYYYMMDD',
// format: 'YYYYMMDD',
// },
// },
{
label: '到批次',
field: 'toBatch',
sort: 'custom',
table: {
width: 150
},
tableForm: {
disabled: false,
type:'FormDate',
placeholder: '请选择到批次',
valueFormat: 'YYYYMMDD',
format: 'YYYYMMDD',
},
form: {
componentProps: {
disabled: false,
valueFormat: 'YYYYMMDD',
}
}
},
{
label: '从包装号',
field: 'fromPackingNumber',

101
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts

@ -1794,53 +1794,80 @@ export const ProductreceiptRequestLabel = useCrudSchemas(reactive<CrudSchema[]>(
label: '包装规格',
field: 'packUnit',
sort: 'custom',
isSearch: false,
table: {
width: 150,
componentProps: {
disabled: true,
isSearchList: true,
searchListPlaceholder: '请选择包装',
searchField: 'packUnit',
searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItemPackagingPageByItemCode,
searchCondition: [
{
key: 'itemCode',
value: 'itemCode',
message: '请选择订单行',
isMainValue: true
width: 120
},
isTable: false,
isTableForm: true,
isForm: true,
tableForm: {
enterSearch: true,
isInpuFocusShow: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装规格', // 输入框占位文本
searchField: 'packUnit', // 查询弹窗赋值字段
searchTitle: '物料包装信息', // 查询弹窗标题
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
searchPage: ItemPackageApi.getItempackagingPage, // 查询弹窗所需分页方法
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
}
]
}
},
tableForm: {
disabled: true,
isInpuFocusShow: true,
searchListPlaceholder: '请选择包装',
searchField: 'packUnit',
searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItemPackagingPageByItemCode,
searchCondition: [
{
key: 'itemCode',
value: 'itemCode',
message: '请选择订单行',
message: '请先选择物料代码!',
isMainValue: true
}
],
verificationParams: [
{
key: 'packUnit',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true
}
] // 失去焦点校验参数
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装规格', // 输入框占位文本
searchField: 'packUnit', // 查询弹窗赋值字段
searchTitle: '物料包装信息', // 查询弹窗标题
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
searchPage: ItemPackageApi.getItempackagingPage, // 查询弹窗所需分页方法
searchCondition: [
{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
},
{
key: 'itemCode',
value: 'itemCode',
message: '请先选择物料代码!', // 当前置条件为空时 弹出信息提示
isMainValue: true
}
],
verificationParams: [
{
key: 'packUnit',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
{
label: '包装数量',
@ -1848,14 +1875,6 @@ export const ProductreceiptRequestLabel = useCrudSchemas(reactive<CrudSchema[]>(
sort: 'custom',
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true,
}
},
{
@ -2159,5 +2178,11 @@ export const ProductreceiptRequestLabelRules = reactive({
batch: [
{ required: true, message: '请选择批次', trigger: ['change','blur'] }
],
packUnit: [
{ required: true, message: '请选择包装规格', trigger: ['change','blur'] }
],
packQty: [
{ required: true, message: '请输入包装数量', trigger: ['change','blur'] }
],
})

561
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts

File diff suppressed because it is too large

10
src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/index.vue

@ -253,16 +253,16 @@ const butttondata = (row,$index) => {
return []
}
return [
defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3']),hasPermi:'wms:purchase-barter-request-main:close'}), //
defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','8']),hasPermi:'wms:purchase-barter-request-main:close'}), //
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']),hasPermi:'wms:purchase-barter-request-main:reAdd'}), //
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-barter-request-main:submit'}), //
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:purchase-barter-request-main:refused'}), //
defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:purchase-barter-request-main:agree'}), //
defaultButtons.outBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:purchase-barter-request-main:out'}), //
defaultButtons.inBtn({hide:isShowMainButton(row,['11']),hasPermi:'wms:purchase-barter-request-main:in'}), //
defaultButtons.mainListSuspend1Btn({hide:isShowMainButton(row,['11']),hasPermi:'wms:purchase-barter-request-main:suspend'}), //
// defaultButtons.outBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:purchase-barter-request-main:out'}), //
// defaultButtons.inBtn({hide:isShowMainButton(row,['11']),hasPermi:'wms:purchase-barter-request-main:in'}), //
// defaultButtons.mainListSuspend1Btn({hide:isShowMainButton(row,['11']),hasPermi:'wms:purchase-barter-request-main:suspend'}), //
defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-barter-request-main:delete'}), //
defaultButtons.mainListDocumentPrintBtn({hide:isShowMainButton(row,['1','2','3','4','6','7','8','11'])})
defaultButtons.mainListDocumentPrintBtn({hide:isShowMainButton(row,['8'])})
]
}

19
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

@ -219,6 +219,16 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
},
{
label: '版本号',
field: 'version',
@ -556,6 +566,15 @@ export const DemandforecastingMainPlan = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: false,
table: {
width: 150
},
},
{
label: '计划日期',
field: 'dueDate',

10
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts

@ -109,6 +109,16 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
},
{
label: '版本号',
field: 'version',

1
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

@ -513,6 +513,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isSearch:true,
hiddenSearchHigh:true,
tableForm:{
disabled:true,
}

2
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMainWms/purchaseMain.data.ts

@ -508,7 +508,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '背番',
field: 'itemDesc1',
field: 'backNumber',
sort: 'custom',
table: {
width: 150

10
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -232,6 +232,16 @@ const { loadStart, loadDone } = usePageLoading()
setV['itemCode'] = val[0]['code']
setV['poNumber'] = val[0]['number']
setV['poLine'] = val[0]['lineNumber']
setV['receivedNumber'] = val[0]['receivedNumber']
console.log(PurchasePlanDetail.allSchemas.tableFormColumns);
PurchasePlanDetail.allSchemas.tableFormColumns.forEach(item =>{
if(item.value == ''){
if(item.field == 'receivedNumber'){
item.tableForm.placeholder = ''
}
}
})
if(formField == 'supplierCode'){
setV['supplierCode'] = val[0]['code']

33
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -653,6 +653,18 @@ export const PurchasePlanDetail = useCrudSchemas(
// }
// }
// },
{
label: '便次',
field: 'deliNo',
table: {
width: 150
},
sortTableDefault: 3,
isTableForm: false,
isForm: false,
isTable: true,
isDetail:false
},
{
label: '订单行',
field: 'poLine',
@ -772,15 +784,21 @@ export const PurchasePlanDetail = useCrudSchemas(
field: 'backNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
sortSearchDefault: 5,
sortTableDefault: 18,
isTableForm: false,
isForm: false,
isTable: true,
isDetail:false
sortSearchDefault: 10,
sortTableDefault: 19,
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
}
},
{
label: '物料状态',
@ -843,8 +861,9 @@ export const PurchasePlanDetail = useCrudSchemas(
}
},
tableForm: {
type: 'Select',
disabled: true
// type: 'Select',
disabled: true,
isPlaceholder:false
}
},
{

1
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts

@ -506,6 +506,7 @@ export const SupplierdeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
field: 'backNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},

1
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

@ -153,6 +153,7 @@
</template>
</el-table-column>
<el-table-column label="物料代码" width="150" prop="itemCode" align="center" />
<el-table-column label="背番" width="150" prop="backNumber" align="center" />
<el-table-column label="批次" width="150" prop="batch" align="center" />
<el-table-column label="库存数量" width="150" prop="balanceQty" align="center" />
<el-table-column label="库存计量单位" width="150" prop="uom" align="center">

37
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -932,9 +932,18 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
field: 'backNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
}
},
{
label: '物料描述1',
@ -1645,6 +1654,23 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch
disabled: true
}
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
}
},
{
label: '生产日期',
field: 'produceDate',
@ -1908,6 +1934,17 @@ export const SupplierdeliverRequestPackage = useCrudSchemas(reactive<CrudSchema[
disabled: true
}
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: true,
table: {
},
tableForm: {
disabled: true
}
},
{
label: '包装号',
field: 'number',

10
src/views/wms/supplierManage/purchaseClaim/purchaseClaimRecord/PurchaseClaimRecordMain.data.ts

@ -307,6 +307,16 @@ export const PurchaseClaimRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
type: 'Select'
},
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
},
{
label: '计量单位',
field: 'uom',

18
src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/PurchaseClaimRequestMain.data.ts

@ -293,6 +293,24 @@ export const PurchaseClaimRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
}
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
hiddenSearchHigh:true,
isSearch: true,
table: {
width: 150
},
tableForm: {
disabled:true
},
form: {
componentProps: {
disabled: true,
}
}
},
{
label: '计量单位',
field: 'uom',

1
src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue

@ -176,6 +176,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
tfk['itemCode'] = item['itemCode']
tfk['itemName'] = item['itemName']
tfk['uom'] = item['supplierUom']
tfk['backNumber'] = item['backNumber']
tableData.value.push(tfk)
})
}

11
src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/purchaseDiscreteOrderMain.data.ts

@ -1532,6 +1532,17 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150
},
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: false,
hiddenSearchHigh:true,
sortTableDefault:3,
table: {
width: 150
},
},
{
label: '物料描述',
field: 'itemDesc',

14
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts

@ -1578,6 +1578,20 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150
},
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: false,
hiddenSearchHigh:true,
table: {
width: 150
},
sortTableDefault:4,
isTableForm:false,
isDetail: false,
isTable: true,
},
{
label: '物料描述',
field: 'itemDesc',

4
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -606,6 +606,7 @@ const searchTableSuccess = (formField, searchField, val, searchFormRef, type, ro
newRow['deliveryDate'] = item['prhRcpDate']
newRow['arrivalQty'] = item['prhRcvd']
newRow['id'] = item['id']
newRow['backNumber'] = item['backNumber']
newRow['currency'] = item['currency']
}
tableData.value.push(newRow)
@ -1223,7 +1224,8 @@ const submitPurchasePass = async (id, submitData) => {
const formFinanceRef = ref()
const handleFinanceApp = async (row) => {
row.postingDate = dayjs().valueOf()
row.voucherNumberRemark = '收到' + row.supplierName + '发票' + row.goldenTaxInvoiceNumber
//
row.voucherNumberRemark = '收到' + row.supplierShortName + '发票' + row.goldenTaxInvoiceNumber
formFinanceRef.value.open('update', row, null, '财务通过', '财务通过')
}

32
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -126,6 +126,10 @@ export const PurchaseReceiptOrReturnRecordDetail = useCrudSchemas(reactive<CrudS
label: '物料代码',
field: 'itemCode'
},
{
label: '背番',
field: 'backNumber'
},
{
label: '创建时间',
field: 'createTime',
@ -1794,6 +1798,24 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
disabled: true
}
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
isSearch: true,
hiddenSearchHigh:true,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm:{
disabled: true
}
},
{
label: '物料描述',
field: 'itemDesc',
@ -2345,6 +2367,16 @@ export const ClaimDetails = useCrudSchemas(reactive<CrudSchema[]>([
disabled: true
}
},
{
label: '背番',
field: 'backNumber',
table: {
width: 150
},
tableForm: {
disabled: true
}
},
{
label: '索赔数量',
field: 'claimQty',

10
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts

@ -1717,6 +1717,16 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
disabled: true
}
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
hiddenSearchHigh:true,
isSearch: false,
table: {
width: 150
},
},
{
label: '物料描述',
field: 'itemDesc',

10
src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts

@ -212,6 +212,16 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '背番',
field: 'backNumber',
sort: 'custom',
hiddenSearchHigh:true,
isSearch: true,
table: {
width: 150
},
},
// {
// label: '计量单位',
// field: 'uom',

Loading…
Cancel
Save