Browse Source

去掉console

master_hella_20240701
zhang_li 4 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 = () => {
console.log(TableBaseForm_Ref.value)
let _lists = TableBaseForm_Ref.value?.map((v) => v.validate())
if(!_lists ||_lists.length == 0){
return false
@ -671,9 +670,7 @@ const showTableData = () => {
}
}
const keyWord = ref('')
console.log(9999, props.tableFields)
const batchAdd = () => {
console.log(keyWord.value)
let field = ''
const itemCodeFields = props.tableFields.find((item) => item.field == 'itemCode')
const supplierFields = props.tableFields.find((item) => item.field == 'supplierCode')
@ -684,7 +681,6 @@ const batchAdd = () => {
field = supplierFields.field
}
}
console.log(field)
emit('batchAdd', keyWord.value)
}
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 labelForm from './labelForm.vue'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import { log } from 'console'
//
defineOptions({ name: 'SupplierdeliverRequestMain' })
@ -696,7 +695,6 @@ const formSelectChangeLabel = (field, val, row) => {
// tableForm
const visibleChange=(field, val, row, index)=>{
row.secondPackUnitInitOptions=[]
console.log(field, val, row)
if(field=='secondPackUnit'){
if(val){
//
@ -1004,7 +1002,6 @@ const submitFormLabel = async (list) => {
let data = {
subList:list
}
console.log(data)
await message.confirm(t('ts.是否为此数据生成标签?'))
labelFormRef.value.isLoading = true
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 pageSize = ref(10)
const showTableData = () => {
console.log(777,tableData.value.length)
if (tableData.value.length > 10) {
return tableData.value.slice(
(currentPage.value - 1) * pageSize.value,

Loading…
Cancel
Save