Browse Source

包装信息取消父子关联、从库位代码与到库位代码不能相同、隔离退料申请显示“创建标签'”“打印标签”

linshi20240813
wangyufei 3 months ago
parent
commit
8b10c101a4
  1. 2
      src/views/wms/inventoryManage/package/index.vue
  2. 22
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue
  3. 6
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

2
src/views/wms/inventoryManage/package/index.vue

@ -39,9 +39,11 @@
</ContentWrap> </ContentWrap>
<!-- 表单弹窗添加/修改 --> <!-- 表单弹窗添加/修改 -->
<!-- isCheckStrictlytrue 取消父子关联 -->
<BasicForm <BasicForm
ref="basicFormRef" ref="basicFormRef"
@success="formsSuccess" @success="formsSuccess"
:isCheckStrictly="true"
:rules="PackageRules" :rules="PackageRules"
:formAllSchemas="Package.allSchemas" :formAllSchemas="Package.allSchemas"
:searchTableParams="searchTableParams" :searchTableParams="searchTableParams"

22
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

@ -322,17 +322,17 @@ const butttondata = (row,$index) => {
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productionreturn-request-main:update'}), // defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productionreturn-request-main:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:productionreturn-request-main:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:productionreturn-request-main:delete'}), //
// //
// { {
// label: '', label: '创建标签',
// name: 'cjbq', name: 'cjbq',
// hide: isShowMainButton(row,['3']), hide: isShowMainButton(row,['3']),
// type: 'primary', type: 'primary',
// icon: '', icon: '',
// color: '', color: '',
// hasPermi: '', hasPermi: '',
// link: true, // link: true, //
// }, },
// defaultButtons.mainListPointBtn({hide:isShowMainButton(row,['3','6','8'])}), // defaultButtons.mainListPointBtn({hide:isShowMainButton(row,['3','6','8'])}), //
] ]
} }

6
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

@ -328,6 +328,10 @@ const flag = ref()
// //
const submitForm = async (formType, submitData) => { const submitForm = async (formType, submitData) => {
let data = {...submitData} let data = {...submitData}
if(data.fromWarehouseCode&&data.fromWarehouseCode == data.toWarehouseCode){
message.error(`从库位代码和到库位代码不能相同!`)
return
}
if(data.masterId){ if(data.masterId){
data.id = data.masterId data.id = data.masterId
} }
@ -339,7 +343,7 @@ const submitForm = async (formType, submitData) => {
item.toInventoryStatus = data.toInventoryStatus item.toInventoryStatus = data.toInventoryStatus
if(item.qty == 0){ if(item.qty == 0){
message.error(`数量不能为0!`) message.error(`数量不能为0!`)
flag.value = true flag.value = true
return; return;
} }

Loading…
Cancel
Save