Browse Source

Merge branch 'hella_online_20241107' into master_hella

hella_online_20241114
陈薪名 3 weeks ago
parent
commit
0967a0c7ff
  1. 7
      src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts
  2. 42
      src/views/wms/inventoryManage/balanceContainer/index.vue
  3. 16
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue
  4. 2
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts
  5. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue
  6. 10
      src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue
  7. 21
      src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/supplierApbalanceMain.data.ts

7
src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts

@ -106,6 +106,13 @@ export const BackflushDetailbQad = useCrudSchemas(reactive<CrudSchema[]>([
field: 'qty',
sort: 'custom',
},
{
label: '是否委外',
field: 'isWw',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
},
{
label: '操作',
field: 'action',

42
src/views/wms/inventoryManage/balanceContainer/index.vue

@ -107,7 +107,7 @@ const updataTableColumns = (val) => {
}
const { tableObject, tableMethods } = useTable({
getListApi: BalanceApi.getBalanceByQJ //
getListApi: BalanceApi.getBalanceByQJToScrap //
})
//
@ -150,9 +150,11 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else if (val=='selection_point'){//
handleSelectionPoint()
} else { //
}
// else if (val=='selection_point'){//
// handleSelectionPoint()
// }
else { //
console.log('其他按钮', item)
}
}
@ -220,22 +222,22 @@ const handleSelectionPoint = async ()=>{
// window.open(srcPoint.value+'&relateNumber='+rows.join(','))
}
// -
const butttondata = [
{
label: '标签信息',
name: 'bqxx',
hide: false,
type: 'primary',
icon: '',
color: '',
link: true,
float:'right',
hasPermi: ''
},
defaultButtons.mainListPointBtn(null), //
// defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), //
]
// const butttondata = [
// {
// label: '',
// name: 'bqxx',
// hide: false,
// type: 'primary',
// icon: '',
// color: '',
// link: true,
// float:'right',
// hasPermi: ''
// },
// defaultButtons.mainListPointBtn(null), //
// // defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), //
// // defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), //
// ]
// -
const buttonTableClick = async (val, row) => {

16
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

@ -230,6 +230,11 @@ const clearSearchInput = (field)=>{
})
}
}
const defaultReasonCodeRequisition = ref(true)
const setDefaultrReasonCodeRequisition = ()=>{
formRef.value.setDefaultBlurValue('reasonCodeRequisition','SC99')
defaultReasonCodeRequisition.value = false
}
//
const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => {
nextTick(async () => {
@ -324,6 +329,11 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV[formField] = val[0][searchField]
tableData.value = [] //
formRef.setValues(setV)
if(formField == 'costCenterCode'){
if(defaultReasonCodeRequisition.value){
setDefaultrReasonCodeRequisition()
}
}
}
})
}
@ -641,6 +651,12 @@ const openForm =async (type: string, row?: number) => {
})
}
formRef.value.open(type, row)
if(type == 'create'){
nextTick(()=>{
defaultReasonCodeRequisition.value = true
formRef.value.setDefaultBlurValue('costCenterCode','DEFC')
})
}
}
// --退

2
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts

@ -892,7 +892,7 @@ export const ProductionscrapRequestMain = useCrudSchemas(
table: {
width: 150
},
isForm:false,
isForm:true,
isTable:false,
isTableForm:false,
form: {

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

@ -177,7 +177,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultExportBtn({hasPermi:'wms:purchasereceipt-job-main:export'}), //
defaultButtons.defaultUpdateTaskSettingBtn(null), //
defaultButtons.defaultUpdateTaskSettingBtn({hide:routeName.value.includes('SCP')}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //

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

@ -248,7 +248,7 @@ const openDetail = async (row: any, titleName: any, titleValue: any) => {
const BASE_URL = getJmreportBaseUrl()
const src = ref(BASE_URL + '/jmreport/view/973017727126409216?token=' + getAccessToken())
const handlePrint = async (row) => {
window.open(src.value+'&id='+row.id)
window.open(src.value+'&id='+row.id+'&searchTime='+`${tableObject.params.searchTime||''}`)
}
@ -370,6 +370,9 @@ const selectChange = (value,field)=>{
}
if(dayList.value.length>0){
day.value = dayList.value[0]['value']
searchRef.value.setFormValues({
'day':day.value,
})
}
}
}
@ -378,6 +381,7 @@ const resetClick = async (data)=>{
year.value = ''
month.value = ''
day.value = ''
data['searchTime'] = ''
searchClick(data)
}
@ -392,7 +396,9 @@ const searchClick = async (data)=>{
if((''+data['day']).length==1){
data['day'] = '0' + data['day']
}
data['searchTime'] = `${data['year']}-${data['month']}-${data['day']}`
if(data['year']&&data['month']&&data['day']){
data['searchTime'] = `${data['year']}-${data['month']}-${data['day']}`
}
setSearchParams(data)
}
/** 初始化 **/

21
src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/supplierApbalanceMain.data.ts

@ -19,14 +19,14 @@ export const SupplierApbalanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isForm: false,
},
{
label: '状态',
field: 'replyStatus',
sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.REPLY_STATUS,
dictClass: 'string',
},
// {
// label: '状态',
// field: 'replyStatus',
// sort: 'custom',
// isSearch: true,
// dictType: DICT_TYPE.REPLY_STATUS,
// dictClass: 'string',
// },
{
label: '公司代码',
field: 'ttCompany',
@ -45,6 +45,7 @@ export const SupplierApbalanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
isTable:false,
isDetail:false,
},
{
label: '月',
@ -52,7 +53,7 @@ export const SupplierApbalanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
isTable:false,
isDetail:false,
},
{
label: '日',
@ -60,7 +61,7 @@ export const SupplierApbalanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
isTable:false,
isDetail:false,
},
// {
// label: '账户类型',

Loading…
Cancel
Save