Browse Source

Merge branch 'master_hella' into hella_onlinesettlement

hella_onlinesettlement
赵雪冰 4 weeks ago
parent
commit
faf0b78b4f
  1. 10
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue
  2. 2
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts
  3. 12
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue
  4. 2
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts
  5. 2
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue
  6. 2
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

10
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -538,19 +538,19 @@ const buttonTableClick = async (val, row) => {
itemColumns.tableForm.disabled = true
ProductionreturnRequestDetailLabelRules.productionLineCodePackage[0].required = false
}
if(itemColumns.field == 'supplierItemCode') {
if(itemColumns.field == 'supplierCode') {
itemColumns.tableForm.isInpuFocusShow = true
itemColumns.tableForm.disabled = false
ProductionreturnRequestDetailLabelRules.supplierItemCode[0].required = true
ProductionreturnRequestDetailLabelRules.supplierCode[0].required = true
}
})
} else {
// tableform
detailListTableColumns.tableFormColumns.map(itemColumns => {
if(itemColumns.field == 'supplierItemCode') {
if(itemColumns.field == 'supplierCode') {
itemColumns.tableForm.isInpuFocusShow = false
itemColumns.tableForm.disabled = true
ProductionreturnRequestDetailLabelRules.supplierItemCode[0].required = false
ProductionreturnRequestDetailLabelRules.supplierCode[0].required = false
}
if(itemColumns.field == 'productionLineCodePackage') {
item.productionLineCodePackage = item.productionLineCode
@ -643,7 +643,7 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken())
window.open(src.value+'&asn_number='+res)
} else {
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken())
const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken())
window.open(src.value+'&asn_number='+res)
}
}).catch(err => {

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

@ -1641,7 +1641,7 @@ export const ProductionreturnRequestDetailLabel = useCrudSchemas(reactive<CrudSc
//表单校验
export const ProductionreturnRequestDetailLabelRules = reactive({
supplierItemCode: [
supplierCode: [
{ required: true, message: '请选择供应商', trigger: 'change' }
],
productionLineCodePackage: [

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

@ -527,19 +527,19 @@ const buttonTableClick = async (val, row) => {
itemColumns.tableForm.disabled = true
ProductionreturnRequestDetailNoLabelRules.productionLineCodePackage[0].required = false
}
if(itemColumns.field == 'supplierItemCode') {
if(itemColumns.field == 'supplierCode') {
itemColumns.tableForm.isInpuFocusShow = true
itemColumns.tableForm.disabled = false
ProductionreturnRequestDetailNoLabelRules.supplierItemCode[0].required = true
ProductionreturnRequestDetailNoLabelRules.supplierCode[0].required = true
}
})
} else {
// tableform
detailListTableColumns.tableFormColumns.map(itemColumns => {
if(itemColumns.field == 'supplierItemCode') {
if(itemColumns.field == 'supplierCode') {
itemColumns.tableForm.isInpuFocusShow = false
itemColumns.tableForm.disabled = true
ProductionreturnRequestDetailNoLabelRules.supplierItemCode[0].required = false
ProductionreturnRequestDetailNoLabelRules.supplierCode[0].required = false
}
if(itemColumns.field == 'productionLineCodePackage') {
item.productionLineCodePackage = item.productionLineCode
@ -734,7 +734,7 @@ const submitFormLabel = async (formType, submitData) => {
let flag = true
detatableData.tableList.forEach(item => {
if(!item.supplierItemCode){
if(!item.supplierCode){
flag = false
}
});
@ -859,7 +859,7 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken())
window.open(src.value+'&asn_number='+res)
} else {
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken())
const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken())
window.open(src.value+'&asn_number='+res)
}
}).catch(err => {

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

@ -985,7 +985,7 @@ export const ProductionreturnRequestDetailNoLabel = useCrudSchemas(reactive<Crud
//表单校验
export const ProductionreturnRequestDetailNoLabelRules = reactive({
supplierItemCode: [
supplierCode: [
{ required: true, message: '请选择供应商', trigger: 'change' }
],
productionLineCodePackage: [

2
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

@ -672,7 +672,7 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken())
window.open(src.value+'&asn_number='+res)
} else {
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken())
const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken())
window.open(src.value+'&asn_number='+res)
}
}).catch(err => {

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

@ -136,7 +136,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn(null), //
defaultButtons.defaultAddBtn({hasPermi:`wms:${routeName.value}:create`}), //
defaultButtons.defaultExportBtn({hasPermi:`wms:${routeName.value}:export`}), //
defaultButtons.defaultImportBtn({hasPermi:`wms:${routeName.value}:import`}), //
defaultButtons.defaultFreshBtn(null), //

Loading…
Cancel
Save