Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
zhousq 7 months ago
parent
commit
51a3d53571
  1. 10
      src/views/mes/orderDay/components/schedule.vue
  2. 11
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  3. 3
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

10
src/views/mes/orderDay/components/schedule.vue

@ -280,7 +280,7 @@ const showMaterialsData=ref() //物料信息分页展示
const page=ref({
total:0,
current:1,
size:5
size:7
})
/*班组数据*/
const teamData = ref([])
@ -412,8 +412,8 @@ const getProcessroute = async () => {
currentNode.value = graphJson.value.cells[0]
//
nodeClick('','','',currentNode.value,'')
}
//
const getConfigProcessRouteNode= async () => {
@ -715,14 +715,14 @@ const handleCurrentChangeM=(value: number)=>{
let index=(value-1)*page.value.size
page.value.current=value
showMaterialsData.value=materialsData.value.slice(index,index+page.value.size)
}
const handlePrevClickM=(value: number)=>{
page.value.current=value-1
if(page.value.current==0) {
page.value.current=1
}
}
const handleNextClickM=(value: number)=>{
page.value.current=value+1

11
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -345,6 +345,15 @@
defaultButtons.mainListEditBtn({ hasPermi: 'wms:supplierinvoice-request-main:update' , hide: isShowMainButton(row, ['1','8','6'])}), //
defaultButtons.mainListPurchasePlanCloBtn({ hasPermi: 'wms:supplierinvoice-request-main:close' ,hide: isShowMainButton(row, ['1','8','6']) }), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:supplierinvoice-request-main:delete'}), //
{
label: '打印',
name: 'mian_print',
hide: null,
type: 'primary',
color: '',
link: true, //
hasPermi: ''
}
]
}
@ -378,6 +387,8 @@ const handleImport = () => {
openForm('update', row)
} else if (val == 'delete') { //
handleDelete(row.masterId)
} else if( val == 'mian_print'){ //
handleDocumentPrint(row.masterId)
}
}

3
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -724,9 +724,6 @@ export const SupplierinvoiceRequestMainRules = reactive({
required,
{ validator:validateTaxRate, message: '税率必须大于0', trigger: 'blur'}
],
invoiceTime: [
{ required: true, message: '请选择发票日期', trigger: 'change' }
],
supplierCode: [
{ required: true, message: '请选择供应商代码', trigger: 'change' }
],

Loading…
Cancel
Save