Browse Source

Merge branch 'master_hella' into hella_zhaoxuebing

hella_zhaoxuebing
赵雪冰 1 month ago
parent
commit
dbd2b00cab
  1. 1
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts
  2. 2
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts
  3. 2
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts
  4. 11
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue
  5. 9
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

1
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

@ -967,6 +967,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
value: 'in',
isMainValue: false
}],
isRepeat:true,
verificationParams: [{
key: 'code',
action: '==',

2
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts

@ -1427,7 +1427,7 @@ export const ProductionreturnRequestDetailLabel = useCrudSchemas(reactive<CrudSc
},
{
label: '标签供应商代码',
field: 'supplierItemCode',
field: 'supplierCode',
sort: 'custom',
table: {
width: 150

2
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts

@ -767,7 +767,7 @@ export const ProductionreturnRequestDetailNoLabel = useCrudSchemas(reactive<Crud
},
{
label: '供应商代码',
field: 'supplierItemCode',
field: 'supplierCode',
sort: 'custom',
table: {
width: 150

11
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue

@ -61,6 +61,7 @@
@submitForm="submitForm"
@formFormDateChange="formFormDateChange"
@onEnter="onEnter"
@clearSearchInput="clearSearchInput"
>
<template v-slot="{row}">
<el-date-picker v-bind:modelValue="row['expireTime']?addDay(row['produceDate'],row['expireTime']):dayjs('2099-12-31').valueOf()"
@ -224,6 +225,16 @@ const onEnter = async (field,value)=>{
formRef.value.setDefaultBlurValue(field,value)
// getSearchTableData(value,true)
}
const clearSearchInput = (field)=>{
console.log('field',field)
if('poNumber' == field){
//
formRef.value.formRef.setValues({
supplierCode: ''
})
tableData.value = []
}
}
const updateTableData = async (tableList)=>{
console.log('tableList',tableList)
let itemCodes = tableList.filter(item=>tableData.value.find(item1=>item1['poNumber']==item['number']&&item1['supplierCode']==item['supplierCode']&&item1['poLine']==item['lineNumber']&&item1['itemCode']==item['itemCode']))

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

@ -514,10 +514,11 @@ const getSearchTableData = async (number,formField,searchField)=>{
const detailOpenForm = (type, row) => {
PurchasePlanDetail.allSchemas.formSchema.forEach(item=>{
if(item.field == 'planQty'){
//
item.componentProps.disabled = row.available=="FALSE"
}
//
//if(item.field == 'planQty'){
// //
// item.componentProps.disabled = row.available=="FALSE"
//}
})
}
const handleDetailSubmitForm = async (formType, data)=>{

Loading…
Cancel
Save