Browse Source

备货记录前段展示

master_hella_20240701
chenfang 8 months ago
parent
commit
a4ee25f768
  1. 6
      src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts
  2. 9
      src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts
  3. 7
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue
  4. 32
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

6
src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts

@ -19,12 +19,6 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isForm: false,
},
{
label: '发货计划单号',
field: 'deliverPlanNumber',
sort: 'custom',
isForm: false,
},
{
label: '从仓库代码',
field: 'fromWarehouseCode',

9
src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts

@ -34,15 +34,6 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
width: 180
},
},
{
label: '发货计划单号',
field: 'deliverPlanNumber',
sort: 'custom',
isSearch: true,
table: {
width: 180
},
},
{
label: '从仓库代码',
field: 'fromWarehouseCode',

7
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue

@ -89,7 +89,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import * as DeliverPlanDetailApi from '@/api/wms/deliverPlanDetail'
//
defineOptions({ name: 'StockupMainRequest' })
@ -124,9 +124,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row['inventoryStatus'] = val[0]['inventoryStatus']
row['itemCode'] = val[0]['itemCode']
row['uom'] = val[0]['uom']
} else if(formField == 'toLocationCode'){
console.log(row,111);
}
if(formField == 'toLocationCode'){
row['toLocationCode'] = val[0]['code']
}else{
row[formField] = val[0][searchField]

32
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

@ -4,9 +4,6 @@ import { TableColumn } from '@/types/table'
import { dateFormatter } from '@/utils/formatTime'
import * as getRequestsettingApi from '@/api/wms/requestsetting/index'
import * as DeliverPlanMainApi from '@/api/wms/deliverPlanMain'
import { DeliverPlanMain } from '../../deliverplan/deliverPlanMain/deliverPlanMain.data'
import * as BalanceApi from '@/api/wms/balance'
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data'
@ -51,35 +48,6 @@ export const StockupMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
{
label: '发货计划单号',
field: 'deliverPlanNumber',
sort: 'custom',
table: {
width: 140
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择发货计划单号', // 输入框占位文本
searchField: 'number', // 查询弹窗赋值字段
searchTitle: '发货计划信息', // 查询弹窗标题
searchAllSchemas: DeliverPlanMain.allSchemas, // 查询弹窗所需类
searchPage: DeliverPlanMainApi.getDeliverPlanMainPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
key: 'status',
value: '6',
isMainValue: false
}]
}
}
},
{
label: '从仓库代码',
field: 'fromWarehouseCode',

Loading…
Cancel
Save