Browse Source

调整前端展示效果

master
chenfang 11 months ago
parent
commit
fe20fa1444
  1. 7
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  2. 12
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue
  3. 1
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

7
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -491,8 +491,11 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const CustomerreturnRequestMainRules = reactive({ export const CustomerreturnRequestMainRules = reactive({
deliverRecordNumber: [ // deliverRecordNumber: [
{ required: true, message: '请选择发货记录单号', trigger: 'change' } // { required: true, message: '请选择发货记录单号', trigger: 'change' }
// ],
customerCode: [
{ required: true, message: '请选择客户代码', trigger: 'blur' }
], ],
departmentCode: [ departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' } { required: true, message: '请输入部门', trigger: 'blur' }

12
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue

@ -290,8 +290,16 @@ const buttonTableClick = async (val, row) => {
/** 添加/修改操作 */ /** 添加/修改操作 */
const formRef = ref() const formRef = ref()
const openForm =async (type: string, row?: number) => { const openForm =async (type: string, row?: number) => {
console.log(9999,row) if(type == "update"){
console.log(996669,type) DeliverRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'deliverPlanNumber') {
item.componentProps.isSearchList = false
}
})
}else {
item.componentProps.isSearchList = true,
item.componentProps.disabled = true
}
tableData.value = [] // tableData.value = [] //
formRef.value.open(type, row) formRef.value.open(type, row)
} }

1
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

@ -189,7 +189,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
// item.fromLocationGroupCode = item.fromLocationGroupCode // item.fromLocationGroupCode = item.fromLocationGroupCode
}) })
isShowButton.value = false isShowButton.value = false
PurchasereturnRequestMain.allSchemas.formSchema.forEach((item) => { PurchasereturnRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'supplierCode') { if (item.field == 'supplierCode') {
item.componentProps.disabled = true item.componentProps.disabled = true

Loading…
Cancel
Save