Browse Source

盘点任务导出完成

intex_pandian
赵雪冰 4 weeks ago
parent
commit
3a5a8c6da7
  1. 19
      src/views/wms/countManage/count/countJobMain/index.vue

19
src/views/wms/countManage/count/countJobMain/index.vue

@ -213,6 +213,21 @@ const isShowMainButton = (row, val) => {
}
}
//
const isShowMainExprotOrImportButton = (row, val) => {
if(row.countMode == 2){
if (val.indexOf(row.status) > -1) {
return false
} else {
return true
}
}else{
return true;
}
}
// -
const butttondata = (row, $index) => {
return [
@ -224,7 +239,7 @@ const butttondata = (row, $index) => {
{
label: '导出',
name: 'exportCountJob',
hide: isShowMainButton(row, ['1', '2']),
hide: isShowMainExprotOrImportButton(row, ['1', '2']),
type: 'primary',
color: '',
link: true, //
@ -233,7 +248,7 @@ const butttondata = (row, $index) => {
{
label: '导入',
name: 'importCountJob',
hide: isShowMainButton(row, ['2']),
hide: isShowMainExprotOrImportButton(row, ['2']),
type: 'success',
color: '',
link: true, //

Loading…
Cancel
Save