Browse Source

修改要货计划编辑和删除

master
zhaoxuebing 10 months ago
parent
commit
05819707ac
  1. 4
      src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts
  2. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

4
src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

@ -68,10 +68,6 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available',
value: 'TRUE',
isMainValue: false
},{
key: 'isPhantom', // 不能是虚拟件
value: 'FALSE',
isMainValue: false
}]
}
}

6
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -35,6 +35,7 @@
@searchTableSuccess="searchTableSuccess" @submitForm="submitForm" />
<!-- 详情 -->
<!-- 隐藏子表编辑和删除是因为要货计划以后是接口发过来的而且我们的计划数量是放入到采购订单已计划数量里无法再次编辑数量-->
<Detail
ref="detailRef"
:isBasic="false"
@ -46,7 +47,10 @@
:apiPage="PurchasePlanDetailApi.getPurchasePlanDetailPage"
:apiDelete="PurchasePlanDetailApi.deletePurchasePlanDetail"
@searchTableSuccessDetail="searchTableSuccessDetail"
:detailValidate="detailValidate" />
:detailValidate="detailValidate"
:detailButtonIsShowDelete="false"
:detailButtonIsShowEdit="false"
/>
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/purchase-plan-main/import" :importTemplateData="importTemplateData"

Loading…
Cancel
Save