Browse Source

添加

hella_online_20240829
zhang_li 5 months ago
parent
commit
e29621fb82
  1. 3
      src/locales/en-US.ts
  2. 3
      src/locales/zh-CN.ts
  3. 10
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

3
src/locales/en-US.ts

@ -1138,7 +1138,8 @@ export default {
:'Batch release', :'Batch release',
'重新生成标签会删除上次生成的标签,是否确认继续?':'Regenerating labels will delete the last generated label. Are you sure you want to continue?', '重新生成标签会删除上次生成的标签,是否确认继续?':'Regenerating labels will delete the last generated label. Are you sure you want to continue?',
'确 认':'Confirm', '确 认':'Confirm',
:'Please enter the reason for rejection' :'Please enter the reason for rejection',
:'View details'
}, },

3
src/locales/zh-CN.ts

@ -1138,7 +1138,8 @@ export default {
:'批量发布', :'批量发布',
'重新生成标签会删除上次生成的标签,是否确认继续?':'重新生成标签会删除上次生成的标签,是否确认继续?', '重新生成标签会删除上次生成的标签,是否确认继续?':'重新生成标签会删除上次生成的标签,是否确认继续?',
'确 认':'确 认', '确 认':'确 认',
:'请输入拒收原因' :'请输入拒收原因',
:'查看明细'
}, },
} }

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

@ -429,6 +429,14 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea
defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['9']) ,hasPermi: 'wms:supplierinvoice-request-main:open'}), // defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['9']) ,hasPermi: 'wms:supplierinvoice-request-main:open'}), //
defaultButtons.mainListPlanSubBtn({ hide: isShowMainButton(row, ['1','6']),hasPermi: 'wms:supplierinvoice-request-main:sub' }), // defaultButtons.mainListPlanSubBtn({ hide: isShowMainButton(row, ['1','6']),hasPermi: 'wms:supplierinvoice-request-main:sub' }), //
{ {
label: t('ts.查看明细'),
name: 'open_detail',
type: 'primary',
icon: '',
color: '',
hasPermi: 'wms:supplierinvoice-request-main:view-detail',
link: true, //
},{
label: t('ts.采购通过'), label: t('ts.采购通过'),
name: 'purchase_mainPlanSub', name: 'purchase_mainPlanSub',
hide: !(!isShowMainButton(row, ['2']) && row.currentIsProcurementCreator==true), hide: !(!isShowMainButton(row, ['2']) && row.currentIsProcurementCreator==true),
@ -511,6 +519,8 @@ const handleImport = () => {
handleClo(row.id) handleClo(row.id)
} else if (val == 'mainPlanSub') { // } else if (val == 'mainPlanSub') { //
handleSub(row.id) handleSub(row.id)
} else if (val == 'open_detail') { //
openDetail(row, '单据号', row.number)
}else if (val == 'purchase_mainPlanSub') { // }else if (val == 'purchase_mainPlanSub') { //
handleApp(row.id) handleApp(row.id)
} else if (val == 'purchase_mainPlanTur') { // } else if (val == 'purchase_mainPlanTur') { //

Loading…
Cancel
Save