Browse Source

变更记录参数修改

hella_online_20240829
TengXF 3 months ago
parent
commit
022e903299
  1. 4
      src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/index.vue
  2. 4
      src/views/wms/basicDataManage/documentSetting/businesstype/index.vue
  3. 26
      src/views/wms/basicDataManage/documentSetting/documentsetting/index.vue
  4. 24
      src/views/wms/basicDataManage/documentSetting/jobsetting/index.vue
  5. 28
      src/views/wms/basicDataManage/documentSetting/plansetting/index.vue
  6. 28
      src/views/wms/basicDataManage/documentSetting/recordsetting/index.vue
  7. 28
      src/views/wms/basicDataManage/documentSetting/requestsetting/index.vue
  8. 26
      src/views/wms/basicDataManage/documentSetting/switch/index.vue
  9. 28
      src/views/wms/basicDataManage/documentSetting/transactiontype/index.vue
  10. 28
      src/views/wms/basicDataManage/factoryModeling/dock/index.vue
  11. 24
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  12. 6
      src/views/wms/basicDataManage/itemManage/itempackage/index.vue
  13. 22
      src/views/wms/basicDataManage/itemManage/relegate/relegateRecord/index.vue
  14. 30
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue
  15. 2
      src/views/wms/basicDataManage/labelManage/barbasic/index.vue
  16. 30
      src/views/wms/basicDataManage/labelManage/barcode/index.vue
  17. 6
      src/views/wms/basicDataManage/labelManage/callmaterials/index.vue
  18. 6
      src/views/wms/basicDataManage/labelManage/labeltype/index.vue
  19. 26
      src/views/wms/basicDataManage/strategySetting/configuration/index.vue
  20. 4
      src/views/wms/basicDataManage/strategySetting/configurationsetting/index.vue
  21. 26
      src/views/wms/basicDataManage/strategySetting/paramsetting/index.vue
  22. 4
      src/views/wms/basicDataManage/strategySetting/rule/index.vue
  23. 10
      src/views/wms/deliversettlementManage/saleShipmentMainRecord/index.vue
  24. 2
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue
  25. 2
      src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue
  26. 2
      src/views/wms/deliversettlementManage/stockup/stockupMainRecord/index.vue
  27. 16
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue
  28. 2
      src/views/wms/inventoryManage/containerinit/containerBindRecord/index.vue
  29. 2
      src/views/wms/inventoryManage/containerinit/containerRepair/index.vue
  30. 2
      src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue
  31. 2
      src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue
  32. 2
      src/views/wms/inventoryManage/containerinit/containerinitrecord/index.vue
  33. 8
      src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue
  34. 2
      src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue
  35. 12
      src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue
  36. 4
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverJobMain/index.vue
  37. 2
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRetrospect/index.vue
  38. 20
      src/views/wms/productionManage/processproduction/processproductionRequest/index.vue
  39. 2
      src/views/wms/productionManage/productionplan/qadproductionplan/index.vue
  40. 14
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue
  41. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/index.vue
  42. 2
      src/views/wms/supplierManage/supplierApbalance/supplierApbalanceDetail/index.vue
  43. 4
      src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue
  44. 4
      src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue

4
src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/index.vue

@ -165,7 +165,7 @@ const formsSuccess = async (formType,data) => {
}
if(data.activeTime==0)data.activeTime = null;
if(data.expireTime==0)data.expireTime = null;
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
@ -186,7 +186,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicCustomerDeliveryForecast')
detailRef.value.openDetail(row, titleName, titleValue, 'customerDeliveryForecast')
}
/** 删除按钮操作 */

4
src/views/wms/basicDataManage/documentSetting/businesstype/index.vue

@ -338,7 +338,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicBusinesstype')
detailRef.value.openDetail(row, titleName, titleValue, 'documentBusinesstype')
}
/** 删除按钮操作 */
@ -399,7 +399,7 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async () => {
await getList()
importTemplateData.templateUrl = await BusinesstypeApi.importTemplate()
})
</script>

26
src/views/wms/basicDataManage/documentSetting/documentsetting/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Documentsetting.allSchemas"
@ -39,11 +39,11 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="DocumentsettingRules"
:formAllSchemas="Documentsetting.allSchemas"
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="DocumentsettingRules"
:formAllSchemas="Documentsetting.allSchemas"
:apiUpdate="DocumentsettingApi.updateDocumentsetting"
:apiCreate="DocumentsettingApi.createDocumentsetting"
:isBusiness="false"
@ -62,7 +62,7 @@ import * as DocumentsettingApi from '@/api/wms/documentsetting'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Documentsetting, DocumentsettingRules } from './documentsetting.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -106,7 +106,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -123,7 +123,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -134,7 +134,7 @@ const butttondata = [
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:documentsetting:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await DocumentsettingApi.getItempackaging(row.id)
@ -182,7 +182,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicDocumentsetting')
detailRef.value.openDetail(row, titleName, titleValue, 'documentDocumentsetting')
}
/** 删除按钮操作 */
@ -245,4 +245,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await DocumentsettingApi.importTemplate()
})
</script>
</script>

24
src/views/wms/basicDataManage/documentSetting/jobsetting/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Jobsetting.allSchemas"
@ -39,9 +39,9 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="JobsettingRules"
:formAllSchemas="Jobsetting.allSchemas"
:apiUpdate="JobsettingApi.updateJobsetting"
@ -62,7 +62,7 @@ import * as JobsettingApi from '@/api/wms/jobsetting'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Jobsetting, JobsettingRules } from './jobsetting.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -82,7 +82,7 @@ const updataTableColumns = (val) => {
}
const { tableObject, tableMethods } = useTable({
getListApi: JobsettingApi.getJobsettingPage //
getListApi: JobsettingApi.getJobsettingPage //
})
//
@ -106,7 +106,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -123,7 +123,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -134,7 +134,7 @@ const butttondata = [
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:jobsetting:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await JobsettingApi.getItempackaging(row.id)
@ -182,7 +182,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicJobsetting')
detailRef.value.openDetail(row, titleName, titleValue, 'documentJobsetting')
}
/** 删除按钮操作 */
@ -245,4 +245,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await JobsettingApi.importTemplate()
})
</script>
</script>

28
src/views/wms/basicDataManage/documentSetting/plansetting/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Plansetting.allSchemas"
@ -39,11 +39,11 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="PlansettingRules"
:formAllSchemas="Plansetting.allSchemas"
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="PlansettingRules"
:formAllSchemas="Plansetting.allSchemas"
:apiUpdate="PlansettingApi.updatePlansetting"
:apiCreate="PlansettingApi.createPlansetting"
:isBusiness="false"
@ -62,7 +62,7 @@ import * as PlansettingApi from '@/api/wms/plansetting'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Plansetting, PlansettingRules } from './plansetting.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -106,7 +106,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -123,7 +123,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -134,7 +134,7 @@ const butttondata = [
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:plansetting:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
openForm('update', row)
@ -162,7 +162,7 @@ const formsSuccess = async (formType,data) => {
}
if(data.activeTime==0)data.activeTime = null;
if(data.expireTime==0)data.expireTime = null;
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
@ -183,7 +183,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicPlansetting')
detailRef.value.openDetail(row, titleName, titleValue, 'documentPlansetting')
}
/** 删除按钮操作 */
@ -246,4 +246,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await PlansettingApi.importTemplate()
})
</script>
</script>

28
src/views/wms/basicDataManage/documentSetting/recordsetting/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Recordsetting.allSchemas"
@ -39,11 +39,11 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="RecordsettingRules"
:formAllSchemas="Recordsetting.allSchemas"
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="RecordsettingRules"
:formAllSchemas="Recordsetting.allSchemas"
:apiUpdate="RecordsettingApi.updateRecordsetting"
:apiCreate="RecordsettingApi.createRecordsetting"
:isBusiness="false"
@ -62,7 +62,7 @@ import * as RecordsettingApi from '@/api/wms/recordsetting'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Recordsetting, RecordsettingRules } from './recordsetting.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -106,7 +106,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -123,7 +123,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -134,7 +134,7 @@ const butttondata = [
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:recordsetting:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await RecordsettingApi.getItempackaging(row.id)
@ -163,7 +163,7 @@ const formsSuccess = async (formType,data) => {
}
if(data.activeTime==0)data.activeTime = null;
if(data.expireTime==0)data.expireTime = null;
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
@ -183,7 +183,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicRecordsetting')
detailRef.value.openDetail(row, titleName, titleValue, 'documentRecordsetting')
}
/** 删除按钮操作 */
@ -246,4 +246,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await RecordsettingApi.importTemplate()
})
</script>
</script>

28
src/views/wms/basicDataManage/documentSetting/requestsetting/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Requestsetting.allSchemas"
@ -39,11 +39,11 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="RequestsettingRules"
:formAllSchemas="Requestsetting.allSchemas"
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="RequestsettingRules"
:formAllSchemas="Requestsetting.allSchemas"
:apiUpdate="RequestsettingApi.updateRequestsetting"
:apiCreate="RequestsettingApi.createRequestsetting"
:isBusiness="false"
@ -62,7 +62,7 @@ import * as RequestsettingApi from '@/api/wms/requestsetting'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Requestsetting, RequestsettingRules } from './requestsetting.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -106,7 +106,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -123,7 +123,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -134,7 +134,7 @@ const butttondata = [
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:requestsetting:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await RequestsettingApi.getItempackaging(row.id)
@ -163,7 +163,7 @@ const formsSuccess = async (formType,data) => {
}
if(data.activeTime==0)data.activeTime = null;
if(data.expireTime==0)data.expireTime = null;
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
@ -183,7 +183,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicRequestsetting')
detailRef.value.openDetail(row, titleName, titleValue, 'documentRequestsetting')
}
/** 删除按钮操作 */
@ -246,4 +246,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await RequestsettingApi.importTemplate()
})
</script>
</script>

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

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Switch.allSchemas"
@ -39,10 +39,10 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
<BasicForm
ref="basicFormRef"
@success="success"
:rules="SwitchRules"
:rules="SwitchRules"
:formAllSchemas="Switch.allSchemas"
:apiUpdate="SwitchApi.updateSwitch"
:apiCreate="SwitchApi.createSwitch"
@ -62,7 +62,7 @@ import * as SwitchApi from '@/api/wms/switch'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Switch, SwitchRules } from './switch.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -106,7 +106,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -123,14 +123,14 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
// -
const butttondata = (row, $index)=>{
const butttondata = (row, $index)=>{
const hiddenArray = ['CreatePutawayRequestAfterInspectRecordCreated',
'CreateBackflushRecordAfterProductreceiptRecordCreated',
'CreateProductputawayRequestAfterProductreceiptRecordCreated',
@ -144,7 +144,7 @@ const butttondata = (row, $index)=>{
]
}
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await SwitchApi.getItempackaging(row.id)
@ -163,7 +163,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSwitch')
detailRef.value.openDetail(row, titleName, titleValue, 'documentSwitch')
}
/** 删除按钮操作 */
@ -235,7 +235,7 @@ const success = async (formType, data) => {
basicFormRef.value.dialogVisible = false
}
}
/** 初始化 **/
@ -243,4 +243,4 @@ onMounted(async() => {
getList()
// importTemplateData.templateUrl = await SwitchApi.importTemplate()
})
</script>
</script>

28
src/views/wms/basicDataManage/documentSetting/transactiontype/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Transactiontype.allSchemas"
@ -39,11 +39,11 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="TransactiontypeRules"
:formAllSchemas="Transactiontype.allSchemas"
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="TransactiontypeRules"
:formAllSchemas="Transactiontype.allSchemas"
:apiUpdate="TransactiontypeApi.updateTransactiontype"
:apiCreate="TransactiontypeApi.createTransactiontype"
:isBusiness="false"
@ -62,7 +62,7 @@ import * as TransactiontypeApi from '@/api/wms/transactiontype'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Transactiontype, TransactiontypeRules } from './transactiontype.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -106,7 +106,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -123,7 +123,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -134,7 +134,7 @@ const butttondata = [
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:transactiontype:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await TransactiontypeApi.getItempackaging(row.id)
@ -163,7 +163,7 @@ const formsSuccess = async (formType,data) => {
}
if(data.activeTime==0)data.activeTime = null;
if(data.expireTime==0)data.expireTime = null;
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
@ -184,7 +184,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicTransactiontype')
detailRef.value.openDetail(row, titleName, titleValue, 'documentTransactiontype')
}
/** 删除按钮操作 */
@ -247,4 +247,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await TransactiontypeApi.importTemplate()
})
</script>
</script>

28
src/views/wms/basicDataManage/factoryModeling/dock/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Dock.allSchemas"
@ -39,10 +39,10 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="DockRules"
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="DockRules"
:formAllSchemas="Dock.allSchemas"
:apiUpdate="DockApi.updateDock"
:apiCreate="DockApi.createDock"
@ -65,7 +65,7 @@ import * as DockApi from '@/api/wms/dock'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Dock, DockRules } from './dock.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import * as LocationApi from '@/api/wms/location'
@ -111,7 +111,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -139,7 +139,7 @@ const butttondata = [
defaultButtons.mainListDeleteBtn({hasPermi:'wms:dock:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await DockApi.getItempackaging(row.id)
@ -157,14 +157,14 @@ const openForm = (type: string, row?: any) => {
if (item.field == 'code') {
item.componentProps.disabled = true
}
})
})
}else {
Dock.allSchemas.formSchema.forEach((item) => {
if (item.field == 'code') {
item.componentProps.disabled = false
}
})
})
}
basicFormRef.value.open(type, row)
}
@ -201,7 +201,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'baiscDock')
detailRef.value.openDetail(row, titleName, titleValue, 'basicDock')
}
// form

24
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -31,7 +31,7 @@
<el-button type="primary" link @click="openDetail(row, '物料号', row.itemCode)">
<span>{{ row.itemCode }}</span>
</el-button>
</template>
<template #action="{ row }">
<ButtonBase :Butttondata="butttondata(row)" @button-base-click="buttonTableClick($event,row)" />
@ -84,7 +84,7 @@
/>
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/itemarea/import" :importTemplateData="importTemplateData"
<ImportForm ref="importFormRef" url="/wms/itemarea/import" :importTemplateData="importTemplateData"
@success="importSuccess" :coverIsDisable="true" :mode="2" />
</template>
@ -98,7 +98,7 @@ import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
  import TableHead from '@/components/TableHead/src/TableHead.vue'
  import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
  import Detail from '@/components/Detail/src/Detail.vue'
 
 
//
defineOptions({ name: 'Itemarea' })
@ -128,7 +128,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if(formField == 'locationCode') {
if(tableData.value.find(item1=>item1['locationCode'] == item['code'])) return
newRow['locationCode'] = item['code']
}else{
}else{
newRow[formField] = item[searchField]
}
newRow['id'] = item['id']
@ -137,16 +137,16 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
} else {
row[formField] = val[0][searchField]
}
}else{
const setV = {}
const setV = {}
if(formField == 'areaCode') {
console.log(val[0]);
setV['areaCode'] = val[0]['code']
setV['areaType'] = val[0]['type']
setV['manageMode'] = val[0]['manageMode']
}else if(formField == 'inPackUnit') {
setV['inPackUnit'] = val[0]['packUnit']
}else if(formField == 'outPackUnit') {
@ -157,7 +157,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV['overflowLocationCode'] = val[0]['code']
}else if(formField == 'repleinshFromArea') {
setV['repleinshFromArea'] = val[0]['code']
}else{
}else{
setV[formField] = setV[0][searchField]
}
formRef.setValues(setV)
@ -259,7 +259,7 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
if (val == 'edit') { //
openForm('update', row)
} else if (val == 'delete') { //
handleDelete(row.id)
@ -287,7 +287,7 @@ const openForm =async (type: string, row?: number) => {
if (item.field == 'itemCode') {
item.componentProps.isSearchList = true
}
})
})
}
tableData.value = [] //
formRef.value.open(type, row)
@ -295,7 +295,7 @@ const openForm =async (type: string, row?: number) => {
/**
* 详情 编辑页面打开
* @param row
* @param row
*/
const detailOpenForm = (type) => {
@ -309,7 +309,7 @@ const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
row.status = "1";
detailRef.value.openDetail(row, titleName, titleValue,'itemarea')
detailRef.value.openDetail(row, titleName, titleValue,'basicItemarea')
}
/** 删除按钮操作 */

6
src/views/wms/basicDataManage/itemManage/itempackage/index.vue

@ -204,7 +204,7 @@ const openForm = (type: string, row?: any) => {
if (item.field == 'packType') {
item.componentProps.disabled = true
}
})
})
}
basicFormRef.value.open(type, row)
}
@ -220,7 +220,7 @@ const formsSuccess = async (formType, data) => {
}
if (data.activeTime == 0) data.activeTime = null
if (data.expireTime == 0) data.expireTime = null
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
@ -290,7 +290,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicItempackaging')
detailRef.value.openDetail(row, titleName, titleValue, 'basicItempackage')
}
/** 删除按钮操作 */

22
src/views/wms/basicDataManage/itemManage/relegate/relegateRecord/index.vue

@ -42,33 +42,33 @@
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
:isOpenSearchTable="true"
:isOpenSearchTable="true"
@success="getList"
:rules="RelegateRecordMainRules"
:formAllSchemas="RelegateRecordMain.allSchemas"
:tableAllSchemas="RelegateRecordDetail.allSchemas"
:tableAllSchemas="RelegateRecordDetail.allSchemas"
:tableFormRules="RelegateRecordDetailRules"
:apiUpdate="RelegateRecordMainApi.updateRelegateRecordMain"
:apiCreate="RelegateRecordMainApi.createRelegateRecordMain"
:isBusiness="true"
:isBusiness="true"
fromeWhere="RelegateRecordMain"
@submitForm="submitForm"
@searchTableSuccess="searchTableSuccess"
/>
<!-- 详情 -->
<Detail
ref="detailRef"
:isBasic="false"
:allSchemas="RelegateRecordMain.allSchemas"
:detailAllSchemas="RelegateRecordDetail.allSchemas"
<Detail
ref="detailRef"
:isBasic="false"
:allSchemas="RelegateRecordMain.allSchemas"
:detailAllSchemas="RelegateRecordDetail.allSchemas"
:detailAllSchemasRules="RelegateRecordDetailRules"
:apiCreate="RelegateRecordDetailApi.createRelegateRecordDetail"
:apiUpdate="RelegateRecordDetailApi.updateRelegateRecordDetail"
:apiPage="RelegateRecordDetailApi.getRelegateRecordDetailPage"
:apiDelete="RelegateRecordDetailApi.deleteRelegateRecordDetail"
:apiDelete="RelegateRecordDetailApi.deleteRelegateRecordDetail"
fromeWhere="RelegateRecordMain"
@searchTableSuccessDetail="searchTableSuccessDetail"
@searchTableSuccessDetail="searchTableSuccessDetail"
:detailButtonIsShowAdd="true"
:detailButtonIsShowDelete="true" />
</template>
@ -199,7 +199,7 @@ const submitForm = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicRelegateRecordMain')
detailRef.value.openDetail(row, titleName, titleValue, 'recordRelegateMain')
}
/** 删除按钮操作 */

30
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue

@ -30,17 +30,17 @@
<!-- 表单弹窗添加/修改 -->
<BasicForm ref="basicFormRef"
:isOpenSearchTable="true"
fieldTableColumn="itemCode"
fieldTableColumn="itemCode"
@success="getList"
:rules="RelegateRequestMainRules"
:rules="RelegateRequestMainRules"
:formAllSchemas="RelegateRequestMain.allSchemas"
:tableAllSchemas="RelegateRequestDetail.allSchemas"
:tableAllSchemas="RelegateRequestDetail.allSchemas"
:tableFormRules="RelegateRequestDetailRules"
:tableData="tableData"
:tableData="tableData"
:apiUpdate="RelegateRequestMainApi.updateRelegateRequestMain"
:apiCreate="RelegateRequestMainApi.createRelegateRequestMain"
:apiCreate="RelegateRequestMainApi.createRelegateRequestMain"
:isBusiness="true" fromeWhere="RelegateRequestMain"
@handleAddTable="handleAddTable"
@handleAddTable="handleAddTable"
@handleDeleteTable="handleDeleteTable"
:isShowReduceButtonSelection="true"
@searchTableSuccess="searchTableSuccess"
@ -48,17 +48,17 @@
:isShowButton=isShowButton />
<!-- 详情 -->
<Detail ref="detailRef"
:isBasic="false"
<Detail ref="detailRef"
:isBasic="false"
:allSchemas="RelegateRequestMain.allSchemas"
:detailAllSchemas="RelegateRequestDetail.allSchemas"
:detailAllSchemas="RelegateRequestDetail.allSchemas"
:detailAllSchemasRules="RelegateRequestDetailRules"
:apiCreate="RelegateRequestDetailApi.createRelegateRequestDetail"
:apiUpdate="RelegateRequestDetailApi.updateRelegateRequestDetail"
:apiPage="RelegateRequestDetailApi.getRelegateRequestDetailPage"
:apiDelete="RelegateRequestDetailApi.deleteRelegateRequestDetail"
:apiDelete="RelegateRequestDetailApi.deleteRelegateRequestDetail"
fromeWhere="RelegateRequestMain"
@searchTableSuccessDetail="searchTableSuccessDetail"
@searchTableSuccessDetail="searchTableSuccessDetail"
:detailButtonIsShowAdd="true"
:detailButtonIsShowDelete="true" />
@ -216,7 +216,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
}
console.log(res)
})
} else if (formField == 'downItemCode') {
// if(row['itemCode'] == val[0]['spareItemCode']){
// row['downItemCode'] = val[0]['productionItemCode'] //
@ -518,7 +518,7 @@ const buttonTableClick = async (val, row) => {
formLabelRef.value.open('create', row)
detatableData.tableList.map((item) => {
console.log(item);
// item.batch = '000000'
// 线
ItembasicApi.getItembasicPage({
@ -594,7 +594,7 @@ const openForm = (type: string, row?: any) => {
item.componentProps.disabled = false
item.componentProps.isSearchList = true
}
})
})
}
}
//true0
@ -640,7 +640,7 @@ const submitForm = async (formType, data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicRelegateRequestMain')
detailRef.value.openDetail(row, titleName, titleValue, 'requestRelegateMain')
}
const BASE_URL = getJmreportBaseUrl()
//

2
src/views/wms/basicDataManage/labelManage/barbasic/index.vue

@ -172,7 +172,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicBarbasic')
detailRef.value.openDetail(row, titleName, titleValue, 'labelBarbasic')
}
/** 删除按钮操作 */

30
src/views/wms/basicDataManage/labelManage/barcode/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Barcode.allSchemas"
@ -39,10 +39,10 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="BarcodeRules"
<BasicForm
ref="basicFormRef"
@success="formsSuccess"
:rules="BarcodeRules"
:formAllSchemas="Barcode.allSchemas"
:apiUpdate="BarcodeApi.updateBarcode"
:apiCreate="BarcodeApi.createBarcode"
@ -62,7 +62,7 @@ import * as BarcodeApi from '@/api/wms/barcode'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Barcode, BarcodeRules } from './barcode.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -108,7 +108,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -136,7 +136,7 @@ const butttondata = [
defaultButtons.mainListDeleteBtn({hasPermi:'wms:barcode:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await BarcodeApi.getItempackaging(row.id)
@ -154,20 +154,20 @@ const openForm = (type: string, row?: any) => {
if (item.field == 'code') {
item.componentProps.disabled = true
}
})
})
}else {
Barcode.allSchemas.formSchema.forEach((item) => {
if (item.field == 'code') {
item.componentProps.disabled = false
}
})
})
}
basicFormRef.value.open(type, row)
}
// form
const formsSuccess = async (formType,data) => {
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
@ -187,7 +187,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicBarcode')
detailRef.value.openDetail(row, titleName, titleValue, 'labelBarcode')
}
/** 删除按钮操作 */
@ -251,4 +251,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await BarcodeApi.importTemplate()
})
</script>
</script>

6
src/views/wms/basicDataManage/labelManage/callmaterials/index.vue

@ -114,7 +114,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
nextTick(() => {
console.log('searchTableSuccess',formField, searchField, val)
const setV = {}
if (formField == 'itemCode') {
setV['itemCode'] = val[0]['code']
@ -247,7 +247,7 @@ const formsSuccess = async (formType,data) => {
} finally {
basicFormRef.value.formLoading = false
}
basicFormRef.value.dialogVisible = false
getList()
}
@ -255,7 +255,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicCallmaterials')
detailRef.value.openDetail(row, titleName, titleValue, 'labelCallmaterials')
}
/** 删除按钮操作 */

6
src/views/wms/basicDataManage/labelManage/labeltype/index.vue

@ -157,13 +157,13 @@ const openForm = (type: string, row?: any) => {
if (item.field == 'labelCode') {
item.componentProps.disabled = true
}
})
})
}else {
Labeltype.allSchemas.formSchema.forEach((item) => {
if (item.field == 'labelCode') {
item.componentProps.disabled = false
}
})
})
}
basicFormRef.value.open(type, row)
}
@ -198,7 +198,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicLabeltype')
detailRef.value.openDetail(row, titleName, titleValue, 'labelLabeltype')
}
/** 删除按钮操作 */

26
src/views/wms/basicDataManage/strategySetting/configuration/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Configuration.allSchemas"
@ -39,11 +39,11 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="ConfigurationRules"
:formAllSchemas="Configuration.allSchemas"
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="ConfigurationRules"
:formAllSchemas="Configuration.allSchemas"
:apiUpdate="ConfigurationApi.updateConfiguration"
:apiCreate="ConfigurationApi.createConfiguration"
:isBusiness="false"
@ -62,7 +62,7 @@ import * as ConfigurationApi from '@/api/wms/configuration'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Configuration, ConfigurationRules } from './configuration.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -106,7 +106,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -123,7 +123,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -134,7 +134,7 @@ const butttondata = [
defaultButtons.mainListDeleteBtn({hasPermi:'wms:configuration:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await ConfigurationApi.getItempackaging(row.id)
@ -153,7 +153,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicConfiguration')
detailRef.value.openDetail(row, titleName, titleValue, 'strategyConfiguration')
}
/** 删除按钮操作 */
@ -216,4 +216,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await ConfigurationApi.importTemplate()
})
</script>
</script>

4
src/views/wms/basicDataManage/strategySetting/configurationsetting/index.vue

@ -183,7 +183,7 @@ const formsSuccess = async (formType, data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicConfigurationsetting')
detailRef.value.openDetail(row, titleName, titleValue, 'strategyConfigurationsetting')
}
/** 删除按钮操作 */
@ -249,4 +249,4 @@ onMounted(async () => {
getList()
importTemplateData.templateUrl = await ConfigurationsettingApi.importTemplate()
})
</script>
</script>

26
src/views/wms/basicDataManage/strategySetting/paramsetting/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Paramsetting.allSchemas"
@ -39,11 +39,11 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="ParamsettingRules"
:formAllSchemas="Paramsetting.allSchemas"
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="ParamsettingRules"
:formAllSchemas="Paramsetting.allSchemas"
:apiUpdate="ParamsettingApi.updateParamsetting"
:apiCreate="ParamsettingApi.createParamsetting"
:isBusiness="false"
@ -62,7 +62,7 @@ import * as ParamsettingApi from '@/api/wms/paramsetting'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Paramsetting, ParamsettingRules } from './paramsetting.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
@ -107,7 +107,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -124,7 +124,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -135,7 +135,7 @@ const butttondata = [
defaultButtons.mainListDeleteBtn({hasPermi:'wms:paramsetting:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await ParamsettingApi.getItempackaging(row.id)
@ -154,7 +154,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicParamsetting')
detailRef.value.openDetail(row, titleName, titleValue, 'strategyParamsetting')
}
/** 删除按钮操作 */
@ -220,4 +220,4 @@ onMounted(async() => {
getList()
importTemplateData.templateUrl = await ParamsettingApi.importTemplate()
})
</script>
</script>

4
src/views/wms/basicDataManage/strategySetting/rule/index.vue

@ -182,7 +182,7 @@ const formsSuccess = async (formType, data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicRule')
detailRef.value.openDetail(row, titleName, titleValue, 'strategyRule')
}
/** 删除按钮操作 */
@ -244,4 +244,4 @@ const searchFormClick = (searchData) => {
onMounted(async () => {
getList()
})
</script>
</script>

10
src/views/wms/deliversettlementManage/saleShipmentMainRecord/index.vue

@ -52,10 +52,10 @@
/>
<!-- 详情 -->
<Detail
ref="detailRef"
:isBasic="true"
:allSchemas="SaleShipmentMainRecord.allSchemas"
<Detail
ref="detailRef"
:isBasic="true"
:allSchemas="SaleShipmentMainRecord.allSchemas"
:detailAllSchemas="SaleShipmentDetailRecord.allSchemas"
:detailAllSchemasRules="SaleShipmentDetailRecordRules"
:apiPage="SaleShipmentDetailRecordApi.getSaleShipmentDetailRecordPage"
@ -171,7 +171,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSaleShipmentMainRecord')
detailRef.value.openDetail(row, titleName, titleValue, 'recordSaleShipmentMain')
}
/** 删除按钮操作 */

2
src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue

@ -418,7 +418,7 @@ const tableSelectionDelete = (selection) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSaleShipmentMain')
detailRef.value.openDetail(row, titleName, titleValue, 'requestSaleShipmentMain')
}
/** 删除按钮操作 */

2
src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue

@ -218,7 +218,7 @@ const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'stockupMainJob')
detailRef.value.openDetail(row, titleName, titleValue,'jobStockupMain')
}
const handleHandle = async (data) => {

2
src/views/wms/deliversettlementManage/stockup/stockupMainRecord/index.vue

@ -145,7 +145,7 @@ const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'stockupMainRecord')
detailRef.value.openDetail(row, titleName, titleValue,'recordStockupMain')
}
/** 导出按钮操作 */

16
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue

@ -32,7 +32,7 @@
<el-button type="primary" link @click="openDetail(row, '单据号', row.number)">
<span>{{ row.number }}</span>
</el-button>
</template>
<template #action="{ row,$index }">
<ButtonBase :Butttondata="butttondata(row,$index)" @button-base-click="buttonTableClick($event,row)" />
@ -80,7 +80,7 @@
/>
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/stockup-main-request/import" :importTemplateData="importTemplateData"
<ImportForm ref="importFormRef" url="/wms/stockup-main-request/import" :importTemplateData="importTemplateData"
@success="importSuccess" :updateIsDisable="true" :coverIsDisable="true" :mode="2" />
</template>
@ -121,7 +121,7 @@ const updataTableColumns = (val) => {
const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => {
nextTick(() => {
const setV = {}
setV[formField] = val[0][searchField]
setV[formField] = val[0][searchField]
if (type == 'tableForm') {
// if(formField == 'itemCode') {
// row['itemCode'] = val[0]['code']
@ -151,7 +151,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
}
} else {
const setV = {}
setV[formField] = val[0][searchField]
setV[formField] = val[0][searchField]
if(formField == 'deliverPlanNumber') {
setV['deliverPlanNumber'] = val[0]['number']
if(setV['deliverPlanNumber'] != null){
@ -180,7 +180,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
formRef.setValues(setV)
})
}
}
}
})
}
//
@ -337,7 +337,7 @@ const buttonTableClick = async (val, row) => {
tableObject.loading = false
console.log(err)
})
} else if (val == 'edit') { //
} else if (val == 'edit') { //
openForm('update', row)
} else if (val == 'delete') { //
handleDelete(row.masterId)
@ -353,7 +353,7 @@ const openForm = (type: string, row?: number) => {
/**
* 详情 编辑页面打开
* @param row
* @param row
*/
const detailOpenForm = (type) => {
// if(type == 'update'){
@ -384,7 +384,7 @@ const openDetail = (row: any, titleName: any, titleValue: any) => {
}
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'stockupMainRequest')
detailRef.value.openDetail(row, titleName, titleValue,'requestStockupMain')
}
/** 删除按钮操作 */

2
src/views/wms/inventoryManage/containerinit/containerBindRecord/index.vue

@ -194,7 +194,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicContainerBindRecordMain')
detailRef.value.openDetail(row, titleName, titleValue, 'recordContainerBindMain')
}
/** 删除按钮操作 */

2
src/views/wms/inventoryManage/containerinit/containerRepair/index.vue

@ -193,7 +193,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicContainerRepairRecordMain')
detailRef.value.openDetail(row, titleName, titleValue, 'recordContainerRepairMain')
}
/** 删除按钮操作 */

2
src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue

@ -193,7 +193,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicContainerUnbindRecordMain')
detailRef.value.openDetail(row, titleName, titleValue, 'recordContainerUnbindMain')
}
/** 删除按钮操作 */

2
src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue

@ -245,7 +245,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue,"transactionContainerMain")
detailRef.value.openDetail(row, titleName, titleValue,"requestContainerMain")
}
/** 删除按钮操作 */

2
src/views/wms/inventoryManage/containerinit/containerinitrecord/index.vue

@ -191,7 +191,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicContainerInitRecordMain')
detailRef.value.openDetail(row, titleName, titleValue, 'recordContainerInitMain')
}
/** 删除按钮操作 */

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

@ -112,7 +112,7 @@ const { tableObject, tableMethods } = useTable({
})
//
/**
*
*
*/
if ( routeName.value == 'ReturnContainerManageRequest') {
tableObject.params = {
@ -203,7 +203,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
// tableform
ContainerDetailRequest.allSchemas.tableFormColumns.map(item => {
console.log(businessType.value+99999999);
if(item.field == 'containerNumber') {
if (fromLocationCode.value == null) {
item.tableForm.searchCondition = [
@ -458,7 +458,7 @@ const submitForm = async (formType,submitData) => {
if(data.masterId){
data.id = data.masterId
}
data.subList = tableData.value //
data.subList = tableData.value //
data.subList.forEach(item => {
if(item.toQty == 0){
message.error(`到数量不能为0!`)
@ -486,7 +486,7 @@ const submitForm = async (formType,submitData) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicContainerMainRequest')
detailRef.value.openDetail(row, titleName, titleValue, 'requestContainerMain')
}
/** 删除按钮操作 */

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

@ -441,7 +441,7 @@ const submitForm = async (formType,submitData) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicContainerMainRequest')
detailRef.value.openDetail(row, titleName, titleValue, 'requestContainerMain')
}
/** 删除按钮操作 */

12
src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue

@ -112,7 +112,7 @@ const { tableObject, tableMethods } = useTable({
})
//
/**
*
*
*/
if ( routeName.value == 'ScrapContainerManageRequest') {
tableObject.params = {
@ -121,7 +121,7 @@ const { tableObject, tableMethods } = useTable({
ContainerMainRequest.allSchemas.formSchema.forEach(item=>{
if(item.field == 'type'){
item.value = "SCRAP"
}});
}});
businessType.value = 'ScrapContainerManage'
importFileName.value = '器具报废申请'
}
@ -436,20 +436,20 @@ const submitForm = async (formType,submitData) => {
if(data.masterId){
data.id = data.masterId
}
data.subList = tableData.value //
data.subList = tableData.value //
data.subList.forEach(item => {
if(item.qty == 0){
message.error(`到数量不能为0!`)
flag.value = true
return;
}
}
})
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
data.businessType = businessType.value
console.log(data.businessType,999);
await ContainerMainRequestApi.createContainerMainRequest(data)
message.success(t('common.createSuccess'))
} else {
@ -466,7 +466,7 @@ const submitForm = async (formType,submitData) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicContainerMainRequest')
detailRef.value.openDetail(row, titleName, titleValue, 'requestContainerMain')
}
/** 删除按钮操作 */

4
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverJobMain/index.vue

@ -161,7 +161,7 @@ const isShowMainButton = (row, val) => {
}
// -
const buttonTableClick = async (val, row) => {
if (val == 'mainClose') { //
//
await message.confirm('确认要关闭吗?')
@ -217,7 +217,7 @@ const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue, 'basicPackageoverJobMain')
detailRef.value.openDetail(row, titleName, titleValue, 'jobPackageoverMain')
}
/** 删除按钮操作 */

2
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRetrospect/index.vue

@ -136,7 +136,7 @@ const buttonBaseClick = (val, item) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicPackageoverRetrospect')
detailRef.value.openDetail(row, titleName, titleValue, 'recordPackageoverRetrospect')
}
/** 导出按钮操作 */

20
src/views/wms/productionManage/processproduction/processproductionRequest/index.vue

@ -60,10 +60,10 @@
/>
<!-- 详情 -->
<Detail
ref="detailRef"
<Detail
ref="detailRef"
:isBasic="false"
:allSchemas="ProcessproductionRequestMain.allSchemas"
:allSchemas="ProcessproductionRequestMain.allSchemas"
:detailAllSchemas="ProcessproductionRequestDetail.allSchemas"
:detailAllSchemasRules="ProcessproductionRequestDetailRules"
:apiCreate="ProcessproductionRequestDetailApi.createProcessproductionRequestDetail"
@ -75,11 +75,11 @@
/>
<!-- 导入 -->
<ImportForm
ref="importFormRef"
url="/wms/processproduction-request-main/import"
:importTemplateData="importTemplateData"
@success="importSuccess"
<ImportForm
ref="importFormRef"
url="/wms/processproduction-request-main/import"
:importTemplateData="importTemplateData"
@success="importSuccess"
:updateIsDisable="true"
:coverIsDisable="true"
:mode="2"
@ -132,7 +132,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
// if(res?.list?.length>0){
// newRow['componentItemCode'] = res.list[0].componentItemCode
// }
// })
// })
tableData.value.push(newRow)
})
}else if(formField === 'processCode'){
@ -396,7 +396,7 @@ const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue, 'basicProcessproductionRequestMain')
detailRef.value.openDetail(row, titleName, titleValue, 'requestProcessproductionMain')
}
/** 导出按钮操作 */

2
src/views/wms/productionManage/productionplan/qadproductionplan/index.vue

@ -179,7 +179,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicQadProductionPlanMain')
detailRef.value.openDetail(row, titleName, titleValue, 'planQadProductionMain')
}
/** 删除按钮操作 */

14
src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue

@ -39,11 +39,11 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="PackageRules"
:formAllSchemas="Package.allSchemas"
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="PackageRules"
:formAllSchemas="Package.allSchemas"
:searchTableParams="searchTableParams"
:apiUpdate="PackageApi.updatePackage"
:apiCreate="PackageApi.createPackage"
@ -78,7 +78,7 @@ const tableColumns = ref(Package.allSchemas.tableColumns)
/**
* PurchasePackage regularParams = procure采购件标签记录页面
* PurchasePackage regularParams = procure采购件标签记录页面
* ManufacturePackage regularParams = manufacture 制造件标签记录页面
* UtensilPackage regularParams = utensil 器具标签记录页面
* SupplierPackage regularParams = procure 供应商发货标签记录(用采购标签)
@ -202,7 +202,7 @@ const openForm =async (type: string, row?: number) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue,'supplierPackage')
detailRef.value.openDetail(row, titleName, titleValue,'transactionPackage')
}
/** 删除按钮操作 */

2
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/index.vue

@ -179,7 +179,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplierdeliverInspectionDetail')
detailRef.value.openDetail(row, titleName, titleValue, 'supplierdeliverInspectionDetail')
}
/** 删除按钮操作 */

2
src/views/wms/supplierManage/supplierApbalance/supplierApbalanceDetail/index.vue

@ -179,7 +179,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplierApbalanceDetail')
detailRef.value.openDetail(row, titleName, titleValue, 'exportSupplierApbalanceDetail')
}
/** 删除按钮操作 */

4
src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue

@ -221,8 +221,8 @@ const openDetail = async (row: any, titleName: any, titleValue: any) => {
console.log('res',res)
rowData.value = row
adjustmentData.value = res
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplierApbalanceMain')
detailRef.value.openDetail(row, titleName, titleValue, 'exportSupplierApbalanceMain')
}
//

4
src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue

@ -164,7 +164,7 @@ const butttondata = (row) =>{
hasPermi: 'wms:supplierinvoice-invoiced:refuse'
}
]
}
}
// -
const buttonTableClick = async (val, row) => {
@ -212,7 +212,7 @@ const formsSuccess = async (formType,data) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplierinvoiceInvoiced')
detailRef.value.openDetail(row, titleName, titleValue, 'qadSupplierinvoiceInvoiced')
}
/** 删除按钮操作 */

Loading…
Cancel
Save