Browse Source

发货计划添加客户月台添加搜索框

master
chenfang 10 months ago
parent
commit
48e2a1a3c9
  1. 1
      src/views/wms/basicDataManage/supplierManage/purchaseprice/index.vue
  2. 24
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  3. 3
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue

1
src/views/wms/basicDataManage/supplierManage/purchaseprice/index.vue

@ -55,7 +55,6 @@
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/purchaseprice/import" :importTemplateData="importTemplateData" @success="importSuccess"
:mode="2"
/>
</template>

24
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -4,6 +4,9 @@ import { dateFormatter } from '@/utils/formatTime'
import * as CustomerApi from '@/api/wms/customer'
import { Customer } from '@/views/wms/basicDataManage/customerManage/customer/customer.data'
import * as CustomerDockApi from '@/api/wms/customerdock'
import { Customerdock } from '@/views/wms/basicDataManage/customerManage/customerdock/customerdock.data'
import * as SaleMainApi from '@/api/wms/saleMain'
import * as SaleDetailApi from '@/api/wms/saleDetail'
import { SaleDetail, SaleMain } from '../saleMain/saleMain.data'
@ -320,7 +323,23 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTableForm: false,
tableForm:{
isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择物料代码',
searchField: 'code',
searchTitle: '物料基础信息',
searchAllSchemas: Customerdock.allSchemas,
searchPage: CustomerDockApi.getCustomerdockPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
},{
key: 'customerCode',
value: 'customerCode',
isMainValue: true
}]
},
isForm: false,
},
{
@ -533,6 +552,9 @@ export const DeliverPlanDetailRules = reactive({
number: [
{ required: true, message: '请输入单据号', trigger: 'blur' }
],
customerDockCode: [
{ required: true, message: '请选择客户月台代码', trigger: 'blur' }
],
itemCode: [
{ required: true, message: '请选择物料代码', trigger: 'change' }
],

3
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue

@ -373,7 +373,8 @@ const submitForm = async (formType, data) => {
return;
}
})
if(flag){
if(flag.value){
formRef.value.formLoading = false
return
}
try {

Loading…
Cancel
Save