Browse Source

BUG修改

master
parent
commit
5627151c6c
  1. 22
      src/views/eam/item/adjustRecord/adjustRecord.data.ts
  2. 22
      src/views/eam/item/countRecord/countRecord.data.ts
  3. 4
      src/views/eam/item/countRecord/index.vue

22
src/views/eam/item/adjustRecord/adjustRecord.data.ts

@ -142,6 +142,28 @@ export const AdjustRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 2 precision: 2
} }
}, },
{
label: '差异数量',
field: 'differenceQty',
sort: 'custom',
isForm: false,
isSearch: true,
table: {
width: 180,
},
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 2
}
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 2
}
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

22
src/views/eam/item/countRecord/countRecord.data.ts

@ -182,6 +182,28 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 2 precision: 2
} }
}, },
{
label: '差异数量',
field: 'differenceQty',
sort: 'custom',
isForm: false,
isSearch: true,
table: {
width: 180,
},
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 2
}
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 2
}
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

4
src/views/eam/item/countRecord/index.vue

@ -152,7 +152,7 @@
// //
const isShowMainButton = (row, val) => { const isShowMainButton = (row, val) => {
if (val.indexOf(row.available) > -1) { if (val.indexOf(row.status) > -1) {
return false return false
} else { } else {
return true return true
@ -162,7 +162,7 @@
// - // -
const butttondata = (row) => { const butttondata = (row) => {
return [ return [
defaultButtons.mainAdjust(null),// defaultButtons.mainAdjust({ hide: isShowMainButton(row, ['CANGENERATE']) }),//
] ]
} }

Loading…
Cancel
Save