Browse Source

器具管理

master_hella_20240701
chenfang 6 months ago
parent
commit
61fe0b9491
  1. 11
      src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue
  2. 4
      src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue

11
src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue

@ -134,7 +134,7 @@ const { tableObject, tableMethods } = useTable({
businessType.value = 'MoveContainerManage'
importFileName.value = '器具转移申请'
} else if ( routeName.value == 'deliverContainerMainRequest') {
tableObject.params = {InitialContainerManage
tableObject.params = {
type: 'DELIVER',
}
// fromLocationCode.value = null
@ -278,6 +278,15 @@ const buttonBaseClick = (val, item) => {
}
}
//
const isShowMainButton = (row,val) => {
if (val.indexOf(row.status) > -1) {
return false
} else {
return true
}
}
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1

4
src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue

@ -113,7 +113,7 @@ const { tableObject, tableMethods } = useTable({
tableObject.params = {
type:'INITIAL'
}
businessType.value = 'InitialContainerManage'
businessType.value = 'InitialContainerManageRequest'
importFileName.value = '器具初始化申请'
}
@ -374,7 +374,7 @@ const submitForm = async (formType,data) => {
if (formType === 'create') {
data.businessType = businessType.value
console.log(data.businessType,999);
await ContainerMainRequestApi.createContainerMainRequest(data)
message.success(t('common.createSuccess'))
} else {

Loading…
Cancel
Save