Browse Source

去掉console

master_hella_20240701
zhang_li 5 months ago
parent
commit
f9b2994e5d
  1. 4
      src/components/TableForm/src/TableForm.vue
  2. 3
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue
  3. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

4
src/components/TableForm/src/TableForm.vue

@ -613,7 +613,6 @@ const TableBaseForm_Ref = ref()
*/ */
const validateForm = () => { const validateForm = () => {
console.log(TableBaseForm_Ref.value)
let _lists = TableBaseForm_Ref.value?.map((v) => v.validate()) let _lists = TableBaseForm_Ref.value?.map((v) => v.validate())
if(!_lists ||_lists.length == 0){ if(!_lists ||_lists.length == 0){
return false return false
@ -671,9 +670,7 @@ const showTableData = () => {
} }
} }
const keyWord = ref('') const keyWord = ref('')
console.log(9999, props.tableFields)
const batchAdd = () => { const batchAdd = () => {
console.log(keyWord.value)
let field = '' let field = ''
const itemCodeFields = props.tableFields.find((item) => item.field == 'itemCode') const itemCodeFields = props.tableFields.find((item) => item.field == 'itemCode')
const supplierFields = props.tableFields.find((item) => item.field == 'supplierCode') const supplierFields = props.tableFields.find((item) => item.field == 'supplierCode')
@ -684,7 +681,6 @@ const batchAdd = () => {
field = supplierFields.field field = supplierFields.field
} }
} }
console.log(field)
emit('batchAdd', keyWord.value) emit('batchAdd', keyWord.value)
} }
const disabledInput = (headerItem, row) => { const disabledInput = (headerItem, row) => {

3
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -217,7 +217,6 @@ import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/su
import supplierdeliverBasicForm from './supplierdeliverBasicForm.vue' import supplierdeliverBasicForm from './supplierdeliverBasicForm.vue'
import labelForm from './labelForm.vue' import labelForm from './labelForm.vue'
import { getJmreportBaseUrl } from '@/utils/systemParam' import { getJmreportBaseUrl } from '@/utils/systemParam'
import { log } from 'console'
// //
defineOptions({ name: 'SupplierdeliverRequestMain' }) defineOptions({ name: 'SupplierdeliverRequestMain' })
@ -696,7 +695,6 @@ const formSelectChangeLabel = (field, val, row) => {
// tableForm // tableForm
const visibleChange=(field, val, row, index)=>{ const visibleChange=(field, val, row, index)=>{
row.secondPackUnitInitOptions=[] row.secondPackUnitInitOptions=[]
console.log(field, val, row)
if(field=='secondPackUnit'){ if(field=='secondPackUnit'){
if(val){ if(val){
// //
@ -1004,7 +1002,6 @@ const submitFormLabel = async (list) => {
let data = { let data = {
subList:list subList:list
} }
console.log(data)
await message.confirm(t('ts.是否为此数据生成标签?')) await message.confirm(t('ts.是否为此数据生成标签?'))
labelFormRef.value.isLoading = true labelFormRef.value.isLoading = true
await SupplierdeliverRequestMainApi.genLabel(data) await SupplierdeliverRequestMainApi.genLabel(data)

1
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

@ -180,7 +180,6 @@ const openLabel =async (tableList) => {
const currentPage = ref(1) const currentPage = ref(1)
const pageSize = ref(10) const pageSize = ref(10)
const showTableData = () => { const showTableData = () => {
console.log(777,tableData.value.length)
if (tableData.value.length > 10) { if (tableData.value.length > 10) {
return tableData.value.slice( return tableData.value.slice(
(currentPage.value - 1) * pageSize.value, (currentPage.value - 1) * pageSize.value,

Loading…
Cancel
Save