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. 8
      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', field: 'qty',
sort: 'custom', sort: 'custom',
}, },
{
label: '是否委外',
field: 'isWw',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

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

@ -107,7 +107,7 @@ const updataTableColumns = (val) => {
} }
const { tableObject, tableMethods } = useTable({ const { tableObject, tableMethods } = useTable({
getListApi: BalanceApi.getBalanceByQJ // getListApi: BalanceApi.getBalanceByQJToScrap //
}) })
// //
@ -150,9 +150,11 @@ const buttonBaseClick = (val, item) => {
getList() getList()
} }
} else if (val == 'filtrate') { // } else if (val == 'filtrate') { //
} else if (val=='selection_point'){// }
handleSelectionPoint() // else if (val=='selection_point'){//
} else { // // handleSelectionPoint()
// }
else { //
console.log('其他按钮', item) console.log('其他按钮', item)
} }
} }
@ -220,22 +222,22 @@ const handleSelectionPoint = async ()=>{
// window.open(srcPoint.value+'&relateNumber='+rows.join(',')) // window.open(srcPoint.value+'&relateNumber='+rows.join(','))
} }
// - // -
const butttondata = [ // const butttondata = [
{ // {
label: '标签信息', // label: '',
name: 'bqxx', // name: 'bqxx',
hide: false, // hide: false,
type: 'primary', // type: 'primary',
icon: '', // icon: '',
color: '', // color: '',
link: true, // link: true,
float:'right', // float:'right',
hasPermi: '' // hasPermi: ''
}, // },
defaultButtons.mainListPointBtn(null), // // defaultButtons.mainListPointBtn(null), //
// defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), // // // defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), // // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), //
] // ]
// - // -
const buttonTableClick = async (val, row) => { 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 ) => { const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => {
nextTick(async () => { nextTick(async () => {
@ -324,6 +329,11 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
tableData.value = [] // tableData.value = [] //
formRef.setValues(setV) 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) 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: { table: {
width: 150 width: 150
}, },
isForm:false, isForm:true,
isTable:false, isTable:false,
isTableForm:false, isTableForm:false,
form: { form: {

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

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

8
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 BASE_URL = getJmreportBaseUrl()
const src = ref(BASE_URL + '/jmreport/view/973017727126409216?token=' + getAccessToken()) const src = ref(BASE_URL + '/jmreport/view/973017727126409216?token=' + getAccessToken())
const handlePrint = async (row) => { 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){ if(dayList.value.length>0){
day.value = dayList.value[0]['value'] day.value = dayList.value[0]['value']
searchRef.value.setFormValues({
'day':day.value,
})
} }
} }
} }
@ -378,6 +381,7 @@ const resetClick = async (data)=>{
year.value = '' year.value = ''
month.value = '' month.value = ''
day.value = '' day.value = ''
data['searchTime'] = ''
searchClick(data) searchClick(data)
} }
@ -392,7 +396,9 @@ const searchClick = async (data)=>{
if((''+data['day']).length==1){ if((''+data['day']).length==1){
data['day'] = '0' + data['day'] data['day'] = '0' + data['day']
} }
if(data['year']&&data['month']&&data['day']){
data['searchTime'] = `${data['year']}-${data['month']}-${data['day']}` data['searchTime'] = `${data['year']}-${data['month']}-${data['day']}`
}
setSearchParams(data) setSearchParams(data)
} }
/** 初始化 **/ /** 初始化 **/

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

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

Loading…
Cancel
Save