Browse Source

Merge branch 'hella_online_20241011' into master_hella

hella_online_20241017
陈薪名 2 months ago
parent
commit
3c7a758329
  1. 10
      src/api/wms/supplierinvoiceRecordMain/index.ts
  2. 4
      src/views/login/updatePassword.vue
  3. 2
      src/views/login/updatePasswordNewTips.vue
  4. 16
      src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts
  5. 3
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue
  6. 16
      src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts
  7. 13
      src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts
  8. 2
      src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue
  9. 50
      src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/supplierApbalanceMain.data.ts
  10. 41
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts

10
src/api/wms/supplierinvoiceRecordMain/index.ts

@ -31,6 +31,16 @@ export const getSupplierinvoiceRecordMainPage = async (params) => {
return await request.get({ url: `/wms/supplierinvoice-record-main/page`, params })
}
}
// 查询供应商发票记录主列表
export const getSupplierinvoiceRecordMainPageDiscrete = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/supplierinvoice-record-main/seniorDiscrete', data })
} else {
return await request.get({ url: `/wms/supplierinvoice-record-main/pageDiscrete`, params })
}
}
// 查询供应商发票记录主详情
export const getSupplierinvoiceRecordMain = async (id: number) => {

4
src/views/login/updatePassword.vue

@ -45,6 +45,7 @@
const iconHouse = useIcon({ icon: 'ep:house' })
const iconCellphone = useIcon({ icon: 'ep:cellphone' })
const iconCircleCheck = useIcon({ icon: 'ep:circle-check' })
const { push, replace } = useRouter()
const route = useRoute() //
const rules = {
password: [required],
@ -69,7 +70,8 @@
await UserApi.updateUserPassword(data)
//
message.success(t('common.updateSuccess'))
 router.go(-1)
await replace('/login?redirect=/index')
//  router.go(-1)
}
} finally {
// formLoading.value = false

2
src/views/login/updatePasswordNewTips.vue

@ -23,7 +23,7 @@
</el-col>
<el-col>
<el-form-item label="确认新密码" prop="againPassword">
<el-input v-model="loginData.againPassword" placeholder="请再次新密码" :type="isShowAgainPassword?'text':'password'"/>
<el-input v-model="loginData.againPassword" placeholder="请再次输入新密码" :type="isShowAgainPassword?'text':'password'"/>
<el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="20" @click="isShowAgainPassword = !isShowAgainPassword">
<View v-if="!isShowAgainPassword"/>
<Hide v-if="isShowAgainPassword"/>

16
src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts

@ -484,6 +484,19 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
label: '到数量',
field: 'toQty',
sort: 'custom',
form: {
component: 'InputNumber',
componentProps: {
disabled: true,
min: 0,
precision: 6
}
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 6
}
},
{
label: '计量单位',
@ -545,7 +558,8 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
width: 130
},
isForm: false,
isTable: true
isTable: true,
isTableForm: false
},
{
label: '地点ID',

3
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue

@ -144,11 +144,10 @@ const updataTableColumns = (val) => {
//
const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
// defaultButtons.defaultAddBtn({hasPermi:`wms:{routeName.value}:create`}), //
defaultButtons.defaultExportBtn(null), //
defaultButtons.defaultExportBtn({hasPermi:`wms:${routeName.value}:export`}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //

16
src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts

@ -446,6 +446,19 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
label: '到数量',
field: 'toQty',
sort: 'custom',
form: {
component: 'InputNumber',
componentProps: {
disabled: true,
min: 0,
precision: 6
}
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 6
}
},
{
label: '计量单位',
@ -512,7 +525,8 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
width: 130
},
isForm: false,
isTable: true
isTable: true,
isTableForm: false
},
{
label: '地点ID',

13
src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts

@ -485,6 +485,19 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
label: '到数量',
field: 'toQty',
sort: 'custom',
form: {
component: 'InputNumber',
componentProps: {
disabled: true,
min: 0,
precision: 6
}
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 6
}
},
{
label: '计量单位',

2
src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue

@ -191,7 +191,7 @@
}
const { tableObject, tableMethods } = useTable({
getListApi: SupplierinvoiceRecordMainApi.getSupplierinvoiceRecordMainPage //
getListApi: SupplierinvoiceRecordMainApi.getSupplierinvoiceRecordMainPageDiscrete //
})
tableObject.params.isLS = 1

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

@ -101,31 +101,31 @@ export const SupplierApbalanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: false,
},
{
label: '生成时间',
field: 'ttGenerateTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
valueFormat: 'x'
}
},
},
// {
// label: '生成时间',
// field: 'ttGenerateTime',
// sort: 'custom',
// formatter: dateFormatter,
// isSearch: true,
// search: {
// component: 'DatePicker',
// componentProps: {
// valueFormat: 'YYYY-MM-DD HH:mm:ss',
// type: 'daterange',
// defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
// }
// },
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// form: {
// component: 'DatePicker',
// componentProps: {
// type: 'datetime',
// valueFormat: 'x'
// }
// },
// },
{
label: '应付挂账金额',
field: 'ttAccountAp',

41
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts

@ -455,6 +455,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
//子表数据,仅是查询条件
{
label: '货运单号',
@ -709,6 +710,26 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '财务驳回原因',
field: 'reasonFinancialRejection',
sort: 'custom',
isSearch: false,
isForm: true,
isDetail:false,
sortTableDefault:11,
table: {
width: 150
},
form: {
componentProps: {
style: { 'padding-bottom': '20px'},
type:"textarea",
maxlength:50,
showWordLimit:true
}
}
},
{
label: '回转凭证号',
field: 'transferNumber',
@ -1825,6 +1846,23 @@ export const SupplierinvoiceRecordMainTransfer = useCrudSchemas(reactive<CrudSch
showWordLimit:true
}
}
},
{
label: '财务驳回原因',
field: 'reasonFinancialRejection',
sort: 'custom',
isSearch: false,
isTable: false,
isForm: true,
isDetail:false,
form: {
componentProps: {
style: { 'padding-bottom': '20px'},
type:"textarea",
maxlength:50,
showWordLimit:true
}
}
}
]))
@ -1833,6 +1871,9 @@ export const SupplierinvoiceRecordMainTransfer = useCrudSchemas(reactive<CrudSch
export const SupplierinvoiceRecordMainTransferRules = reactive({
reversepostingdate: [
{ required: true, message: '请选择过账日期', trigger: 'change' }
],
reasonFinancialRejection: [
{ required: true, message: '请输入财务驳回原因', trigger: 'change' }
]
})

Loading…
Cancel
Save