Browse Source

BUG修改

master
yejiaxing 11 months ago
parent
commit
fbf7a2166b
  1. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
  2. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts
  3. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts
  4. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts
  5. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue
  6. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts
  7. 2
      src/views/wms/supplierManage/purchaseclaim/purchaseclaimRecordMain/purchaseclaimRecordMain.data.ts
  8. 5
      src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts
  9. 2
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
  10. 2
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

4
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

@ -115,11 +115,11 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '单据号', label: '单据号11',
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
isForm: false, isForm: false,

2
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

@ -17,7 +17,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isForm: false, isForm: false,
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
}, },

2
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -17,7 +17,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
isSearch: true isSearch: true

2
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts

@ -259,7 +259,7 @@ export const SupplierdeliverRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
isSearch: true isSearch: true

6
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -164,6 +164,12 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => {
nextTick(() => { nextTick(() => {
const setV = {} const setV = {}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
if (formField == 'poNumber') {
setV['poNumber'] = val[0]['poNumber']
setV['itemCode'] = val[0]['itemCode']
setV['poLine'] = val[0]['poLine']
setV['uom'] = val[0]['uom']
}
formRef.setValues(setV) formRef.setValues(setV)
}) })
} }

10
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -208,7 +208,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
isForm: false, isForm: false,
@ -622,7 +622,13 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
searchField: 'number', searchField: 'number',
searchTitle: '要货计划信息', searchTitle: '要货计划信息',
searchAllSchemas: PurchasePlanDetail.allSchemas, searchAllSchemas: PurchasePlanDetail.allSchemas,
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage,
searchCondition: [
{
key: 'number',
value: 'ppNumber',
isMainValue: true
}]
} }
}, },
tableForm: { tableForm: {

2
src/views/wms/supplierManage/purchaseclaim/purchaseclaimRecordMain/purchaseclaimRecordMain.data.ts

@ -10,7 +10,7 @@ export const PurchaseclaimRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
isSearch: true isSearch: true

5
src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts

@ -34,7 +34,7 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'number', field: 'number',
isForm:false, isForm:false,
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
@ -553,4 +553,7 @@ export const PurchaseclaimRequestDetailRules = reactive({
uom: [ uom: [
{ required: true, message: '请输入计量单位', trigger: 'change' } { required: true, message: '请输入计量单位', trigger: 'change' }
], ],
reason: [
{ required: true, message: '请输入原因', trigger: 'change' }
],
}) })

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

@ -39,7 +39,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field:'number', field:'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
isSearch: true isSearch: true

2
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -62,7 +62,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 180,
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,

Loading…
Cancel
Save