Browse Source

修复开单bug

dev
qb 1 month ago
parent
commit
913ff26a54
  1. 26
      src/router/views/index.js
  2. 3
      src/views/distribution/inventory/CreateOrder.vue

26
src/router/views/index.js

@ -1095,20 +1095,20 @@ export default [
{ {
path: '/basicdata', path: '/basicdata',
component: Layout, component: Layout,
redirect: '/basicdata/TripartiteMaterial/list', // redirect: '/basicdata/TripartiteMaterial/list',
children: [ children: [
{ // {
path: '/basicdata/TripartiteMaterial/list', // path: '/basicdata/TripartiteMaterial/list',
name: '三方物料配置', // name: '三方物料配置',
meta: { // meta: {
i18n: 'dict', // i18n: 'dict',
}, // },
props: route => ({ // props: route => ({
name: route.query.name, // name: route.query.name,
id: route.query.id, // id: route.query.id,
}), // }),
component: () => import('@/views/basicdata/TripartiteMaterial/list.vue'), // component: () => import('@/views/basicdata/TripartiteMaterial/list.vue'),
}, // },
{ {
path: '/basicdata/TripartiteMaterial/detail', path: '/basicdata/TripartiteMaterial/detail',
name: '三方物料主体品类详情', name: '三方物料主体品类详情',

3
src/views/distribution/inventory/CreateOrder.vue

@ -2975,8 +2975,7 @@ const initPackageList = async () => {
details.package.renderData = handleFilterData(details.package.data, [], details.package.query); details.package.renderData = handleFilterData(details.package.data, [], details.package.query);
if (!_flag) return; if (_flag) ElMessage.warning('存在数据未维护结算品类,请维护品类信息');
ElMessage.warning('存在数据未维护结算品类,请维护品类信息');
handleSubmitPackage(); handleSubmitPackage();

Loading…
Cancel
Save