Browse Source

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

intex_online20241111
ljlong_2630 3 months ago
parent
commit
6011b8810f
  1. 2
      .env
  2. 46
      .env.wyf
  3. 6
      index.html
  4. 7
      src/api/wms/inventorymoveRequestDetail/index.ts
  5. BIN
      src/assets/imgs/login-bg.png
  6. BIN
      src/assets/imgs/logo1.png
  7. BIN
      src/assets/imgs/logo_white.png
  8. BIN
      src/assets/imgs/logo_white_blue.png
  9. BIN
      src/assets/imgs/logo_white_btn.png
  10. 2
      src/components/Detail/src/Detail.vue
  11. 6
      src/locales/en-US.ts
  12. 6
      src/locales/zh-CN.ts
  13. 2
      src/main.ts
  14. 2
      src/store/modules/permission.ts
  15. 4
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  16. 19
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
  17. 8
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue
  18. 15
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts
  19. 6
      src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/index.vue
  20. 136
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMainWms/purchaseMain.data.ts
  21. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  22. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts
  23. 20
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue
  24. 66
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

2
.env

@ -1,5 +1,5 @@
# 标题 # 标题
VITE_APP_TITLE=富维海拉智慧工厂管理平台 VITE_APP_TITLE=天津英泰智慧工厂管理平台
# 项目本地运行端口号 # 项目本地运行端口号
VITE_PORT=80 VITE_PORT=80

46
.env.wyf

@ -0,0 +1,46 @@
# 开发环境
NODE_ENV=development
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://192.168.1.35:12080'
# 上传路径
VITE_UPLOAD_URL='http://192.168.1.35:12080/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=/dev-api
# 接口地址
VITE_API_URL=/admin-api
# 打包路径
VITE_BASE_PATH=/
# 是否删除debugger
VITE_DROP_DEBUGGER=true
# 是否删除console.log
VITE_DROP_CONSOLE=false
# 是否sourcemap
VITE_SOURCEMAP=false
# 输出路径
VITE_OUT_DIR=dist
# 自定义接口路径
VITE_INTERFACE_URL='http://localhost:12080/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://localhost:12080'
# 租户配置
VITE_TENANT='["英泰"]'
# 查看质检报告环境
VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400'
# 是否需要验证码
VITE_NEED_CODE = false

6
index.html

@ -6,8 +6,8 @@
<link rel="icon" href="/src/assets/imgs/logo1.png" /> <link rel="icon" href="/src/assets/imgs/logo1.png" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="富维海拉智慧工厂管理平台" /> <meta name="keywords" content="天津英泰智慧工厂管理平台" />
<meta name="description" content="富维海拉智慧工厂管理平台" /> <meta name="description" content="天津英泰智慧工厂管理平台" />
<script src="/systemConfig.js"></script> <script src="/systemConfig.js"></script>
<title>%VITE_APP_TITLE%</title> <title>%VITE_APP_TITLE%</title>
</head> </head>
@ -44,7 +44,7 @@
} }
.app-loading .app-loading-logo { .app-loading .app-loading-logo {
width: 100px; width: 200px;
margin: 0 auto 15px auto; margin: 0 auto 15px auto;
} }

7
src/api/wms/inventorymoveRequestDetail/index.ts

@ -22,12 +22,13 @@ export interface InventorymoveRequestDetailVO {
itemDesc2: string itemDesc2: string
projectCode: string projectCode: string
qty: number qty: number
inventoryQty: number
uom: string uom: string
updateTime: Date updateTime: Date
updater: string updater: string
itemCode: string itemCode: string
} }
const message = useMessage() // 消息弹窗
// 查询库存转移申请子列表 // 查询库存转移申请子列表
export const getInventorymoveRequestDetailPage = async (params) => { export const getInventorymoveRequestDetailPage = async (params) => {
if (params.isSearch) { if (params.isSearch) {
@ -51,6 +52,10 @@ export const createInventorymoveRequestDetail = async (data: InventorymoveReques
// 修改库存转移申请子 // 修改库存转移申请子
export const updateInventorymoveRequestDetail = async (data: InventorymoveRequestDetailVO) => { export const updateInventorymoveRequestDetail = async (data: InventorymoveRequestDetailVO) => {
if(parseFloat(data.inventoryQty) < parseFloat(data.qty)){
message.warning("数量不能大于库存数量")
return
}
return await request.put({ url: `/wms/inventorymove-request-detail/update`, data }) return await request.put({ url: `/wms/inventorymove-request-detail/update`, data })
} }

BIN
src/assets/imgs/login-bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 KiB

After

Width:  |  Height:  |  Size: 2.5 MiB

BIN
src/assets/imgs/logo1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 39 KiB

BIN
src/assets/imgs/logo_white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 103 KiB

BIN
src/assets/imgs/logo_white_blue.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 31 KiB

BIN
src/assets/imgs/logo_white_btn.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 162 KiB

2
src/components/Detail/src/Detail.vue

@ -723,7 +723,7 @@ const masterParmas = ref({
// //
const HeadButttondata = ref() const HeadButttondata = ref()
const HeadButttondataBackups = ref()// const HeadButttondataBackups = ref([])//
// - // -
const buttondata = ref() const buttondata = ref()

6
src/locales/en-US.ts

@ -1121,7 +1121,7 @@ export default {
:'Check the quality inspection report', :'Check the quality inspection report',
:'ChangChun', :'ChangChun',
:'ChengDu', :'ChengDu',
:'FAWAY HELLA Smart Factory Management Platform', :'TIANJIN YINGTAI Smart Factory Management Platform',
:'Purchase unreceived record', :'Purchase unreceived record',
:'Please select the desired shipment tracking number', :'Please select the desired shipment tracking number',
:'Not more in size', :'Not more in size',
@ -1141,7 +1141,7 @@ export default {
// 基础设施:'infrastructure', // 基础设施:'infrastructure',
// 报表管理:'report manager', // 报表管理:'report manager',
// 报表:'statement', // 报表:'statement',
// 富维海拉供应商管理系统:'vendor management system', // 天津英泰供应商管理系统:'vendor management system',
:'Please enter your username', :'Please enter your username',
:'Please enter email', :'Please enter email',
:'Forget Password', :'Forget Password',
@ -1170,7 +1170,7 @@ export default {
:'Planner', :'Planner',
:'Min', :'Min',
:'Max', :'Max',
:'FAWAY HELLA Supplier System', :'TIANJIN YINGTAI Supplier System',
:'System Management', :'System Management',
:'Infrastructure Construction', :'Infrastructure Construction',
:'Report Management', :'Report Management',

6
src/locales/zh-CN.ts

@ -1127,7 +1127,7 @@ export default {
:'查看质检报告', :'查看质检报告',
:'长春', :'长春',
:'成都', :'成都',
:'富维海拉智慧工厂管理平台', :'天津英泰智慧工厂管理平台',
:'采购未收货记录', :'采购未收货记录',
:'请选择要货计划单号', :'请选择要货计划单号',
:'大小不超过', :'大小不超过',
@ -1147,7 +1147,7 @@ export default {
:'基础设施', :'基础设施',
:'报表管理', :'报表管理',
:'报表', :'报表',
:'富维海拉供应商管理系统', :'天津英泰供应商管理系统',
:'请输入用户名', :'请输入用户名',
:'请输入邮箱', :'请输入邮箱',
:'忘记密码', :'忘记密码',
@ -1176,7 +1176,7 @@ export default {
:'计划员', :'计划员',
:'最小值', :'最小值',
:'最大值', :'最大值',
:'富维海拉供应商系统', :'天津英泰供应商系统',
:'物料包装信息', :'物料包装信息',
:'仓库管理', :'仓库管理',
:'库区管理', :'库区管理',

2
src/main.ts

@ -78,7 +78,7 @@ const setupAll = async () => {
// 多语言相关 // 多语言相关
const localeStore = useLocaleStore() const localeStore = useLocaleStore()
if(localeStore&&localeStore.currentLocale&&localeStore.currentLocale.lang.indexOf('en')>-1&&document.querySelector('#app-loading-title')){ if(localeStore&&localeStore.currentLocale&&localeStore.currentLocale.lang.indexOf('en')>-1&&document.querySelector('#app-loading-title')){
document.querySelector('#app-loading-title').innerHTML = 'FAWAY HELLA Smart Factory Management Platform' // 富维海拉智慧工厂管理平台 document.querySelector('#app-loading-title').innerHTML = 'FAWAY HELLA Smart Factory Management Platform' // 天津英泰智慧工厂管理平台
} }
setupAll() setupAll()

2
src/store/modules/permission.ts

@ -41,7 +41,7 @@ export const usePermissionStore = defineStore('permission', {
if (wsCache.get(CACHE_KEY.ROLE_ROUTERS)) { if (wsCache.get(CACHE_KEY.ROLE_ROUTERS)) {
res = wsCache.get(CACHE_KEY.ROLE_ROUTERS) as AppCustomRouteRecordRaw[] res = wsCache.get(CACHE_KEY.ROLE_ROUTERS) as AppCustomRouteRecordRaw[]
// res.forEach(item=>{ // res.forEach(item=>{
// if(item.name == '富维海拉供应商系统'&&tenant){ // if(item.name == '天津英泰供应商系统'&&tenant){
// item.name = item.name + tenant['text'] // item.name = item.name + tenant['text']
// } // }
// }) // })

4
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue

@ -54,7 +54,7 @@
<BasicForm <BasicForm
ref="formRef" ref="formRef"
:isOpenSearchTable="true" :isOpenSearchTable="true"
fieldTableColumn="packingNumber" fieldTableColumn="batch"
@success="getList" @success="getList"
:rules="ScrapRequestMainRules" :rules="ScrapRequestMainRules"
:formAllSchemas="ScrapRequestMain.allSchemas" :formAllSchemas="ScrapRequestMain.allSchemas"
@ -179,7 +179,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
// tableData.value.push(newRow) // tableData.value.push(newRow)
// }) // })
// //
if (formField == 'packingNumber') { if (formField == 'batch') {
val = val.filter( val = val.filter(
(item) => (item) =>
!tableData.value.find( !tableData.value.find(

19
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -963,22 +963,11 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
tableForm: {
disabled: true
}
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
tableForm:{ tableForm:{
multiple:true, multiple:true,
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装号', searchListPlaceholder: '请选择批次',
searchField: 'packingNumber', searchField: 'batch',
searchTitle: '库存余额信息', searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas, searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceItemPage, searchPage: BalanceApi.getBalanceItemPage,
@ -1009,8 +998,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装号', searchListPlaceholder: '请选择批次',
searchField: 'packingNumber', searchField: 'batch',
searchTitle: '库存余额信息', searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas, searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceItemPage, searchPage: BalanceApi.getBalanceItemPage,

8
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue

@ -332,6 +332,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['fromContainerNumber'] = item['containerNumber'] newRow['fromContainerNumber'] = item['containerNumber']
newRow['itemCode'] = item['itemCode'] newRow['itemCode'] = item['itemCode']
newRow['fromBatch'] = item['batch'] newRow['fromBatch'] = item['batch']
newRow['inventoryQty'] = item['qty']
// //
await ruleApi.getManagementPrecision({ await ruleApi.getManagementPrecision({
@ -704,6 +705,13 @@ const submitForm = async (formType, submitData) => {
return return
} }
data.subList = tableData.value // data.subList = tableData.value //
const cmdExists = data.subList.some(filter =>
parseFloat(filter.inventoryQty) < parseFloat(filter.qty)
);
if(cmdExists){
message.warning("数量不能大于库存数量")
return
}
let isExist = false let isExist = false
tableData.value.forEach(item => { tableData.value.forEach(item => {
item['toLocationCode'] = toLocationCode item['toLocationCode'] = toLocationCode

15
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts

@ -1230,6 +1230,21 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
// isTableForm: false, // isTableForm: false,
// isForm: false, // isForm: false,
// }, // },
{
label: '库存数量 ',
field: 'inventoryQty',
sort: 'custom',
isSearch: false,
isTable: false,
tableForm: {
disabled: true
},
form:{
componentProps:{
disabled:true
}
}
},
{ {
label: '数量', label: '数量',
field: 'qty', field: 'qty',

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

@ -256,9 +256,9 @@ const butttondata = (row,$index) => {
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-barter-request-main:submit'}), // 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.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.mainListApproveBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:purchase-barter-request-main:agree'}), //
defaultButtons.outBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:unplannedreceipt-request-main:out'}), // defaultButtons.outBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:purchase-barter-request-main:out'}), //
defaultButtons.inBtn({hide:isShowMainButton(row,['11']),hasPermi:'wms:unplannedreceipt-request-main:in'}), // defaultButtons.inBtn({hide:isShowMainButton(row,['11']),hasPermi:'wms:purchase-barter-request-main:in'}), //
defaultButtons.mainListSuspend1Btn({hide:isShowMainButton(row,['11']),hasPermi:'wms:unplannedreceipt-request-main:suspend'}), // defaultButtons.mainListSuspend1Btn({hide:isShowMainButton(row,['11']),hasPermi:'wms:purchase-barter-request-main:suspend'}), //
// defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-barter-request-main:update'}), // // defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-barter-request-main:update'}), //
defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-barter-request-main:delete'}), // defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-barter-request-main:delete'}), //
] ]

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

@ -56,7 +56,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ {
label: '订单类型', label: '订单类型',
field: 'type', field: 'type',
dictType: DICT_TYPE.PURCHASE_ORDER_TYPE, dictType: DICT_TYPE.PURCHASE_ORDER_TYPE,
@ -69,19 +69,14 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物料类型', label: '行类型',
field: 'itemTypeList', field: 'poLineType',
dictType: DICT_TYPE.ITEM_TYPE, isTable: true,
dictClass: 'string',
isTable: false,
isForm: false,
isSearch: true, isSearch: true,
sort: 'custom', sort: 'custom',
search: { table: {
componentProps: { width: 150
multiple: true,//多选 },
}
}
}, },
{ {
label: '状态', label: '状态',
@ -291,7 +286,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
isTable:true, isTable:false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -554,6 +549,26 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6 precision: 6
}, },
}, },
{
label: '默认收货库区',
field: 'defaultAreaCode',
table: {
width: 150
},
isTableForm: false,
isForm: false,
isTable: true,
},
{
label: '库区描述',
field: 'areaDescription',
table: {
width: 150
},
isTableForm: false,
isForm: false,
isTable: true,
},
// { // {
// label: 'ERP库位', // label: 'ERP库位',
// field: 'erpLocationCode', // field: 'erpLocationCode',
@ -821,16 +836,6 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
min: 0 min: 0
} }
}, },
{
label: '创建者',
field: 'creator',
isTableForm: false,
table: {
width: 150
},
hiddenInMain:true,
isForm: false,
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -843,7 +848,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true, hiddenInMain:false,
isForm: false, isForm: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -856,48 +861,58 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '最后更新者', label: '创建者',
field: 'updater', field: 'creator',
isTableForm: false,
table: {
width: 150
},
hiddenInMain:true,
isForm: false,
// form: {
// component: 'DatePicker',
// componentProps: {
// style: {width:'100%'},
// type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x',
// }
// }
},
{
label: '最后更新时间',
field: 'updateTime',
isTableForm: false, isTableForm: false,
isTable: true,
hiddenInMain:true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:false,
isForm: false, isForm: false,
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
}, },
// {
// label: '最后更新时间',
// field: 'updateTime',
// isTableForm: false,
// isTable: true,
// hiddenInMain:false,
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// table: {
// width: 150
// },
// isForm: false,
// form: {
// component: 'DatePicker',
// componentProps: {
// style: {width:'100%'},
// type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x',
// }
// }
// },
// {
// label: '最后更新者',
// field: 'updater',
// isTableForm: false,
// table: {
// width: 150
// },
// hiddenInMain:false,
// isForm: false,
// // form: {
// // component: 'DatePicker',
// // componentProps: {
// // style: {width:'100%'},
// // type: 'datetime',
// // dateFormat: 'YYYY-MM-DD HH:mm:ss',
// // valueFormat: 'x',
// // }
// // }
// },
{ {
label: '备注', label: '备注',
hiddenInMain:true, hiddenInMain:true,
@ -912,6 +927,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'action', field: 'action',
isDetail: false, isDetail: false,
isForm: false , isForm: false ,
isTable: false ,
table: { table: {
width: 150, width: 150,
fixed: 'right' fixed: 'right'

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

@ -511,6 +511,11 @@ const getSearchTableData = async (number,formField,searchField)=>{
if(item.field == 'deliveryDate'){ if(item.field == 'deliveryDate'){
item.componentProps.disabled = false item.componentProps.disabled = false
} }
if (item.field == 'poNumber') {
item.componentProps.isSearchList = true
item.componentProps.disabled = false
item.componentProps.enterSearch = true
}
}) })
}else if('update'==type){ }else if('update'==type){
PurchasePlanMain.allSchemas.formSchema.forEach((item) => { PurchasePlanMain.allSchemas.formSchema.forEach((item) => {
@ -519,6 +524,11 @@ const getSearchTableData = async (number,formField,searchField)=>{
item.componentProps.disabled = true item.componentProps.disabled = true
item.componentProps.isSearchList = false item.componentProps.isSearchList = false
} }
if (item.field == 'poNumber') {
item.componentProps.isSearchList = false
item.componentProps.disabled = true
item.componentProps.enterSearch = false
}
// if(item.field == 'deliveryDate'){ // if(item.field == 'deliveryDate'){
// item.componentProps.disabled = true // item.componentProps.disabled = true
// } // }

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

@ -159,6 +159,7 @@ export const PurchasePlanMain = useCrudSchemas(
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
disabled:true,
enterSearch: true, enterSearch: true,
dialogWidth: '1085px', //搜索出来弹窗的宽度 dialogWidth: '1085px', //搜索出来弹窗的宽度
isSearchList: true, isSearchList: true,

20
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -537,16 +537,16 @@ const butttondata = (row, $index) => {
// hide: isShowMainButton(row, ['1', '2', '3']), // hide: isShowMainButton(row, ['1', '2', '3']),
// hasPermi: 'wms:supplierdeliver-request-main:uploadCheck' // hasPermi: 'wms:supplierdeliver-request-main:uploadCheck'
// }), // // }), //
{ // {
label: t('ts.上传履历表'), // label: t('ts.'),
name: 'mainPlanCurriculumVitae', // name: 'mainPlanCurriculumVitae',
hide: row.status==5, // hide: row.status==5,
type: 'primary', // type: 'primary',
icon: '', // icon: '',
color: '', // color: '',
hasPermi: '', // hasPermi: '',
link: true // // link: true //
}, // // }, //
defaultButtons.mainListPlanSubBtn({ defaultButtons.mainListPlanSubBtn({
hide: isShowMainButton(row, ['1']), hide: isShowMainButton(row, ['1']),
hasPermi: 'wms:supplierdeliver-request-main:sub' hasPermi: 'wms:supplierdeliver-request-main:sub'

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

@ -118,7 +118,6 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
disabled:true,
enterSearch:true, enterSearch:true,
dialogWidth:'1055px',//搜索出来弹窗的宽度 dialogWidth:'1055px',//搜索出来弹窗的宽度
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
@ -1702,39 +1701,38 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch
disabled:true disabled:true
} }
}, },
{ // {
label: '托规格', // label: '托规格',
field: 'secondPackUnit', // field: 'secondPackUnit',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
form: { // form: {
}, // },
tableForm: { // tableForm: {
type: 'Select', // type: 'Select',
labelField: 'packName', // labelField: 'packName',
valueField: 'packUnit', // valueField: 'packUnit',
initOptions: [{ // initOptions: [{
label: '', // label: '',
value: '' // value: ''
}] // }]
} // }
}, // },
{ // {
label: '托规格数量', // label: '托规格数量',
field: 'secondPackQty', // field: 'secondPackQty',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
componentProps: { // componentProps: {
} // }
}, // },
tableForm: { // tableForm: {
disabled:true // disabled:true
} // }
}, // },
{ {
label: '物料名称', label: '物料名称',
field: 'itemName', field: 'itemName',

Loading…
Cancel
Save