Browse Source

修复缺陷问题

master_hella_20240701
yufei0306 6 months ago
parent
commit
3ddf35ba98
  1. 1
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts
  2. 12
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
  3. 3
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

1
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts

@ -274,6 +274,7 @@ export const ContainerRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
hiddenInMain:true, hiddenInMain:true,
isTableForm: false, isTableForm: false,
isTable: false,
table: { table: {
width: 150, width: 150,
fixed: 'right' fixed: 'right'

12
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -464,10 +464,14 @@ const handleAgree = async (id: number) => {
const handleHandle = async (id: number) => { const handleHandle = async (id: number) => {
await message.confirm(t('common.confirmHandle')) await message.confirm(t('common.confirmHandle'))
tableObject.loading = true tableObject.loading = true
await UnplannedreceiptRequestMainApi.handleUnplannedreceiptRequestMain(id) try {
message.success(t('common.handleSuccess')) await UnplannedreceiptRequestMainApi.handleUnplannedreceiptRequestMain(id)
tableObject.loading = false message.success(t('common.handleSuccess'))
await getList() await getList()
} finally {
tableObject.loading = false
}
} }
/** 添加/修改操作 */ /** 添加/修改操作 */

3
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

@ -608,6 +608,9 @@ export const PurchasereturnRequestMainRules = reactive({
supplierCode: [ supplierCode: [
{ required: true, message: '请输入供应商代码', trigger: 'blur' } { required: true, message: '请输入供应商代码', trigger: 'blur' }
], ],
dueTime: [
{ required: true, message: '请选择截止时间', trigger: 'blur' }
],
purchaseReceiptRecordNumber: [ purchaseReceiptRecordNumber: [
{ required: true, message: '请输入采购收货记录单号', trigger: 'blur' } { required: true, message: '请输入采购收货记录单号', trigger: 'blur' }
], ],

Loading…
Cancel
Save