ljlong_2630 1 week ago
parent
commit
35fdfd7399
  1. 4
      src/api/wms/customerStatementDetail/index.ts
  2. 10
      src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue
  3. 7
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts
  4. 7
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts
  5. 11
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
  6. 15
      src/views/wms/deliversettlementManage/ftSuppliesRecordMain/deliverRecordMain/index.vue
  7. 28
      src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/deliverRecordMain.data.ts
  8. 49
      src/views/wms/deliversettlementManage/saleEstimate/finishedShipmentMain/finishedShipmentMain.data.ts
  9. 2
      src/views/wms/deliversettlementManage/saleEstimate/finishedShipmentMain/index.vue
  10. 10
      src/views/wms/deliversettlementManage/saleEstimate/unfinishedShipmentMain/index.vue
  11. 50
      src/views/wms/deliversettlementManage/saleEstimate/unfinishedShipmentMain/unfinishedShipmentMain.data.ts
  12. 15
      src/views/wms/deliversettlementManage/ssSuppliesRecordMain/deliverRecordMain/index.vue
  13. 15
      src/views/wms/deliversettlementManage/tjdtSuppliesRecordMain/deliverRecordMain/index.vue
  14. 4
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts
  15. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

4
src/api/wms/customerStatementDetail/index.ts

@ -129,6 +129,6 @@ export const updateAdjustmentAmount = async (id: number, masterId: number, amoun
} }
// 客户对账单直接创建开票申请查询子分页数据 // 客户对账单直接创建开票申请查询子分页数据
export const pageInvoice = async (params) => { export const pageInvoice = async (id: number) => {
return await request.get({ url: `/wms/customer-statement-detail/pageInvoice`, params }) return await request.get({ url: `/wms/customer-statement-detail/pageInvoice?masterId=`+ id })
} }

10
src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue

@ -223,9 +223,6 @@
<el-input-number <el-input-number
v-model="formData.configuration.MinQty" v-model="formData.configuration.MinQty"
:min="0" :min="0"
:max="
formData.configuration.MaxQty != -1 ? formData.configuration.MaxQty : Infinity
"
controls-position="right" controls-position="right"
/> />
</el-form-item> </el-form-item>
@ -243,9 +240,6 @@
<el-input-number <el-input-number
v-model="formData.configuration.SafetyQty" v-model="formData.configuration.SafetyQty"
:min="0" :min="0"
:max="
formData.configuration.MaxQty != -1 ? formData.configuration.MaxQty : Infinity
"
controls-position="right" controls-position="right"
/> />
</el-form-item> </el-form-item>
@ -263,9 +257,6 @@
<el-input-number <el-input-number
v-model="formData.configuration.FeedQty" v-model="formData.configuration.FeedQty"
:min="0" :min="0"
:max="
formData.configuration.MaxQty != -1 ? formData.configuration.MaxQty : Infinity
"
controls-position="right" controls-position="right"
/> />
</el-form-item> </el-form-item>
@ -862,6 +853,7 @@ const searchTableSuccess = (formField, searchField, val, type, row) => {
} }
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.item { .item {

7
src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts

@ -68,10 +68,11 @@ export const DeliverJobMain = useCrudSchemas(
}, },
{ {
label: '发货类型', label: '发货类型',
field: 'deliverType', field: 'businessType',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: false,
dictType: DICT_TYPE.DELIVER_TYPE, isTable: true,
dictType: DICT_TYPE.DELIVER_METHOD,
dictClass: 'string', dictClass: 'string',
table: { table: {
width: 150 width: 150

7
src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts

@ -108,10 +108,11 @@ export const DeliverRecordMain = useCrudSchemas(
}, },
{ {
label: '发货类型', label: '发货类型',
field: 'deliverType', field: 'businessType',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: false,
dictType: DICT_TYPE.DELIVER_TYPE, isTable: true,
dictType: DICT_TYPE.DELIVER_METHOD,
dictClass: 'string', dictClass: 'string',
table: { table: {
width: 150 width: 150

11
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

@ -196,17 +196,14 @@ export const DeliverRequestMain = useCrudSchemas(
}, },
{ {
label: '发货类型', label: '发货类型',
field: 'deliverType', field: 'businessType',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.DELIVER_TYPE, isSearch: false,
isTable: true,
dictType: DICT_TYPE.DELIVER_METHOD,
dictClass: 'string', dictClass: 'string',
table: { table: {
width: 150 width: 150
},
form: {
componentProps: {
disabled: true
}
} }
}, },
{ {

15
src/views/wms/deliversettlementManage/ftSuppliesRecordMain/deliverRecordMain/index.vue

@ -182,6 +182,11 @@ const basicFormRef = ref()
const tableData = ref([]) const tableData = ref([])
const openForm = (type: string, row?: any) => { const openForm = (type: string, row?: any) => {
tableData.value = [] tableData.value = []
DeliverRecordMain.allSchemas.formSchema.forEach(item=>{
if (item.field == 'businessType'){
item.componentProps.options = item.componentProps.options.filter(cur=>cur.value == 'SSProduct'||cur.value == 'ToyotaSupplies'||cur.value == 'SkylightCarpet')
}
})
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} }
// //
@ -309,4 +314,14 @@ onMounted(async () => {
} }
getList() getList()
}) })
onActivated(() => {
if (routeName.value == 'ToyotaSupplies') {
tableObject.params.businessType = 'ToyotaSupplies'
} else if (routeName.value == 'SSProduct') {
tableObject.params.businessType = 'SSProduct'
} else if (routeName.value == 'SkylightCarpet') {
tableObject.params.businessType = 'SkylightCarpet'
}
getList()
})
</script> </script>

28
src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/deliverRecordMain.data.ts

@ -25,7 +25,7 @@ export const DeliverRecordMain = useCrudSchemas(
table: { table: {
width: 180 width: 180
}, },
isSearch: true isSearch: false
}, },
{ {
label: '任务单号', label: '任务单号',
@ -57,6 +57,18 @@ export const DeliverRecordMain = useCrudSchemas(
isTable: true, isTable: true,
isDetail: true isDetail: true
}, },
{
label: '发货类型',
field: 'businessType',
sort: 'custom',
isSearch: false,
isTable: true,
dictType: DICT_TYPE.DELIVER_METHOD,
dictClass: 'string',
table: {
width: 150
}
},
// { // {
// label: '客户发货单号', // label: '客户发货单号',
// field: 'customerDeliverNumber', // field: 'customerDeliverNumber',
@ -111,18 +123,7 @@ export const DeliverRecordMain = useCrudSchemas(
}, },
isSearch: true isSearch: true
}, },
{
label: '发货类型',
field: 'deliverType',
sort: 'custom',
isSearch: false,
isTable: false,
dictType: DICT_TYPE.DELIVER_TYPE,
dictClass: 'string',
table: {
width: 150
}
},
{ {
label: '客户月台代码', label: '客户月台代码',
field: 'customerDockCode', field: 'customerDockCode',
@ -538,6 +539,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true
}, },
{ {
label: '物料名称', label: '物料名称',

49
src/views/wms/deliversettlementManage/saleEstimate/finishedShipmentMain/finishedShipmentMain.data.ts

@ -61,6 +61,39 @@ export const FinishedShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
isDetail:true,
isForm: false,
isTable:true,
sortTableDefault:10000
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable:true,
isForm: false,
table:{
width:180
},
sortTableDefault:10000
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -131,6 +164,22 @@ export const FinishedShipmentDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '库位',
field: 'toLocationCode',
sort: 'custom',
table: {
width: 150,
},
},
{
label: '批次',
field: 'batch',
sort: 'custom',
table: {
width: 150,
},
},
// { // {
// label: '发货数量', // label: '发货数量',
// field: 'shipmentQuantity', // field: 'shipmentQuantity',

2
src/views/wms/deliversettlementManage/saleEstimate/finishedShipmentMain/index.vue

@ -212,7 +212,7 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const data = await FinishedShipmentMainApi.exportFinishedShipmentMain(tableObject.params) const data = await FinishedShipmentDetailApi.exportFinishedShipmentDetail(tableObject.params)
download.excel(data, '已发未结发货记录主.xlsx') download.excel(data, '已发未结发货记录主.xlsx')
} catch { } catch {
} finally { } finally {

10
src/views/wms/deliversettlementManage/saleEstimate/unfinishedShipmentMain/index.vue

@ -109,8 +109,8 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:unfinished-shipment-main:create'}), // // defaultButtons.defaultAddBtn({hasPermi:'wms:unfinished-shipment-main:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:unfinished-shipment-main:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:unfinished-shipment-main:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:unfinished-shipment-main:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:unfinished-shipment-main:export'}), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //
@ -143,8 +143,8 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:unfinished-shipment-main:update'}), // // defaultButtons.mainListEditBtn({hasPermi:'wms:unfinished-shipment-main:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:unfinished-shipment-main:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:unfinished-shipment-main:delete'}), //
] ]
// - // -
@ -213,7 +213,7 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const data = await UnfinishedShipmentMainApi.exportUnfinishedShipmentMain(tableObject.params) const data = await UnfinishedShipmentDetailApi.exportUnfinishedShipmentDetail(tableObject.params)
download.excel(data, '已发未结发货记录主.xlsx') download.excel(data, '已发未结发货记录主.xlsx')
} catch { } catch {
} finally { } finally {

50
src/views/wms/deliversettlementManage/saleEstimate/unfinishedShipmentMain/unfinishedShipmentMain.data.ts

@ -53,6 +53,40 @@ export const UnfinishedShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
isDetail:true,
isForm: false,
isTable:true,
sortTableDefault:10000
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable:true,
isForm: false,
table:{
width:180
},
sortTableDefault:10000
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -123,6 +157,22 @@ export const UnfinishedShipmentDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '库位',
field: 'toLocationCode',
sort: 'custom',
table: {
width: 150,
},
},
{
label: '批次',
field: 'batch',
sort: 'custom',
table: {
width: 150,
},
},
{ {
label: '发货数量', label: '发货数量',
field: 'shipmentQuantity', field: 'shipmentQuantity',

15
src/views/wms/deliversettlementManage/ssSuppliesRecordMain/deliverRecordMain/index.vue

@ -182,6 +182,11 @@ const basicFormRef = ref()
const tableData = ref([]) const tableData = ref([])
const openForm = (type: string, row?: any) => { const openForm = (type: string, row?: any) => {
tableData.value = [] tableData.value = []
DeliverRecordMain.allSchemas.formSchema.forEach(item=>{
if (item.field == 'businessType'){
item.componentProps.options = item.componentProps.options.filter(cur=>cur.value == 'SSProduct'||cur.value == 'ToyotaSupplies'||cur.value == 'SkylightCarpet')
}
})
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} }
@ -312,4 +317,14 @@ onMounted(async () => {
} }
getList() getList()
}) })
onActivated(() => {
if (routeName.value == 'ToyotaSupplies') {
tableObject.params.businessType = 'ToyotaSupplies'
} else if (routeName.value == 'SSProduct') {
tableObject.params.businessType = 'SSProduct'
} else if (routeName.value == 'SkylightCarpet') {
tableObject.params.businessType = 'SkylightCarpet'
}
getList()
})
</script> </script>

15
src/views/wms/deliversettlementManage/tjdtSuppliesRecordMain/deliverRecordMain/index.vue

@ -182,6 +182,11 @@ const basicFormRef = ref()
const tableData = ref([]) const tableData = ref([])
const openForm = (type: string, row?: any) => { const openForm = (type: string, row?: any) => {
tableData.value = [] tableData.value = []
DeliverRecordMain.allSchemas.formSchema.forEach(item=>{
if (item.field == 'businessType'){
item.componentProps.options = item.componentProps.options.filter(cur=>cur.value == 'SSProduct'||cur.value == 'ToyotaSupplies'||cur.value == 'SkylightCarpet')
}
})
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} }
// //
@ -309,4 +314,14 @@ onMounted(async () => {
} }
getList() getList()
}) })
onActivated(() => {
if (routeName.value == 'ToyotaSupplies') {
tableObject.params.businessType = 'ToyotaSupplies'
} else if (routeName.value == 'SSProduct') {
tableObject.params.businessType = 'SSProduct'
} else if (routeName.value == 'SkylightCarpet') {
tableObject.params.businessType = 'SkylightCarpet'
}
getList()
})
</script> </script>

4
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts

@ -591,7 +591,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '承接人', label: '承接人',
field: 'acceptUserId', field: 'acceptUserName',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -619,7 +619,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '完成人', label: '完成人',
field: 'completeUserId', field: 'completeUserName',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

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

@ -518,7 +518,7 @@ export const PurchasePlanMain = useCrudSchemas(
}, },
isTable: false, isTable: false,
isForm: false, isForm: false,
isDetail: false isDetail: true
}, },
{ {
label: '操作', label: '操作',

Loading…
Cancel
Save