Browse Source

excel:关于要货计划的修改

master_hella_20240701
yufei0306 7 months ago
parent
commit
5055dc3a94
  1. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  2. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

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

@ -75,6 +75,7 @@
import * as PurchaseDetailApi from '@/api/wms/purchaseDetail'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { PurchaseDetail } from '../purchaseMain/purchaseMain.data'
import dayjs from 'dayjs'
//
defineOptions({ name: 'PurchasePlanMain' })
@ -313,6 +314,11 @@ const getSearchTableData = async (number,formField,searchField)=>{
const openForm = async (type : string, row ?: number) => {
tableData.value = [] //
formRef.value.open(type, row)
if('create'==type){
nextTick(async () => {
formRef.value.formRef.setValues({deliveryDate:dayjs().format('YYYY-MM-DD')})
})
}
}
//
const { wsCache } = useCache()

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

@ -412,7 +412,8 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180
},
tableForm: {
isInpuFocusShow: true,
disabled: true,
isInpuFocusShow: false,
searchListPlaceholder: '请选择订单号',
searchField: 'number',
searchTitle: '采购订单信息',
@ -490,7 +491,8 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
tableForm: {
multiple:true,
isInpuFocusShow: true,
disabled: true,
isInpuFocusShow: false,
searchListPlaceholder: '请选择订单行',
searchField: 'lineNumber',
searchTitle: '采购订单信息',

Loading…
Cancel
Save