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({ const page=ref({
total:0, total:0,
current:1, current:1,
size:5 size:7
}) })
/*班组数据*/ /*班组数据*/
const teamData = ref([]) const teamData = ref([])
@ -412,8 +412,8 @@ const getProcessroute = async () => {
currentNode.value = graphJson.value.cells[0] currentNode.value = graphJson.value.cells[0]
// //
nodeClick('','','',currentNode.value,'') nodeClick('','','',currentNode.value,'')
} }
// //
const getConfigProcessRouteNode= async () => { const getConfigProcessRouteNode= async () => {
@ -715,14 +715,14 @@ const handleCurrentChangeM=(value: number)=>{
let index=(value-1)*page.value.size let index=(value-1)*page.value.size
page.value.current=value page.value.current=value
showMaterialsData.value=materialsData.value.slice(index,index+page.value.size) showMaterialsData.value=materialsData.value.slice(index,index+page.value.size)
} }
const handlePrevClickM=(value: number)=>{ const handlePrevClickM=(value: number)=>{
page.value.current=value-1 page.value.current=value-1
if(page.value.current==0) { if(page.value.current==0) {
page.value.current=1 page.value.current=1
} }
} }
const handleNextClickM=(value: number)=>{ const handleNextClickM=(value: number)=>{
page.value.current=value+1 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.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.mainListPurchasePlanCloBtn({ hasPermi: 'wms:supplierinvoice-request-main:close' ,hide: isShowMainButton(row, ['1','8','6']) }), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:supplierinvoice-request-main:delete'}), // // 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) openForm('update', row)
} else if (val == 'delete') { // } else if (val == 'delete') { //
handleDelete(row.masterId) 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, required,
{ validator:validateTaxRate, message: '税率必须大于0', trigger: 'blur'} { validator:validateTaxRate, message: '税率必须大于0', trigger: 'blur'}
], ],
invoiceTime: [
{ required: true, message: '请选择发票日期', trigger: 'change' }
],
supplierCode: [ supplierCode: [
{ required: true, message: '请选择供应商代码', trigger: 'change' } { required: true, message: '请选择供应商代码', trigger: 'change' }
], ],

Loading…
Cancel
Save