Browse Source

备料计划 修改

master
陈薪名 11 months ago
parent
commit
232a174174
  1. 6
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue
  2. 3
      src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts
  3. 1
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

6
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

@ -106,7 +106,11 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
nextTick(() => { nextTick(() => {
if (type == 'tableForm') { if (type == 'tableForm') {
// //
row[formField] = val[0][searchField] if (formField == 'itemCode') {
row['itemCode'] = val[0]['componentItemCode']
} else {
row[formField] = val[0][searchField]
}
row['toLocationCode'] = val[0]['rawLocationCode'] row['toLocationCode'] = val[0]['rawLocationCode']
} else { } else {
const setV = {} const setV = {}

3
src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts

@ -377,6 +377,9 @@ export const ProductputawayRequestMainRules = reactive({
directCreateRecord: [ directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
], ],
dueTime: [
{ required: true, message: '请选择截止时间', trigger: 'change' }
],
}) })
/** /**

1
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

@ -125,7 +125,6 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import * as PackageApi from '@/api/wms/package' import * as PackageApi from '@/api/wms/package'
import { formatTime } from '@/utils/index' import { formatTime } from '@/utils/index'
import * as PurchaseDetailApi from "@/api/wms/purchaseDetail";
// //
defineOptions({ name: 'ProductreceiptRequestMain' }) defineOptions({ name: 'ProductreceiptRequestMain' })

Loading…
Cancel
Save