|
|
@ -976,7 +976,7 @@ import ComPoOrderCustomerPicker from './com_poOrder_CustomerPicker.vue' |
|
|
import ComPoOrderDynamicFieldRenderer from './com_poOrder_DynamicFieldRenderer.vue' |
|
|
import ComPoOrderDynamicFieldRenderer from './com_poOrder_DynamicFieldRenderer.vue' |
|
|
|
|
|
|
|
|
const ADD_CHOOSER_FIELD_CODES = new Set(['buyer', 'supplier_name', 'part_no', 'ship_via']) |
|
|
const ADD_CHOOSER_FIELD_CODES = new Set(['buyer', 'supplier_name', 'part_no', 'ship_via']) |
|
|
const ADD_DISPLAY_ONLY_FIELD_CODES = new Set(['short_office', 'short_npc', 'item', 'category_name', 'sku', 'value', 'status', 'planner', 'crd_ori', 'base_price']) |
|
|
|
|
|
|
|
|
const ADD_DISPLAY_ONLY_FIELD_CODES = new Set(['short_office', 'short_npc', 'item', 'category_name', 'sku', 'value', 'status', 'planner', 'crd_ori', 'base_price', 'ori_transit_cycle']) |
|
|
const ADD_TEXTAREA_FIELD_CODES = new Set(['remark']) |
|
|
const ADD_TEXTAREA_FIELD_CODES = new Set(['remark']) |
|
|
const ADD_FULL_ROW_FIELD_CODES = new Set(['remark']) |
|
|
const ADD_FULL_ROW_FIELD_CODES = new Set(['remark']) |
|
|
const ADD_NUMBER_FIELD_CODES = new Set(['price', 'qty', 'ship_qty', 'sum_price']) |
|
|
const ADD_NUMBER_FIELD_CODES = new Set(['price', 'qty', 'ship_qty', 'sum_price']) |
|
|
@ -1138,7 +1138,7 @@ export default { |
|
|
/** Chooselist 弹窗选择列(editAble 可为 false,如供应商/物料) */ |
|
|
/** Chooselist 弹窗选择列(editAble 可为 false,如供应商/物料) */ |
|
|
chooserEditColumnProps: ['supplierName', 'partNo', 'departure', 'destination', 'shipVia'], |
|
|
chooserEditColumnProps: ['supplierName', 'partNo', 'departure', 'destination', 'shipVia'], |
|
|
/** 联表展示、不写入 PO 的列 */ |
|
|
/** 联表展示、不写入 PO 的列 */ |
|
|
displayOnlyColumnProps: ['shortOffice', 'shortNpc', 'item', 'categoryName', 'sku', 'planner', 'basePrice'], |
|
|
|
|
|
|
|
|
displayOnlyColumnProps: ['shortOffice', 'shortNpc', 'item', 'categoryName', 'sku', 'planner', 'basePrice', 'oriTransitCycle'], |
|
|
customEditColumnProps: [], |
|
|
customEditColumnProps: [], |
|
|
|
|
|
|
|
|
// ===== 导入弹窗状态(新导入:模板下载 + 直接执行)===== |
|
|
// ===== 导入弹窗状态(新导入:模板下载 + 直接执行)===== |
|
|
@ -1777,6 +1777,29 @@ export default { |
|
|
selectOptionsKey: 'transportOptions', |
|
|
selectOptionsKey: 'transportOptions', |
|
|
selectOptions: null |
|
|
selectOptions: null |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 812003, |
|
|
|
|
|
serialNumber: '812003Table1OriTransitCycle', |
|
|
|
|
|
tableId: '812003Table1', |
|
|
|
|
|
tableName: 'PO Order', |
|
|
|
|
|
columnProp: 'oriTransitCycle', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'center', |
|
|
|
|
|
columnLabel: 'OriTransitCycle', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 130, |
|
|
|
|
|
showOverflowTooltip: true, |
|
|
|
|
|
editAble: false, |
|
|
|
|
|
editType: 'num', |
|
|
|
|
|
selectOptionsKey: '', |
|
|
|
|
|
selectOptions: null |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 812003, |
|
|
functionId: 812003, |
|
|
@ -2279,7 +2302,8 @@ export default { |
|
|
columnWidth: 110, |
|
|
columnWidth: 110, |
|
|
showOverflowTooltip: true, |
|
|
showOverflowTooltip: true, |
|
|
editAble: true, |
|
|
editAble: true, |
|
|
editType: 'text', |
|
|
|
|
|
|
|
|
editType: 'dict-select', |
|
|
|
|
|
dictType: 'remark_delay', |
|
|
selectOptionsKey: '', |
|
|
selectOptionsKey: '', |
|
|
selectOptions: null |
|
|
selectOptions: null |
|
|
}, |
|
|
}, |
|
|
@ -2378,7 +2402,7 @@ export default { |
|
|
return [] |
|
|
return [] |
|
|
} |
|
|
} |
|
|
const sortedFields = this.addFormSchemaFields |
|
|
const sortedFields = this.addFormSchemaFields |
|
|
.filter(f => f && f.visibleFlag === 'Y' && !this.isExtSchemaField(f) && this.getAddFieldCode(f) !== 'crd_ori' && this.getAddFieldCode(f) !== 'base_price') |
|
|
|
|
|
|
|
|
.filter(f => f && f.visibleFlag === 'Y' && !this.isExtSchemaField(f) && this.getAddFieldCode(f) !== 'crd_ori' && this.getAddFieldCode(f) !== 'base_price' && this.getAddFieldCode(f) !== 'ori_transit_cycle') |
|
|
.slice() |
|
|
.slice() |
|
|
.sort((a, b) => { |
|
|
.sort((a, b) => { |
|
|
const sa = Number(a && a.sortNo) |
|
|
const sa = Number(a && a.sortNo) |
|
|
|