Browse Source

【nev-pc】暂存

ag_report_nev
安虹睿 1 year ago
parent
commit
b55d7caa69
  1. 8
      fe/PC/src/filters/status.js
  2. 6
      fe/PC/src/utils/tableColumns/index.js
  3. 18
      fe/PC/src/views/basicData/ItemsManage/Utensil.vue
  4. 3
      fe/PC/src/views/inventoryManage/InventoryQuery/InventoryBalance.vue

8
fe/PC/src/filters/status.js

@ -2359,6 +2359,14 @@ export function SupplierAsnCtypeStaBack(name){
return Enum(store.getters.dictionaries.CaseCode, index, prop) return Enum(store.getters.dictionaries.CaseCode, index, prop)
} }
// 专案代码
/**
* @returns {object} '专案代码'
*/
export function ContainerSpecificationsType(index, prop) {
return Enum(store.getters.dictionaries.ContainerSpecificationsType, index, prop)
}
// 获取业务字典类型 // 获取业务字典类型
/** /**
* @returns {object} * @returns {object}

6
fe/PC/src/utils/tableColumns/index.js

@ -1569,7 +1569,7 @@ export const IssueRequest = [
{ label: "备注", prop: 'remark' }, { label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" }, { label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "叫料类型", prop: 'type' }, // { label: "叫料类型", prop: 'type' },
{ label: "备料计划单号", prop: 'preparationPlanNumber',width: orderWidth }, { label: "备料计划单号", prop: 'preparationPlanNumber',width: orderWidth },
{ label: "生产线", prop: 'prodLine' }, { label: "生产线", prop: 'prodLine' },
{ label: "车间", prop: 'workshop' }, { label: "车间", prop: 'workshop' },
@ -1665,7 +1665,7 @@ export const automaticCallApply = [
{ label: "备注", prop: 'remark' }, { label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" }, { label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "叫料类型", prop: 'type' }, // { label: "叫料类型", prop: 'type' },
{ label: "备料计划单号", prop: 'preparationPlanNumber',width: orderWidth }, { label: "备料计划单号", prop: 'preparationPlanNumber',width: orderWidth },
{ label: "生产线", prop: 'prodLine' }, { label: "生产线", prop: 'prodLine' },
{ label: "车间", prop: 'workshop' }, { label: "车间", prop: 'workshop' },
@ -2650,6 +2650,8 @@ export const InventoryBalance = [
{ label: "配置", prop: "item_configurationFromFE",showProp:true }, { label: "配置", prop: "item_configurationFromFE",showProp:true },
{ label: "库存数量", prop: "qty",isNumber:true }, { label: "库存数量", prop: "qty",isNumber:true },
{ label: "计量单位", prop: "uom" }, { label: "计量单位", prop: "uom" },
{ label: "标准成本单价", prop: "stdCostPrice" },
{ label: "标准成本价格", prop: "stdCost" },
{ label: "批次", prop: "lot" }, { label: "批次", prop: "lot" },
{ label: "库位代码", prop: "locationCode" }, { label: "库位代码", prop: "locationCode" },
{ label: "库存状态", type: "filter", filters: "inventoryStage", prop: "status" }, { label: "库存状态", type: "filter", filters: "inventoryStage", prop: "status" },

18
fe/PC/src/views/basicData/ItemsManage/Utensil.vue

@ -148,27 +148,27 @@ export default {
concurrencyStamp: "" concurrencyStamp: ""
}, },
editOptions: {}, editOptions: {},
// todo:1
CreateForm: [ CreateForm: [
{ type: "prefixInput", label: "器具号", prop: "codeSuffix",prefixProp:"type",prefixWidth:'50px',prefixDisabled:true, colSpan: 12 }, { type: "prefixInput", label: "器具号", prop: "codeSuffix",prefixProp:"type",prefixWidth:'50px',prefixDisabled:true, colSpan: 12 },
//todo:, //todo:
{ type: "select", label: "尺寸", prop: "size", colSpan: 12 }, { type: "select", options: "ContainerSpecificationsType",label: "器具规格", prop: "size", colSpan: 12 },
// todo:, //todo:
{ type: "select",options: "utensilType", label: "类型", prop: "type2", colSpan: 12 }, { type: "select",options: "utensilType", label: "器具类型", prop: "type2", colSpan: 12 },
//todo //todo
{ type: "inputNumber", label: "标包数量", prop: "stdQty", colSpan: 12, min:1 }, { type: "inputNumber", label: "标包数量", prop: "stdQty", colSpan: 12, min:1 },
{ type: "input", label: "备注", prop: "remark", colSpan: 12 }, { type: "input", label: "备注", prop: "remark", colSpan: 12 },
], ],
editForm: [ editForm: [
{ disabled:true,type: "prefixInput", label: "器具号", prop: "codeSuffix",prefixProp:"type",prefixWidth:'50px',prefixDisabled:true, colSpan: 12 }, { disabled:true,type: "prefixInput", label: "器具号", prop: "codeSuffix",prefixProp:"type",prefixWidth:'50px',prefixDisabled:true, colSpan: 12 },
//todo:, //todo:
{ type: "select", label: "尺寸", prop: "size", colSpan: 12 }, { type: "select",options: "ContainerSpecificationsType", label: "器具规格", prop: "size", colSpan: 12 },
// todo:, //todo:
{ type: "select",options: "utensilType", label: "类型", prop: "type2", colSpan: 12 }, { type: "select",options: "utensilType", label: "器具类型", prop: "type2", colSpan: 12 },
//todo //todo
{ type: "inputNumber", label: "标包数量", prop: "stdQty", colSpan: 12, min:1 }, { type: "inputNumber", label: "标包数量", prop: "stdQty", colSpan: 12, min:1 },
{ type: "input", label: "备注", prop: "remark", colSpan: 12 }, { type: "input", label: "备注", prop: "remark", colSpan: 12 },
], ],
//todo:+
editRules: { editRules: {
cerateRule: { cerateRule: {
codeSuffix: [{ required: true, trigger: "blur", message: "不可为空" }], codeSuffix: [{ required: true, trigger: "blur", message: "不可为空" }],

3
fe/PC/src/views/inventoryManage/InventoryQuery/InventoryBalance.vue

@ -102,7 +102,8 @@ export default {
data () { data () {
return { return {
showTableBaseFromFE:['configuration'], showTableBaseFromFE:['configuration'],
URL: 'wms/inventory/inventory-balance', // URL: 'wms/inventory/inventory-balance',
listURL:"wms/inventory/inventory-balance/get-list",
// //
currenButtonData: [ currenButtonData: [
this.defaultImportBtn(),// this.defaultImportBtn(),//

Loading…
Cancel
Save