Browse Source

Merge branch 'master' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master

master
zhaoxuebing 10 months ago
parent
commit
f295e5dba5
  1. 21
      src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/index.vue
  2. 21
      src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/index.vue
  3. 21
      src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/index.vue
  4. 21
      src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/index.vue
  5. 21
      src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/index.vue
  6. 21
      src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/index.vue
  7. 21
      src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/index.vue
  8. 21
      src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/index.vue
  9. 21
      src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue
  10. 21
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/index.vue
  11. 21
      src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/index.vue
  12. 21
      src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/index.vue

21
src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/index.vue

@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -132,11 +132,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/index.vue

@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -132,11 +132,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/index.vue

@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -134,11 +134,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/index.vue

@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -130,11 +130,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/index.vue

@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -132,11 +132,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/index.vue

@ -37,7 +37,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -133,11 +133,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/index.vue

@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -132,11 +132,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/index.vue

@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -132,11 +132,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue

@ -37,7 +37,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -133,11 +133,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/index.vue

@ -37,7 +37,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -134,11 +134,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/index.vue

@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -132,11 +132,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

21
src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/index.vue

@ -37,7 +37,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="240"> <el-table-column align="center" label="操作" fixed="right" width="240">
<template #default="scope"> <template #default="scope">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, scope.row)" /> <ButtonBase :Butttondata="butttondata(scope.row)" @button-base-click="buttonTableClick($event, scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -133,11 +133,22 @@ const buttonBaseClick = (val, item) => {
} }
} }
//
const isShowMainButton = (row,val) => {
if (val == row.name) {
return true
} else {
return false
}
}
// - // -
const butttondata = [ const butttondata = (row) => {
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itembasic:update' }), // return [
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itembasic:delete' }), // defaultButtons.mainListEditBtn({hasPermi: 'wms:itembasic:update' }), //
] defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['默认规则']), hasPermi: 'wms:itembasic:delete' }), //
]
}
// - // -
const buttonTableClick = (val, row) => { const buttonTableClick = (val, row) => {

Loading…
Cancel
Save