Browse Source

【nev-pc】创建标签添加生产退库原因+高级筛选字典格式问题修改

ag_report_nev
安虹睿 11 months ago
parent
commit
ff25df7545
  1. 3
      fe/PC/src/components/searchOverall/index.vue
  2. 10
      fe/PC/src/filters/status.js
  3. 6
      fe/PC/src/views/labelManage/PartiallyPreparedProducts/RecycledMaterialsLabel.vue

3
fe/PC/src/components/searchOverall/index.vue

@ -448,6 +448,9 @@ export default {
if (val == key.prop) { if (val == key.prop) {
if (key.filters) { if (key.filters) {
data = key data = key
if(key.filters == 'getDict'){
data.filters = key.dictType
}
} else { } else {
data = {} data = {}
} }

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

@ -2369,10 +2369,7 @@ 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) { export function ContainerSpecificationsType(index, prop) {
return Enum(store.getters.dictionaries.ContainerSpecificationsType, index, prop) return Enum(store.getters.dictionaries.ContainerSpecificationsType, index, prop)
} }
@ -2475,6 +2472,11 @@ export function positionCodeType(index, prop) {
return Enum(type, index, prop) return Enum(type, index, prop)
} }
// 生产退库原因
export function ProductionReturnReason(index, prop) {
return Enum(store.getters.dictionaries.ProductionReturnReason, index, prop)
}
// 器具类型 // 器具类型
export function utensilType(index, prop) { export function utensilType(index, prop) {
let type = { let type = {

6
fe/PC/src/views/labelManage/PartiallyPreparedProducts/RecycledMaterialsLabel.vue

@ -148,7 +148,8 @@ export default {
{ type: "inputNumber", label: "标签个数", prop: "labelQty", min:1,colSpan: 12 }, { type: "inputNumber", label: "标签个数", prop: "labelQty", min:1,colSpan: 12 },
{ type: "dateTime", label: "生产时间", prop: "produceDate", colSpan: 12 }, { type: "dateTime", label: "生产时间", prop: "produceDate", colSpan: 12 },
{ type: "dateTime", label: "到货时间", prop: "arriveDate", colSpan: 12 }, { type: "dateTime", label: "到货时间", prop: "arriveDate", colSpan: 12 },
{ type: "input", label: "备注", prop: "remark", colSpan: 12 }, // { type: "input", label: "", prop: "remark", colSpan: 12 },
{ type: "select",prop: "remark",options: "ProductionReturnReason", label: "生产退库原因", colSpan: 12 },
{ {
hide:false,type: "filterSelect", label: "供应商代码", prop: "supplierCode", optionsLabel: "supplierSimpleName", optionsValue: "supplierCode", clearable:true, hide:false,type: "filterSelect", label: "供应商代码", prop: "supplierCode", optionsLabel: "supplierSimpleName", optionsValue: "supplierCode", clearable:true,
beforeFocus:()=>{if(!this.selectData.itemCode || this.selectData.itemCode.length <= 0){this.$message.error('请输入'+_Names.itemCode); return false}else{return true}}, beforeFocus:()=>{if(!this.selectData.itemCode || this.selectData.itemCode.length <= 0){this.$message.error('请输入'+_Names.itemCode); return false}else{return true}},
@ -186,7 +187,8 @@ export default {
{ width:"auto",label: "供应商零件号", prop: "supplierItemCode", }, { width:"auto",label: "供应商零件号", prop: "supplierItemCode", },
{ width:"auto",label: "供应商零件名", prop: "supplierItemName", }, { width:"auto",label: "供应商零件名", prop: "supplierItemName", },
{ width:"auto",label: "采购订单号", prop: "poNumber",type: "dateTime" }, { width:"auto",label: "采购订单号", prop: "poNumber",type: "dateTime" },
{ width:"auto",label: "备注", prop: "remark", }, // { width:"auto",label: "", prop: "remark", },
{ label: "生产退库原因", prop: "remark",type: "filter", filters: "getDict", dictType:"ProductionReturnReason"},
{ width:"auto",label: "箱标签", prop: "packingCode",fixed:"right" }, { width:"auto",label: "箱标签", prop: "packingCode",fixed:"right" },
], ],
// //

Loading…
Cancel
Save