Browse Source

Merge branch 'dev' into pre-production

fix_bug_pro20231227
pref_mail@163.com 2 years ago
parent
commit
67a59c1f66
  1. 2
      src/api/addvalue/distributionAddvalue.js
  2. 7
      src/api/basicdata/basicdataGoodsArea.js
  3. 16
      src/api/distribution/distributionSignfor.js
  4. 30
      src/option/basicdata/basicdataBrandCategory.js
  5. 580
      src/option/basicdata/basicdataCarrier.js
  6. 14
      src/option/basicdata/basicdataCategory.js
  7. 250
      src/option/basicdata/basicdataGoodsAllocation.js
  8. 174
      src/option/basicdata/basicdataTray.js
  9. 91
      src/views/basicdata/brand/basicClient.vue
  10. 14
      src/views/basicdata/brand/basicdataFreight.vue
  11. 13
      src/views/basicdata/brand/basicdataSupportValue.vue
  12. 5
      src/views/basicdata/carrier/basicdataCarrier.vue
  13. 10
      src/views/basicdata/team/basicdataTeamGroup.vue
  14. 20
      src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue
  15. 20
      src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue
  16. 50
      src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue
  17. 6
      src/views/distribution/delivery/distributionDelivery.vue
  18. 4
      src/views/distribution/deliverylist/distributionDeliveryListdis.vue
  19. 4
      src/views/distribution/deliverylist/distributionDeliveryListmar.vue
  20. 4
      src/views/distribution/inventory/distributionStockList.vue
  21. 168
      src/views/distribution/inventory/distributionStockListMarket.vue
  22. 182
      src/views/distribution/inventory/distributionStockListSelf.vue
  23. 4
      src/views/distribution/inventory/distrilbutionBillLadingList.vue
  24. 24
      src/views/distribution/reservation/reservation.vue
  25. 16
      src/views/distribution/reservation/reservationAddFrom.vue
  26. 3781
      src/views/distribution/signfor/distributionSignforedt.vue
  27. 5
      src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue
  28. 10
      vite.config.js

2
src/api/addvalue/distributionAddvalue.js

@ -48,3 +48,5 @@ export const update = (row) => {
})
}

7
src/api/basicdata/basicdataGoodsArea.js

@ -22,6 +22,13 @@ export const stockUp = ( params) => {
})
}
export const getStockUpArea = () => {
return request({
url: '/api/logpm-basicdata/goodsArea/getStockUpArea',
method: 'get',
})
}
export const getDetail = (id) => {
return request({
url: '/api/logpm-basicdata/goodsArea/detail',

16
src/api/distribution/distributionSignfor.js

@ -55,6 +55,8 @@ export const getDetail = (id) => {
})
}
export const getDetailById = (id) => {
return request({
url: '/api/logpm-distribution/signfor/detailById',
@ -132,3 +134,17 @@ export const getLocationAddress = (signforId) => {
})
}
/**
* 查询对应的增值服务列表信息
* @param row
* @returns {AxiosPromise}
*/
export const addvalueInfoList = (row) => {
return request({
url: '/api/logpm-distribution/signfor/addvalueInfoList',
method: 'post',
data: row
})
}

30
src/option/basicdata/basicdataBrandCategory.js

@ -20,6 +20,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "租户号",
@ -29,6 +31,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "创建人",
@ -38,6 +42,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "创建时间",
@ -47,6 +53,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "更新人",
@ -56,6 +64,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "更新时间",
@ -65,6 +75,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "状态",
@ -74,6 +86,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "是否已删除",
@ -83,6 +97,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "创建部门",
@ -92,6 +108,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "预留1",
@ -101,6 +119,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "预留2",
@ -110,6 +130,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "预留3",
@ -119,6 +141,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "预留4",
@ -128,6 +152,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "预留5",
@ -137,6 +163,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
{
label: "品牌名称",
@ -220,6 +248,8 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
maxWidth: "300px",
},
]
}

580
src/option/basicdata/basicdataCarrier.js

@ -1,5 +1,5 @@
export default {
height:'auto',
height: 'auto',
calcHeight: 30,
tip: false,
searchShow: true,
@ -11,122 +11,133 @@ export default {
dialogClickModal: false,
column: [
{
label: "主键",
prop: "id",
type: "input",
label: '主键',
prop: 'id',
type: 'input',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "租户号",
prop: "tenantId",
type: "input",
label: '租户号',
prop: 'tenantId',
type: 'input',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "创建人",
prop: "createUser",
type: "input",
label: '创建人',
prop: 'createUser',
type: 'input',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "创建时间",
prop: "createTime",
type: "input",
label: '创建时间',
prop: 'createTime',
type: 'input',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "更新人",
prop: "updateUser",
type: "input",
label: '更新人',
prop: 'updateUser',
type: 'input',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "更新时间",
prop: "updateTime",
type: "input",
label: '更新时间',
prop: 'updateTime',
type: 'input',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "状态",
prop: "status",
type: "input",
label: '状态',
prop: 'status',
type: 'input',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "是否已删除;1-未删除,2-已删除",
prop: "isDeleted",
type: "input",
label: '是否已删除;1-未删除,2-已删除',
prop: 'isDeleted',
width: 'fit-content',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "创建部门",
prop: "createDept",
type: "input",
label: '创建部门',
prop: 'createDept',
type: 'input',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "类型",
prop: "type",
type: "select",
label: '类型',
prop: 'type',
type: 'select',
dicUrl: '/api/blade-system/dict-biz/dictionary?code=basic_carrier_type',
labelWidth:'150',
width:"100px",
align:'center',
span:11,
labelWidth: '150',
width: 'fit-content',
align: 'center',
span: 11,
props: {
label: 'dictValue',
value: 'dictKey',
},
dataType:'String',
dataType: 'String',
search: true,
// rules: [{
// required: true,
// message: "请选择类型",
// trigger: "blur"
// }],
},
{
label: "承运商编号",
labelWidth:'150',
span:11,
prop: "number",
type: "input",
label: '承运商编号',
labelWidth: '150',
width: 'fit-content',
span: 11,
prop: 'number',
type: 'input',
search: true,
width:"100px",
align:'center',
rules: [{
required: true,
message: "输入承运商编号",
trigger: "blur"
}],
width: '100px',
align: 'center',
rules: [
{
required: true,
message: '输入承运商编号',
trigger: 'blur',
},
],
},
// {
// label: "集团ID",
@ -144,13 +155,13 @@ export default {
// }],
// },
{
label: "承运商电话",
labelWidth:'150',
width:"100px",
align:'center',
span:11,
prop: "carrierPhone",
type: "input",
label: '承运商电话',
labelWidth: '150',
width: 'fit-content',
align: 'center',
span: 11,
prop: 'carrierPhone',
type: 'input',
},
// {
// label: "绑定仓库Id",
@ -158,198 +169,211 @@ export default {
// type: "input",
// },
{
label: "负责人",
prop: "head",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
label: '负责人',
prop: 'head',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
type: 'input',
search: true,
},
{
label: "手机号",
prop: "headPhone",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
rules: [ {pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!'}],
},
{
label: "营业执照注册号",
prop: "licenseNub",
labelWidth:'150',
width:"120px",
align:'center',
span:11,
type: "input",
},
{
label: "法人",
prop: "legalPerson",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
rules: [{
required: true,
message: "请输入法人",
trigger: "blur"
}],
},
{
label: "法人电话",
prop: "legalPersonPhone",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
rules: [ {pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!'}],
},
{
label: "法人身份证",
prop: "legalPersonId",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
},
{
label: "邮箱",
prop: "mailbox",
type: "input",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
rules: [ {pattern: /^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/, message: '邮箱格式不正确!'}],
},
{
label: "客服电话",
prop: "customerServicePhone",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
rules: [ {pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!'}],
},
{
label: "合同开始时间",
prop: "contractStartTime",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
type: "date",
format: "YYYY-MM-DD",
valueFormat: "YYYY-MM-DD",
},
{
label: "合同结束时间",
prop: "contractEndTime",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
type: "date",
format: "YYYY-MM-DD",
valueFormat: "YYYY-MM-DD",
},
{
label: "道路运输许可证编号",
prop: "roadTransportNub",
type: "input",
labelWidth:'180',
span:11,
width:"120px",
align:'center',
rules: [{
required: true,
message: "请输入道路运输许可证编号",
trigger: "blur"
}],
},
{
label: "物流园",
prop: "logisticsPark",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "自由车辆数",
prop: "freeVehiclesNub",
type: "number",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "外部车辆数",
prop: "externalVehiclesNub",
type: "number",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "星级",
prop: "starRating",
type: "number",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "定位地址",
prop: "locationAddress",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "经度",
prop: "longitude",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
tip:"小数点后4位",
rules: [ {pattern: /(^[1-9]\d{0,9}(\.\d{1,4})?$)|(^0(\.\d{1,2})?$)/, message: '格式不正确!'}],
},
{
label: "纬度",
prop: "latitude",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
tip:"小数点后4位",
rules: [ {pattern: /(^[1-9]\d{0,9}(\.\d{1,4})?$)|(^0(\.\d{1,2})?$)/, message: '格式不正确!'}],
},
{
label: "备注",
prop: "notes",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
label: '手机号',
prop: 'headPhone',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
type: 'input',
rules: [{ pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!' }],
},
{
label: '营业执照注册号',
prop: 'licenseNub',
// labelWidth: '150',
width: 'fit-content',
align: 'center',
span: 11,
type: 'input',
},
{
label: '法人',
prop: 'legalPerson',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
type: 'input',
rules: [
{
required: true,
message: '请输入法人',
trigger: 'blur',
},
],
},
{
label: '法人电话',
prop: 'legalPersonPhone',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
type: 'input',
rules: [{ pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!' }],
},
{
label: '法人身份证',
prop: 'legalPersonId',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
type: 'input',
},
{
label: '邮箱',
prop: 'mailbox',
type: 'input',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
rules: [
{
pattern: /^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/,
message: '邮箱格式不正确!',
},
],
},
{
label: '客服电话',
prop: 'customerServicePhone',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
type: 'input',
rules: [{ pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!' }],
},
{
label: '合同开始时间',
prop: 'contractStartTime',
// labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
type: 'date',
format: 'YYYY-MM-DD',
valueFormat: 'YYYY-MM-DD',
},
{
label: '合同结束时间',
prop: 'contractEndTime',
// labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
type: 'date',
format: 'YYYY-MM-DD',
valueFormat: 'YYYY-MM-DD',
},
{
label: '道路运输许可证编号',
prop: 'roadTransportNub',
type: 'input',
labelWidth: '180',
span: 11,
width: 'fit-content',
align: 'center',
rules: [
{
required: true,
message: '请输入道路运输许可证编号',
trigger: 'blur',
},
],
},
{
label: '物流园',
prop: 'logisticsPark',
type: 'input',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
},
{
label: '自由车辆数',
prop: 'freeVehiclesNub',
type: 'number',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
},
{
label: '外部车辆数',
prop: 'externalVehiclesNub',
type: 'number',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
},
{
label: '星级',
prop: 'starRating',
type: 'number',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
},
{
label: '定位地址',
prop: 'locationAddress',
type: 'input',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
},
{
label: '经度',
prop: 'longitude',
type: 'input',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
tip: '小数点后4位',
rules: [
{ pattern: /(^[1-9]\d{0,9}(\.\d{1,4})?$)|(^0(\.\d{1,2})?$)/, message: '格式不正确!' },
],
},
{
label: '纬度',
prop: 'latitude',
type: 'input',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
tip: '小数点后4位',
rules: [
{ pattern: /(^[1-9]\d{0,9}(\.\d{1,4})?$)|(^0(\.\d{1,2})?$)/, message: '格式不正确!' },
],
},
{
label: '备注',
prop: 'notes',
type: 'input',
labelWidth: '150',
span: 11,
width: 'fit-content',
align: 'center',
},
// {
// label: "照片信息",
@ -360,7 +384,7 @@ export default {
// labelWidth:'150',
// span:11,
// multiple:true,
// width:"120px",
// width:"fit-content",
// align:'left',
// action: '/blade-resource/oss/endpoint/put-file',
// limit: 3,
@ -371,16 +395,16 @@ export default {
// },
{
label: "道路运输许可证图片",
prop: "roadTransportPhoto",
label: '道路运输许可证图片',
prop: 'roadTransportPhoto',
type: 'upload',
listType: 'picture-card',
dataType: 'string',
labelWidth:'150',
span:11,
multiple:true,
width:"200px",
align:'left',
labelWidth: '150',
span: 11,
multiple: true,
width: '200px',
align: 'left',
action: '/blade-resource/oss/endpoint/put-file',
limit: 3,
propsHttp: {
@ -389,17 +413,17 @@ export default {
},
},
{
label: "合同附件",
prop: "contractAppendices",
type: "upload",
labelWidth:'150',
label: '合同附件',
prop: 'contractAppendices',
type: 'upload',
labelWidth: '150',
dataType: 'string',
span:11,
width:"120px",
align:'left',
span: 11,
width: 'fit-content',
align: 'left',
limit: 3,
action: '/blade-resource/oss/endpoint/put-file',
multiple:true,
multiple: true,
propsHttp: {
res: 'data',
url: 'link',
@ -408,49 +432,49 @@ export default {
},
{
label: "预留1",
prop: "reserve1",
type: "input",
label: '预留1',
prop: 'reserve1',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "预留2",
prop: "reserve2",
type: "input",
label: '预留2',
prop: 'reserve2',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "预留3",
prop: "reserve3",
type: "input",
label: '预留3',
prop: 'reserve3',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "预留4",
prop: "reserve4",
type: "input",
label: '预留4',
prop: 'reserve4',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "预留5",
prop: "reserve5",
type: "input",
label: '预留5',
prop: 'reserve5',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
]
}
],
};

14
src/option/basicdata/basicdataCategory.js

@ -20,6 +20,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "租户号",
@ -29,6 +30,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "创建人",
@ -38,6 +40,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "创建时间",
@ -47,6 +50,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "更新人",
@ -56,6 +60,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "更新时间",
@ -65,6 +70,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "状态",
@ -74,6 +80,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "是否已删除",
@ -83,6 +90,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "创建部门",
@ -92,6 +100,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "预留1",
@ -101,6 +110,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "预留2",
@ -110,6 +120,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "预留3",
@ -119,6 +130,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "预留4",
@ -128,6 +140,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
{
label: "预留5",
@ -137,6 +150,7 @@ export default {
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content",
},
// {
// label: "父ID",

250
src/option/basicdata/basicdataGoodsAllocation.js

@ -1,5 +1,5 @@
export default {
height:'auto',
height: 'auto',
calcHeight: 30,
tip: false,
searchShow: true,
@ -8,93 +8,102 @@ export default {
index: true,
viewBtn: true,
selection: true,
editBtn:false,
delBtn:false,
addBtn:false,
indexWidth:'150',
indexLabel:"序号",
editBtn: false,
delBtn: false,
addBtn: false,
indexWidth: '100',
indexLabel: '序号',
dialogClickModal: false,
column: [
{
label: "租户号",
prop: "tenantId",
type: "input",
label: '租户号',
prop: 'tenantId',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "创建人",
prop: "createUser",
type: "input",
label: '创建人',
prop: 'createUser',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "创建时间",
prop: "createTime",
type: "input",
label: '创建时间',
prop: 'createTime',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "更新人",
prop: "updateUser",
type: "input",
label: '更新人',
prop: 'updateUser',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "更新时间",
prop: "updateTime",
type: "input",
label: '更新时间',
prop: 'updateTime',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "状态",
prop: "status",
type: "input",
label: '状态',
prop: 'status',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "是否已删除;1-未删除,2-已删除",
prop: "isDeleted",
type: "input",
label: '是否已删除;1-未删除,2-已删除',
prop: 'isDeleted',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "创建部门",
prop: "createDept",
type: "input",
label: '创建部门',
prop: 'createDept',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "主键",
prop: "id",
type: "input",
label: '主键',
prop: 'id',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
// {
// label: "预留1",
@ -122,48 +131,51 @@ export default {
// type: "input",
// },
{
label: "仓库名称",
prop: "warehouseName",
type: "input",
label: '仓库名称',
prop: 'warehouseName',
type: 'input',
addDisplay: false,
editDisplay: false,
align:'center',
labelWidth:'100',
align: 'center',
labelWidth: '100',
width: 'fit-content',
},
{
label: "货区名称",
prop: "goodsAreaName",
type: "input",
label: '货区名称',
prop: 'goodsAreaName',
type: 'input',
addDisplay: false,
editDisplay: false,
align:'center',
labelWidth:'100',
align: 'center',
labelWidth: '100',
width: 'fit-content',
},
{
label: "货架名称",
prop: "goodsShelfName",
type: "input",
label: '货架名称',
prop: 'goodsShelfName',
type: 'input',
addDisplay: false,
editDisplay: false,
align:'center',
labelWidth:'100',
align: 'center',
labelWidth: '100',
width: 'fit-content',
},
{
label: '货架',
prop: 'nodeInfo',
type: "cascader",
type: 'cascader',
width: 'fit-content',
search: true,
labelWidth:'100',
clearable:true,
placeholder:'仓库/货区/货架',
labelWidth: '100',
clearable: true,
placeholder: '仓库/货区/货架',
dicUrl: '/api/logpm-basicdata/goodsAllocation/getNode',
// dicData:dicData ,
props: {
label:'label',
value:'value',
children:'children',
leaf:'leaf',
label: 'label',
value: 'value',
children: 'children',
leaf: 'leaf',
},
addDisplay: true,
editDisplay: false,
@ -171,113 +183,122 @@ export default {
hide: true,
},
{
label: "货位名称",
prop: "goodsAllocationName",
type: "input",
label: '货位名称',
prop: 'goodsAllocationName',
type: 'input',
addDisplay: true,
editDisplay: true,
align:'center',
labelWidth:'100',
rules: [{
required: true,
message: "请输入货位名称",
trigger: "blur"
}]
align: 'center',
labelWidth: '100',
width: 'fit-content',
rules: [
{
required: true,
message: '请输入货位名称',
trigger: 'blur',
},
],
},
{
label: "所在列",
prop: "columnNum",
type: "input",
align:'center',
labelWidth:'100',
label: '所在列',
prop: 'columnNum',
type: 'input',
align: 'center',
labelWidth: '100',
addDisplay: true,
editDisplay: true,
viewDisplay: true,
hide: false,
search: true,
width: 'fit-content',
},
{
label: "所在层",
prop: "layerNum",
type: "input",
align:'center',
labelWidth:'100',
label: '所在层',
prop: 'layerNum',
type: 'input',
align: 'center',
labelWidth: '100',
addDisplay: true,
editDisplay: true,
viewDisplay: true,
hide: false,
search: true,
width: 'fit-content',
},
{
label: "启用状态",
prop: "enableStatus",
type: "select",
label: '启用状态',
prop: 'enableStatus',
type: 'select',
search: false,
labelWidth:'100',
labelWidth: '100',
dicUrl: '/api/blade-system/dict-biz/dictionary?code=enable_status',
props: {
label: 'dictValue',
value: 'dictKey',
},
addDisplay: false,
align:'center',
align: 'center',
editDisplay: false,
viewDisplay: false,
hide: false,
width: 'fit-content',
},
{
label: "货位状态",
prop: "allocationStatus",
type: "select",
label: '货位状态',
prop: 'allocationStatus',
type: 'select',
search: true,
labelWidth:'100',
labelWidth: '100',
dicUrl: '/api/blade-system/dict-biz/dictionary?code=allocation_status',
props: {
label: 'dictValue',
value: 'dictKey',
},
addDisplay: false,
align:'center',
align: 'center',
width: 'fit-content',
},
{
label: "货位码",
prop: "qrCode",
type: "input",
align:'center',
labelWidth:'100',
label: '货位码',
prop: 'qrCode',
type: 'input',
align: 'center',
labelWidth: '100',
viewDisplay: true,
addDisplay: false,
editDisplay: false,
hide:true,
hide: true,
width: 'fit-content',
},
{
label: "旧ID",
prop: "oldId",
type: "input",
align:'center',
labelWidth:'100',
label: '旧ID',
prop: 'oldId',
type: 'input',
align: 'center',
labelWidth: '100',
viewDisplay: true,
addDisplay: false,
editDisplay: false,
hide:true,
hide: true,
width: 'fit-content',
},
{
label: "旧货位码",
prop: "oldQrCode",
type: "input",
align:'center',
labelWidth:'100',
label: '旧货位码',
prop: 'oldQrCode',
type: 'input',
align: 'center',
labelWidth: '100',
viewDisplay: true,
addDisplay: false,
editDisplay: true,
width: 'fit-content',
},
{
label: "模 板",
prop: "templateId",
type: "select",
align:'center',
labelWidth:'100',
label: '模 板',
prop: 'templateId',
type: 'select',
align: 'center',
labelWidth: '100',
dicUrl: '/api/logpm-basic/printTemplate/getTemplate?templateType=8',
props: {
label: 'templateName',
@ -286,7 +307,8 @@ export default {
viewDisplay: true,
addDisplay: true,
editDisplay: false,
hide:true,
width: 'fit-content',
hide: true,
},
// {
// label: "二维码图片",
@ -305,7 +327,5 @@ export default {
// addDisplay: false,
// editDisplay: false,
// },
]
}
],
};

174
src/option/basicdata/basicdataTray.js

@ -1,6 +1,6 @@
export default {
height:'auto',
height: 'auto',
calcHeight: 30,
tip: false,
searchShow: true,
@ -11,90 +11,100 @@ export default {
editBtn: false,
selection: true,
index: true,
indexLabel:'序号',
indexWidth:'150',
indexLabel: '序号',
indexWidth: '150',
dialogClickModal: false,
column: [
{
label: "租户号",
prop: "tenantId",
type: "input",
label: '租户号',
prop: 'tenantId',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
width: 'fit-content',
hide: true,
width: 'fit-content',
},
{
label: "创建人",
prop: "createUser",
type: "input",
label: '创建人',
prop: 'createUser',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "创建时间",
prop: "createTime",
type: "input",
label: '创建时间',
prop: 'createTime',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "更新人",
prop: "updateUser",
type: "input",
label: '更新人',
prop: 'updateUser',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "更新时间",
prop: "updateTime",
type: "input",
label: '更新时间',
prop: 'updateTime',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "状态",
prop: "status",
type: "input",
label: '状态',
prop: 'status',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "是否已删除",
prop: "isDeleted",
type: "input",
label: '是否已删除',
prop: 'isDeleted',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "创建部门",
prop: "createDept",
type: "input",
label: '创建部门',
prop: 'createDept',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
{
label: "主键",
prop: "id",
type: "input",
label: '主键',
prop: 'id',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
width: 'fit-content',
},
// {
// label: "预留1",
@ -128,104 +138,110 @@ export default {
// labelWidth:'100',
// },
{
label: "仓 库",
prop: "warehouseId",
label: '仓 库',
prop: 'warehouseId',
search: true,
type: "select",
type: 'select',
dicUrl: '/api/logpm-basicdata/warehouse/warehouseListqx',
filterable:true,
filterable: true,
props: {
label: 'name',
value: 'id',
},
rules: [{ required: true, message: '请选择仓库!',trigger: 'blur'}],
placeholder:'请输入仓库关键词',
labelWidth:'100',
rules: [{ required: true, message: '请选择仓库!', trigger: 'blur' }],
placeholder: '请输入仓库关键词',
labelWidth: '100',
addDisplay: true,
editDisplay: false,
viewDisplay: true,
width: 'fit-content',
},
{
label: "托盘类型",//;木托 铁托 台面托
prop: "type",
type: "select",
label: '托盘类型', //;木托 铁托 台面托
prop: 'type',
type: 'select',
search: true,
dicUrl: '/api/blade-system/dict-biz/dictionary?code=tray_type',
props: {
label: 'dictValue',
value: 'dictKey',
},
align:'center',
labelWidth:'100',
align: 'center',
labelWidth: '100',
addDisplay: true,
editDisplay: true,
viewDisplay: true,
width: 'fit-content',
},
{
label: "托盘状态",
prop: "trayStatus",
type: "select",
search:true,
dicUrl:'/api/blade-system/dict-biz/dictionary?code=tray_status',
label: '托盘状态',
prop: 'trayStatus',
type: 'select',
search: true,
dicUrl: '/api/blade-system/dict-biz/dictionary?code=tray_status',
props: {
label: 'dictValue',
value: 'dictKey',
},
align:'center',
labelWidth:'100',
width:200,
align: 'center',
labelWidth: '100',
width: 'fit-content',
},
{
label: "托盘码",
prop: "palletCode",
type: "input",
labelWidth:'100',
search:true,
label: '托盘码',
prop: 'palletCode',
type: 'input',
labelWidth: '100',
search: true,
addDisplay: false,
editDisplay: false,
viewDisplay: true,
hide: false
width: 'fit-content',
hide: false,
},
{
label: "数量",
prop: "number",
type: "number",
labelWidth:'100',
label: '数量',
prop: 'number',
type: 'number',
labelWidth: '100',
addDisplay: true,
editDisplay: false,
viewDisplay: false,
hide: true,
rules: [{ required: true, message: '请选择状态!',trigger: 'blur'}],
width: 'fit-content',
rules: [{ required: true, message: '请选择状态!', trigger: 'blur' }],
},
{
label: "旧托盘码",
prop: "oldQrCode",
type: "input",
labelWidth:'100',
label: '旧托盘码',
prop: 'oldQrCode',
type: 'input',
labelWidth: '100',
addDisplay: false,
editDisplay: true,
viewDisplay: true,
width: 'fit-content',
},
{
label: "禁用状态",
prop: "disableTypeName",
type: "input",
labelWidth:'100',
label: '禁用状态',
prop: 'disableTypeName',
type: 'input',
labelWidth: '100',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
width: 'fit-content',
},
{
label: "旧ID",
prop: "oldId",
type: "input",
labelWidth:'100',
label: '旧ID',
prop: 'oldId',
type: 'input',
labelWidth: '100',
addDisplay: true,
editDisplay: false,
viewDisplay: false,
hide: true
hide: true,
width: 'fit-content',
},
// {
// label: "二维码",
@ -253,7 +269,5 @@ export default {
// url: 'link',
// },
// },
]
}
],
};

91
src/views/basicdata/brand/basicClient.vue

@ -476,7 +476,7 @@ export default {
label: '客户名称',
type: 2,
values: '',
width: '150',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -487,7 +487,7 @@ export default {
label: '客户编码',
type: 2,
values: '',
width: '150',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -498,7 +498,7 @@ export default {
label: '客户类型',
type: 3,
values: '',
width: '150',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -509,7 +509,7 @@ export default {
label: '服务类型',
type: 1,
values: '',
width: '180',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -519,7 +519,7 @@ export default {
label: '地址',
type: 2,
values: '',
width: '300',
width: '200',
checkarr: [],
fixed: false,
sortable: true,
@ -540,7 +540,7 @@ export default {
label: '控货',
type: 11,
values: '',
width: '180',
width: '100',
checkarr: [
// {value:false,label:''},
// {value:true,label:''},
@ -553,7 +553,7 @@ export default {
label: '合同开始时间',
type: 5,
values: '',
width: '150',
width: '100',
checkarr: [],
fixed: false,
sortable: true,
@ -563,7 +563,7 @@ export default {
label: '合同结束时间',
type: 5,
values: '',
width: '150',
width: '100',
checkarr: [],
fixed: false,
sortable: true,
@ -574,7 +574,7 @@ export default {
label: '操作',
type: 6,
values: '',
width: '250',
width: '200',
checkarr: [],
fixed: 'right',
hide: true,
@ -919,12 +919,12 @@ export default {
} else {
//false
//done
this.data.map(item=>{
if(item.id==row.id){
item.cargoControl=!item.cargoControl
this.data.map(item => {
if (item.id == row.id) {
item.cargoControl = !item.cargoControl;
}
return item
})
return item;
});
done();
}
},
@ -1198,67 +1198,6 @@ export default {
},
});
return;
getDetail(row.id).then(res => {
// res.data.data.typeService = res.data.data.typeService.toString();
console.log('>>>>>', res.data.data);
this.form = res.data.data;
if (this.form.detailedly == '0' || this.form.detailedly == '-1') {
this.form.detailedly = '';
}
let bus = [];
// console.log("????><><><",this.form.typeServiceBusiness);
this.form.typeServiceBusiness.forEach(i => {
bus.push(i.typeService);
if (i.typeService == '3') {
this.distriType = true;
// i.businessType = i.mold;
this.form.businessType = i.mold;
}
});
if (!!bus) {
this.form.typeServiceList = bus;
}
//
let a = [];
if (!!this.form.bladeRegionProvinceId) {
if (res.data.data?.bladeRegionProvinceId) {
a.push(res.data.data.bladeRegionProvinceId);
}
if (res.data.data?.bladeRegionCityId) {
a.push(res.data.data.bladeRegionCityId);
}
if (res.data.data?.bladeRegionAreaId) {
a.push(res.data.data.bladeRegionAreaId);
}
}
console.log('aaa', a);
this.form.bladeRegionProvinceId = a;
//
if (!!this.form.leaseAccessories) {
if (this.form.leaseAccessories.includes(',')) {
let le = [];
let d = this.form.leaseAccessories.splice(',');
d.forEach(i => {
console.log('>>>>', i);
let q = {
name: '',
url: i,
};
le.push(q);
});
this.fileList = le;
} else {
this.fileList = [
{
name: this.form.fileName,
url: this.form.leaseAccessories,
},
];
}
}
});
},
handleDrawer(row) {
this.basicClientId = row.id;
@ -1470,7 +1409,7 @@ export default {
// console.log("dzdz",dz);
this.page.total = data.total;
this.data = data.records;
this.data=this.$functions.newdatas(this.columnList, this.data);
this.data = this.$functions.newdatas(this.columnList, this.data);
this.loading = false;
this.selectionClear();
});

14
src/views/basicdata/brand/basicdataFreight.vue

@ -99,6 +99,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "创建人",
@ -108,6 +109,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "创建时间",
@ -117,6 +119,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "更新人",
@ -126,6 +129,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "更新时间",
@ -135,6 +139,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "状态",
@ -144,6 +149,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "是否已删除",
@ -153,6 +159,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "创建部门",
@ -162,6 +169,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "主键",
@ -171,6 +179,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "预留1",
@ -180,6 +189,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "预留2",
@ -189,6 +199,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "预留3",
@ -198,6 +209,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "预留4",
@ -207,6 +219,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "预留5",
@ -216,6 +229,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width:"fit-content"
},
{
label: "计算方式", //;1 2 3

13
src/views/basicdata/brand/basicdataSupportValue.vue

@ -83,6 +83,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "租户号",
@ -92,6 +93,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "创建人",
@ -101,6 +103,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
@ -111,6 +114,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "更新时间",
@ -120,6 +124,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "状态",
@ -129,6 +134,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "是否已删除",
@ -138,6 +144,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "创建部门",
@ -147,6 +154,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "价格区间",
@ -215,6 +223,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "预留2",
@ -224,6 +233,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "预留3",
@ -233,6 +243,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "预留4",
@ -242,6 +253,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
{
label: "预留5",
@ -251,6 +263,7 @@
editDisplay: false,
viewDisplay: false,
hide: true,
width: "fit-content"
},
// {
// label: "",

5
src/views/basicdata/carrier/basicdataCarrier.vue

@ -237,5 +237,8 @@
};
</script>
<style>
<style scoped lang="scss">
:deep(.el-form-item__label){
width: 100px !important;
}
</style>

10
src/views/basicdata/team/basicdataTeamGroup.vue

@ -186,7 +186,7 @@ export default {
label: '组名',
type: 2,
values: '',
width: '300',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -197,7 +197,7 @@ export default {
label: '仓库',
type: 2,
values: '',
width: '300',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -208,7 +208,7 @@ export default {
label: '班组类型',
type: 2,
values: '',
width: '300',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -218,7 +218,7 @@ export default {
label: '归属部门',
type: 2,
values: '',
width: '300',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -228,7 +228,7 @@ export default {
label: '操作',
type: 6,
values: '',
width: '180',
width: 'fit-content',
checkarr: [],
fixed: 'right',
sortable: false,

20
src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue

@ -248,7 +248,7 @@ export default {
label: '仓库名称',
type: 2,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -259,7 +259,7 @@ export default {
label: '货区名称',
type: 2,
values: '',
width: '150',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -270,7 +270,7 @@ export default {
label: '货区状态',
type: 2,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -281,7 +281,7 @@ export default {
label: '货区类型',
type: 2,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -291,7 +291,7 @@ export default {
label: '总货位',
type: 1,
values: '',
width: '100',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -301,7 +301,7 @@ export default {
label: '使用货位',
type: 1,
values: '',
width: '100',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -311,7 +311,7 @@ export default {
label: '可用货位',
type: 1,
values: '',
width: '100',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -321,7 +321,7 @@ export default {
label: '禁用货位',
type: 1,
values: '',
width: '100',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -331,7 +331,7 @@ export default {
label: '创建人',
type: 2,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -341,7 +341,7 @@ export default {
label: '创建时间',
type: 3,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,

20
src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue

@ -371,7 +371,7 @@ export default {
label: '仓库名称',
type: 2,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -382,7 +382,7 @@ export default {
label: '货区名称',
type: 2,
values: '',
width: '150',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -393,7 +393,7 @@ export default {
label: '货架名称',
type: 2,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -404,7 +404,7 @@ export default {
label: '仓库编号',
type: 2,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -414,7 +414,7 @@ export default {
label: '列数',
type: 2,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -424,7 +424,7 @@ export default {
label: '层数',
type: 3,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -434,7 +434,7 @@ export default {
label: '货架状态',
type: 3,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -444,7 +444,7 @@ export default {
label: '启用状态',
type: 3,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -454,7 +454,7 @@ export default {
label: '备注',
type: 3,
values: '',
width: '200',
width: 'fit-content',
checkarr: [],
fixed: false,
sortable: true,
@ -464,7 +464,7 @@ export default {
label: '操作',
type: 6,
values: '',
width: '270',
width: '200',
checkarr: [],
fixed: 'right',
hide: true,

50
src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue

@ -228,7 +228,7 @@ export default {
],
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
},
{
label: '仓库编码',
@ -243,14 +243,14 @@ export default {
],
span: 12,
labelWidth: '120',
width: '100',
width: 'fit-conent',
},
{
label: '仓库简称',
prop: 'abbreviation',
type: 'input',
labelWidth: '120',
width: '100',
width: 'fit-conent',
},
{
label: '联系人',
@ -259,7 +259,7 @@ export default {
search: true,
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
rules: [
{
required: true,
@ -283,7 +283,7 @@ export default {
],
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
},
{
label: '事业线',
@ -324,7 +324,7 @@ export default {
leaf: 'leaf',
},
labelWidth: '120',
width: '100',
width: 'fit-conent',
},
{
label: '职能类型',
@ -332,7 +332,7 @@ export default {
type: 'select',
span: 12,
labelWidth: '120',
width: '90',
width: 'fit-conent',
search: true,
dicUrl: '/api/blade-system/dict-biz/dictionary?code=warehouse_function_type',
dataType: 'number',
@ -347,7 +347,7 @@ export default {
type: 'input',
span: 12,
labelWidth: '120',
width: '180',
width: 'fit-conent',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
@ -360,7 +360,7 @@ export default {
type: 'cascader',
search: true,
labelWidth: '120',
width: '180',
width: 'fit-conent',
clearable: true,
placeholder: '省/市/区',
dicUrl: '/blade-system/region/lazy-listAll',
@ -384,7 +384,7 @@ export default {
type: 'map',
span: 12,
labelWidth: '120',
width: '180',
width: 'fit-conent',
params: {
zoom: 8,
//
@ -411,7 +411,7 @@ export default {
type: 'input',
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
hide: true,
@ -422,7 +422,7 @@ export default {
type: 'input',
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
hide: true,
@ -433,7 +433,7 @@ export default {
type: 'input',
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
addDisplay: false,
editDisplay: false,
hide: true,
@ -445,7 +445,7 @@ export default {
type: 'tree',
span: 12,
labelWidth: '120',
width: '100',
width: 'fit-conent',
dicUrl: '/api/blade-system/dept/lazy-tree?parentId=0',
props: {
label: 'title',
@ -514,7 +514,7 @@ export default {
search: true,
span: 12,
labelWidth: '120',
width: '100',
width: 'fit-conent',
rules: [
{
required: true,
@ -535,7 +535,7 @@ export default {
},
span: 12,
labelWidth: '120',
width: '100',
width: 'fit-conent',
rules: [
{
required: true,
@ -583,7 +583,7 @@ export default {
},
span: 12,
labelWidth: '120',
width: '100',
width: 'fit-conent',
rules: [
{
required: true,
@ -603,7 +603,7 @@ export default {
},
span: 12,
labelWidth: '120',
width: '100',
width: 'fit-conent',
rules: [
{
required: true,
@ -618,7 +618,7 @@ export default {
type: 'input',
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
},
{
label: '电力类型',
@ -632,7 +632,7 @@ export default {
label: 'dictValue',
value: 'dictKey',
},
width: '100',
width: 'fit-conent',
rules: [
{
required: true,
@ -666,7 +666,7 @@ export default {
placeholder: '请选择租赁开始时间',
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
viewDisplay: true,
addDisplay: false,
editDisplay: false,
@ -681,7 +681,7 @@ export default {
placeholder: '请选择租赁结束时间',
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
viewDisplay: true,
addDisplay: false,
editDisplay: false,
@ -699,7 +699,7 @@ export default {
},
span: 12,
labelWidth: '120',
width: '100',
width: 'fit-conent',
rules: [
{
required: true,
@ -720,7 +720,7 @@ export default {
},
span: 12,
labelWidth: '120',
width: '100',
width: 'fit-conent',
rules: [
{
required: true,
@ -755,7 +755,7 @@ export default {
endPlaceholder: '租赁结束日期',
span: 12,
labelWidth: '120',
width: '120',
width: 'fit-content',
search: true,
searchRange: true,
searchSpan: 12,

6
src/views/distribution/delivery/distributionDelivery.vue

@ -322,3 +322,9 @@ export default {
}
};
</script>
<style lang="scss" scoped>
:deep(.el-range-editor.el-input__wrapper){
height: 100% !important;
}
</style>

4
src/views/distribution/deliverylist/distributionDeliveryListdis.vue

@ -1098,6 +1098,7 @@ export default {
return;
}
this.isShow = true;
console.log(111, this.selectionList)
const res = await printBatch({ ids: Array.from(this.selectionList).join(','), type: 1 });
console.log('res :>> ', res);
const {
@ -1169,4 +1170,7 @@ export default {
width: fit-content;
}
}
:deep(.el-date-editor.el-input, .el-date-editor.el-input__wrapper){
height: 100% !important;
}
</style>

4
src/views/distribution/deliverylist/distributionDeliveryListmar.vue

@ -1127,5 +1127,9 @@ export default {
:deep(.el-dialog) {
width: fit-content;
}
:deep(.el-date-editor.el-input, .el-date-editor.el-input__wrapper){
height: 100% !important;
}
}
</style>

4
src/views/distribution/inventory/distributionStockList.vue

@ -1191,4 +1191,8 @@ export default {
.demo-form-inline .el-input {
--el-input-width: 220px;
}
.el-row{
margin-top: 0px !important;
}
</style>

168
src/views/distribution/inventory/distributionStockListMarket.vue

@ -108,20 +108,40 @@
</div>
<div style="border-width: 1px 0 0 0; border-style: solid; border-color: black;margin-top: 5%;padding-top: 2%;padding-left: 1%">
<el-form :inline="true" :model="formInline" class="demo-form-inline" label-width="100">
<el-form-item label="SKU" style="width: 40%">
<el-form-item label="SKU" style="width: 40%">
<el-input v-model="formInline.sku" placeholder="请输入sku" clearable />
</el-form-item>
<el-form-item label="货物名称" style="width: 40%">
<el-input v-model="formInline.descriptionGoods" placeholder="请输入货物名称" clearable />
<el-form-item label="货物名称" style="width: 40%">
<!-- <el-input v-model="formInline.descriptionGoods" placeholder="请输入货物名称" clearable />-->
<el-select
style="width: 100%"
v-model="formInline.materialIdName"
filterable
remote
reserve-keyword
placeholder="请输入物料名称"
:remote-method="remoteMethodName"
@change="getMethodName($event, '1')"
@blur="selectBlur"
:loading="loading"
>
<el-option
v-for="item in optionsName"
:key="item.id"
:label="item.name"
:value="item.id"
/>
</el-select>
</el-form-item>
<el-form-item label="货物单位" style="width: 40%">
<el-select style="width: 100%;"
v-model="formInline.cargoUnit"
filterable
remote
reserve-keyword
remote-show-suffix
placeholder="请选择货物单位"
<el-form-item label="货物单位" style="width: 40%">
<el-select
style="width: 100%"
v-model="formInline.cargoUnit"
filterable
remote
reserve-keyword
remote-show-suffix
placeholder="请选择货物单位"
>
<el-option
v-for="item in distributionUnit"
@ -134,8 +154,18 @@
<el-form-item label="规格" style="width: 40%">
<el-input v-model="formInline.cargoNorms" placeholder="请输入规格" clearable />
</el-form-item>
<el-form-item label="产品编码" style="width: 40%">
<el-input v-model="formInline.cargoNumber" placeholder="请输入产品编码" clearable />
</el-form-item>
<el-form-item label="包装数量" style="width: 40%">
<el-input v-model="formInline.packageNum" placeholder="请输入包装数量" clearable />
</el-form-item>
<el-form-item label="拆箱数" style="width: 40%">
<el-input v-model="formInline.unpackingQuantity" placeholder="请输入拆箱数" clearable />
<el-input
v-model="formInline.unpackingQuantity"
placeholder="请输入拆箱数"
clearable
/>
</el-form-item>
</el-form>
</div>
@ -512,7 +542,7 @@ export default {
// ...
],
height: 0,
formInline:{
formInline: {
descriptionGoods: '',
cargoUnit: '',
cargoNorms: '',
@ -706,7 +736,59 @@ export default {
}
},
methods: {
selectBlur(e) {
// console.log(">>>>>><<<<<<<",e);
let value = e.target.value; //
if (value) {
//
// this.form.produce = value;
// console.log("",value);
this.formInline.materialIdName = value;
}
},
/**
* 查询
* */
async remoteMethodName(query) {
if (query) {
this.loading = true;
//
let asd = await getListMaterial(this.page.currentPage, this.page.pageSize, {
name: query,
pid: this.stockList.materialId,
}).then();
console.log('物料信息', asd.data.data);
if (!!asd.data.data) {
this.optionsName = asd.data.data.records;
}
this.loading = false;
} else {
this.optionsName = [];
}
},
/**
* 物料选择赋值
* */
getMethodName(row, num) {
console.log('名称选择事件', row);
switch (num) {
case '1':
let a = this.optionsName.find(i => i.id == row);
console.log('aaaa>>', a);
if (!!a) {
this.formInline.materialCode = a.productCode;
this.formInline.cargoUnit = a.logpmUnit;
this.formInline.cargoNorms = a.packingSpecification;
this.formInline.cargoNumber = a.productCode;
this.formInline.packageNum = a.packageNum;
this.formInline.descriptionGoods = a.descriptionGoods;
this.formInline.sku = a.sku;
}
break;
case '2':
break;
}
},
showdrawer(value){
this.drawerShow=value
},
@ -837,50 +919,48 @@ export default {
this.onLoad(this.page);
},
//
handleSubmit () {
handleSubmit() {
// if(this.selectionListDismantle.length < 1){
// this.$message.warning("");
// return ;
// }
if (!this.form.id) {
/* const regex = /^\d+$/;
if (regex.test(this.formInline.materialId)) {
// console.log("");
asm.materialId = this.formInline.materialId
} else {
// console.log("");
asm.materialId = this.formInline.materialCode;
}*/
// if(this.selectionListDismantle.length > 0){
// console.log(this.selectionListDismantle);
// let shi = [];
// this.selectionListDismantle.forEach( i =>{
// let a = {
// parcelsId : i.id,
// unpackingQuantity : i.need
// }
// shi.push(a);
// })
// this.form.parcels = shi;
// }
// console.log("");
if(parseInt(this.formInline.unpackingQuantity) >parseInt(this.getQuery.quantityStock)){
this.$message.warning("拆包数量大于在库数量!!!")
return ;
}else{
if (parseInt(this.formInline.unpackingQuantity) > parseInt(this.getQuery.quantityStock)) {
this.$message.warning('拆包数量大于在库数量!!!');
return;
} else {
const regex = /\d+/g; //
const numbers = this.getQuery.packageNum.match(regex); // 使match
parseInt(numbers[0]) * parseInt(this.formInline.unpackingQuantity);
this.formInline.storeNum = parseInt(numbers[0]) * parseInt(this.formInline.unpackingQuantity);
this.formInline.storeNum =
parseInt(numbers[0]) * parseInt(this.formInline.unpackingQuantity);
}
this.formInline.id =this.stockList.id;
this.formInline.materialId =this.stockList.materialId;
this.formInline.marketId =this.stockList.marketId;
this.formInline.storeId =this.stockList.storeId;
// this.formInline.id =this.stockList.id;
this.formInline.materialId = this.stockList.materialId;
this.formInline.marketId = this.stockList.marketId;
this.formInline.storeId =
!!this.stockList.storeId && this.stockList.storeId != '-1'
? this.stockList.storeId
: null;
console.log("提交的值",this.formInline);
this.formInline.descriptionGoods = ''
addParcels(this.formInline).then(() => {
this.box = false;
this.dismantle = false;
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
type: 'success',
message: '操作成功!',
});
this.formInline = {};
});
@ -889,10 +969,10 @@ export default {
this.box = false;
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
type: 'success',
message: '操作成功!',
});
})
});
}
},
handleAdd () {

182
src/views/distribution/inventory/distributionStockListSelf.vue

@ -59,14 +59,14 @@
<div class="avue-crud__pagination" style="width:100%">
<!-- 分页模块 -->
<el-pagination align="right"
background
@size-change="sizeChange"
@current-change="currentChange"
:current-page="page.currentPage"
:page-sizes="[30, 50,80, 120]"
:page-size="page.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="page.total">
background
@size-change="sizeChange"
@current-change="currentChange"
:current-page="page.currentPage"
:page-sizes="[30, 50,80, 120]"
:page-size="page.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="page.total">
</el-pagination>
</div>
</el-row>
@ -108,20 +108,40 @@
</div>
<div style="border-width: 1px 0 0 0; border-style: solid; border-color: black;margin-top: 5%;padding-top: 2%;padding-left: 1%">
<el-form :inline="true" :model="formInline" class="demo-form-inline" label-width="100">
<el-form-item label="SKU" style="width: 40%">
<el-form-item label="SKU" style="width: 40%">
<el-input v-model="formInline.sku" placeholder="请输入sku" clearable />
</el-form-item>
<el-form-item label="货物名称" style="width: 40%">
<el-input v-model="formInline.descriptionGoods" placeholder="请输入货物名称" clearable />
<el-form-item label="货物名称" style="width: 40%">
<!-- <el-input v-model="formInline.descriptionGoods" placeholder="请输入货物名称" clearable />-->
<el-select
style="width: 100%"
v-model="formInline.materialIdName"
filterable
remote
reserve-keyword
placeholder="请输入物料名称"
:remote-method="remoteMethodName"
@change="getMethodName($event, '1')"
@blur="selectBlur"
:loading="loading"
>
<el-option
v-for="item in optionsName"
:key="item.id"
:label="item.name"
:value="item.id"
/>
</el-select>
</el-form-item>
<el-form-item label="货物单位" style="width: 40%">
<el-select style="width: 100%;"
v-model="formInline.cargoUnit"
filterable
remote
reserve-keyword
remote-show-suffix
placeholder="请选择货物单位"
<el-form-item label="货物单位" style="width: 40%">
<el-select
style="width: 100%"
v-model="formInline.cargoUnit"
filterable
remote
reserve-keyword
remote-show-suffix
placeholder="请选择货物单位"
>
<el-option
v-for="item in distributionUnit"
@ -134,8 +154,18 @@
<el-form-item label="规格" style="width: 40%">
<el-input v-model="formInline.cargoNorms" placeholder="请输入规格" clearable />
</el-form-item>
<el-form-item label="产品编码" style="width: 40%">
<el-input v-model="formInline.cargoNumber" placeholder="请输入产品编码" clearable />
</el-form-item>
<el-form-item label="包装数量" style="width: 40%">
<el-input v-model="formInline.packageNum" placeholder="请输入包装数量" clearable />
</el-form-item>
<el-form-item label="拆箱数" style="width: 40%">
<el-input v-model="formInline.unpackingQuantity" placeholder="请输入拆箱数" clearable />
<el-input
v-model="formInline.unpackingQuantity"
placeholder="请输入拆箱数"
clearable
/>
</el-form-item>
</el-form>
</div>
@ -706,6 +736,59 @@ export default {
}
},
methods: {
selectBlur(e) {
// console.log(">>>>>><<<<<<<",e);
let value = e.target.value; //
if (value) {
//
// this.form.produce = value;
// console.log("",value);
this.formInline.materialIdName = value;
}
},
/**
* 查询
* */
async remoteMethodName(query) {
if (query) {
this.loading = true;
//
let asd = await getListMaterial(this.page.currentPage, this.page.pageSize, {
name: query,
pid: this.stockList.materialId,
}).then();
console.log('物料信息', asd.data.data);
if (!!asd.data.data) {
this.optionsName = asd.data.data.records;
}
this.loading = false;
} else {
this.optionsName = [];
}
},
/**
* 物料选择赋值
* */
getMethodName(row, num) {
console.log('名称选择事件', row);
switch (num) {
case '1':
let a = this.optionsName.find(i => i.id == row);
console.log('aaaa>>', a);
if (!!a) {
this.formInline.materialCode = a.productCode;
this.formInline.cargoUnit = a.logpmUnit;
this.formInline.cargoNorms = a.packingSpecification;
this.formInline.cargoNumber = a.productCode;
this.formInline.packageNum = a.packageNum;
this.formInline.descriptionGoods = a.descriptionGoods;
this.formInline.sku = a.sku;
}
break;
case '2':
break;
}
},
showdrawer(value){
this.drawerShow=value
@ -837,50 +920,49 @@ export default {
this.onLoad(this.page);
},
//
handleSubmit () {
handleSubmit() {
// if(this.selectionListDismantle.length < 1){
// this.$message.warning("");
// return ;
// }
if (!this.form.id) {
/* const regex = /^\d+$/;
if (regex.test(this.formInline.materialId)) {
// console.log("");
asm.materialId = this.formInline.materialId
} else {
// console.log("");
asm.materialId = this.formInline.materialCode;
}*/
// if(this.selectionListDismantle.length > 0){
// console.log(this.selectionListDismantle);
// let shi = [];
// this.selectionListDismantle.forEach( i =>{
// let a = {
// parcelsId : i.id,
// unpackingQuantity : i.need
// }
// shi.push(a);
// })
// this.form.parcels = shi;
// }
// console.log("");
if(parseInt(this.formInline.unpackingQuantity) >parseInt(this.getQuery.quantityStock)){
this.$message.warning("拆包数量大于在库数量!!!")
return ;
}else{
if (parseInt(this.formInline.unpackingQuantity) > parseInt(this.getQuery.quantityStock)) {
this.$message.warning('拆包数量大于在库数量!!!');
return;
} else {
const regex = /\d+/g; //
const numbers = this.getQuery.packageNum.match(regex); // 使match
parseInt(numbers[0]) * parseInt(this.formInline.unpackingQuantity);
this.formInline.storeNum = parseInt(numbers[0]) * parseInt(this.formInline.unpackingQuantity);
this.formInline.storeNum =
parseInt(numbers[0]) * parseInt(this.formInline.unpackingQuantity);
}
this.formInline.id =this.stockList.id;
this.formInline.materialId =this.stockList.materialId;
this.formInline.marketId =this.stockList.marketId;
this.formInline.storeId =this.stockList.storeId;
// this.formInline.id =this.stockList.id;
this.formInline.materialId = this.stockList.materialId;
this.formInline.marketId = this.stockList.marketId;
this.formInline.storeId =
!!this.stockList.storeId && this.stockList.storeId != '-1'
? this.stockList.storeId
: null;
console.log("提交的值",this.formInline);
console.log('提交的值', this.formInline);
this.formInline.descriptionGoods = ''
addParcels(this.formInline).then(() => {
this.box = false;
this.dismantle = false;
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
type: 'success',
message: '操作成功!',
});
this.formInline = {};
});
@ -889,10 +971,10 @@ export default {
this.box = false;
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
type: 'success',
message: '操作成功!',
});
})
});
}
},
handleAdd () {

4
src/views/distribution/inventory/distrilbutionBillLadingList.vue

@ -1158,4 +1158,8 @@ export default {
.ca .el-radio__input.is-checked .el-radio__inner {
background: transparent;
}
.el-range-editor.el-input__wrapper{
height: 100% !important;
}
</style>

24
src/views/distribution/reservation/reservation.vue

@ -404,7 +404,7 @@
import { getPostList } from '@/api/system/post';
import { getListOwn } from '@/api/system/user';
import { getListTeam } from '@/api/basicdata/basicdataTeamGroup';
import { stockUp } from '@/api/basicdata/basicdataGoodsArea';
import { stockUp ,getStockUpArea} from '@/api/basicdata/basicdataGoodsArea';
import dayjs from 'dayjs';
export default {
@ -1234,6 +1234,22 @@
this.goodsAreaIdData = fo;
});
},
//
async getStockUpArea() {
getStockUpArea().then(res => {
// console.log("res>>>",res.data.data);
let fo = [];
res.data.data.forEach(i => {
let v = {
dictKey: i.id,
dictValue: i.name + '-' + i.headline
};
fo.push(v);
});
this.goodsAreaIdData = fo;
});
},
searchHide() {
this.search = !this.search;
},
@ -1368,9 +1384,9 @@
}
this.dialogFormCustomer = true;
this.info.stockupDate = dayjs().format('YYYY-MM-DD HH:mm:ss');
this.getFork();
this.getTeam();
this.getStockUpArea();
// this.getFork();
// this.getTeam();
},
//
callFordelivery() {

16
src/views/distribution/reservation/reservationAddFrom.vue

@ -1702,7 +1702,7 @@
},
mounted() {
this.init();
this.onLoad(this.page);
this.getDictionary();
},
@ -2054,6 +2054,7 @@
message: '请输入' + item.orderCode + '正确数量!'
});
operation = false;
return;
}
item.reservationNum = item.reservationNum;
inventoryIds.push(item.id);
@ -2095,9 +2096,20 @@
item.packageListInfo = item.parcelListVOS;
}
});
console.log("------------------->this.form.inventoryList",this.form.inventoryList);
console.log("------------------->this.form.stockArticleList",this.form.stockArticleList);
if (JSON.stringify(this.form.inventoryList) === '[]' && JSON.stringify(this.form.stockArticleList) === '[]' ){
this.$message({
type: 'warning',
message: '无效的预约计划!'
});
operation = false;
return;
}
// this.form.stockArticleList = this.packageList;
console.log('>>>>>>>>', this.form);
if (this.reservationId) {
if (this.reservationId) {
this.form.id = this.reservationId;
update(this.form).then(() => {
this.$router.go(-1);

3781
src/views/distribution/signfor/distributionSignforedt.vue

File diff suppressed because it is too large Load Diff

5
src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue

@ -1224,4 +1224,9 @@ export default {
height: auto !important;
}
}
//
:deep(.el-select){
width: 100%;
}
</style>

10
vite.config.js

@ -35,16 +35,12 @@ export default ({ mode, command }) => {
output: {
// 分包
manualChunks(id) {
if (id.includes("node_modules")) {
return id
.toString()
.split("node_modules/")[1]
.split("/")[0]
.toString();
if (id.includes('node_modules')) {
return id.toString().split('node_modules/')[1].split('/')[0].toString();
}
},
},
},
}
},
});
};

Loading…
Cancel
Save