Browse Source

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

hella_online_20240829
songguoqiang 4 months ago
parent
commit
caa1f283b7
  1. 1
      src/locales/en-US.ts
  2. 1
      src/locales/zh-CN.ts
  3. 1
      src/views/wms/basicDataManage/documentSetting/switch/index.vue
  4. 10
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/sparepartsrequisitionRequestMain.data.ts
  5. 1
      src/views/wms/productionManage/productionplan/productionMain/index.vue
  6. 14
      src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue
  7. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue
  8. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue
  9. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

1
src/locales/en-US.ts

@ -726,6 +726,7 @@ export default {
:'Code from the shipper', :'Code from the shipper',
:'Shipper code', :'Shipper code',
:'See other packaging formats', :'See other packaging formats',
:'See sub packaging formats',
:'Packing specifications', :'Packing specifications',
:'Document printing', :'Document printing',
:'Itemized list', :'Itemized list',

1
src/locales/zh-CN.ts

@ -726,6 +726,7 @@ export default {
:'从货主代码', :'从货主代码',
:'到货主代码', :'到货主代码',
:'查看其他包装规格', :'查看其他包装规格',
:'查看子包装',
:'包装规格', :'包装规格',
:'单据打印', :'单据打印',
:'明细列表', :'明细列表',

1
src/views/wms/basicDataManage/documentSetting/switch/index.vue

@ -134,7 +134,6 @@ const butttondata = (row, $index)=>{
const hiddenArray = ['CreatePutawayRequestAfterInspectRecordCreated', const hiddenArray = ['CreatePutawayRequestAfterInspectRecordCreated',
'CreateBackflushRecordAfterProductreceiptRecordCreated', 'CreateBackflushRecordAfterProductreceiptRecordCreated',
'CreateProductputawayRequestAfterProductreceiptRecordCreated', 'CreateProductputawayRequestAfterProductreceiptRecordCreated',
'ExecuteProductreceiptJobPredictIsCreatePutawayRequest',
'CreatePurchasePlanAfterDiscretePurchaseOrderPublished', 'CreatePurchasePlanAfterDiscretePurchaseOrderPublished',
'ExemptItemCreatePutawayRequestAfterPurchaseReceiptRecordCreated', 'ExemptItemCreatePutawayRequestAfterPurchaseReceiptRecordCreated',
'CreatePurchaseReceiptRequestAfterSupplierDeliverRecordCreated' 'CreatePurchaseReceiptRequestAfterSupplierDeliverRecordCreated'

10
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/sparepartsrequisitionRequestMain.data.ts

@ -688,8 +688,16 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTableForm: false, isTableForm: true,
isForm: false, isForm: false,
tableForm: {
disabled: true
},
form:{
componentProps:{
disabled:true,
}
}
}, },
{ {
label: '包装号', label: '包装号',

1
src/views/wms/productionManage/productionplan/productionMain/index.vue

@ -465,7 +465,6 @@ const getSwitch = async ()=>{
const autoCreatePlanRequest = async (row)=>{ const autoCreatePlanRequest = async (row)=>{
// //
try { try {
if(planSwitch.value) { if(planSwitch.value) {
// /generatePreparetoissue?number // /generatePreparetoissue?number
let PreparetoissueRes = await ProductionMainApi.generatePreparetoissue(row.number) let PreparetoissueRes = await ProductionMainApi.generatePreparetoissue(row.number)

14
src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue

@ -331,6 +331,8 @@ const buttonTableClick = async (val, row) => {
console.log(err) console.log(err)
}) })
} else if (val == 'mainPlanSub') { // } else if (val == 'mainPlanSub') { //
//
await getSwitch()
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】') if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
await message.confirm('确认要提交审批吗?') await message.confirm('确认要提交审批吗?')
tableObject.loading = true tableObject.loading = true
@ -384,6 +386,8 @@ const buttonTableClick = async (val, row) => {
}) })
// //
tableObject.loading = true tableObject.loading = true
//
await getSwitch()
autoCreatePlanRequest(row) autoCreatePlanRequest(row)
} }
}) })
@ -541,10 +545,12 @@ const tableSelectionDelete = (selection) => {
// //
const submitForm = async (formType, submitData) => { const submitForm = async (formType, submitData) => {
let data = {...submitData} //
if(data.masterId){ getSwitch()
data.id = data.masterId let data = {...submitData}
} if(data.masterId){
data.id = data.masterId
}
if(tableData.value.find(item => (item.planQty <= 0))) { if(tableData.value.find(item => (item.planQty <= 0))) {
message.warning('数量必须大于0') message.warning('数量必须大于0')
return return

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

@ -331,7 +331,7 @@ const openDetail = (row: any, titleName: any, titleValue: any) => {
// table // table
const buttondataTable = ref([{ const buttondataTable = ref([{
label: '查看其他包装规格', label: '查看子包装',
name: 'viewParentPickingNumber', name: 'viewParentPickingNumber',
hide: false, hide: false,
type: 'primary', type: 'primary',

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue

@ -261,7 +261,7 @@ const openDetail = (row: any, titleName: any, titleValue: any) => {
// table // table
const buttondataTable = ref([{ const buttondataTable = ref([{
label: t('ts.查看其他包装规格'), label: t('ts.查看子包装'),
name: 'viewParentPickingNumber', name: 'viewParentPickingNumber',
hide: false, hide: false,
type: 'primary', type: 'primary',

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

@ -610,7 +610,7 @@ const openDetail = (row: any, titleName: any, titleValue: any) => {
// table // table
const buttondataTable = ref([{ const buttondataTable = ref([{
label: '查看其他包装规格', label: '查看子包装',
name: 'viewParentPickingNumber', name: 'viewParentPickingNumber',
hide: false, hide: false,
type: 'primary', type: 'primary',

Loading…
Cancel
Save