| | |
| | | options: [ |
| | | [ |
| | | |
| | | { code: 'exportExcelChecked', name: '导出选中', prefixIcon: 'vxe-icon-download', visible: true } |
| | | { code: 'exportExcelChecked', name: t('components.exportSelected'), prefixIcon: 'vxe-icon-download', visible: true } |
| | | ] |
| | | ] |
| | | } |
| | |
| | | return[ |
| | | columns.map((column, columnIndex) => { |
| | | if (columnIndex === 0) { |
| | | return '合计:' |
| | | return t('basicData.total') |
| | | } |
| | | if (props.childrenData.footList.includes(column.field)) { |
| | | return sumNum(data, column.field) |
| | |
| | | <el-date-picker |
| | | v-model="basicProp.selectDate" |
| | | type="daterange" |
| | | start-placeholder="开始时间" |
| | | end-placeholder="结束时间" |
| | | :start-placeholder="$t('basicData.startDate')" |
| | | :end-placeholder="$t('basicData.endDate')" |
| | | format="YYYY-MM-DD" |
| | | value-format="YYYY-MM-DD" |
| | | /> |
| | |
| | | id="searchButton" |
| | | type="primary" |
| | | style="margin-top: -5px" |
| | | :icon="Search">查询</el-button> |
| | | :icon="Search">{{$t('basicData.search')}}</el-button> |
| | | <div class="order-detail"> |
| | | <vxe-grid |
| | | @filter-change="filterChanged" |
| | |
| | | @click="exportExcel(props.childrenData.exportUrl, |
| | | props.childrenData.exportName, |
| | | basicProp.selectDate)"> |
| | | 导出</vxe-button> |
| | | {{$t('basicData.export')}}</vxe-button> |
| | | </template> |
| | | |
| | | <template #pager> |
| | |
| | | }) |
| | | |
| | | const saveTag = () => { |
| | | ElMessageBox.prompt( '新增标签名:', { |
| | | confirmButtonText: '保存', |
| | | cancelButtonText: '取消', |
| | | ElMessageBox.prompt( t('components.addNewSignature')+':', { |
| | | confirmButtonText: t('basicData.save'), |
| | | cancelButtonText: t('basicData.cancelButtonText'), |
| | | inputPattern:/^.{1,20}$/, |
| | | inputErrorMessage: '请输入20个字符以内的且不为空的字符', |
| | | inputErrorMessage: t('components.message'), |
| | | inputValue:tag.value.name |
| | | }).then(({ value }) => { |
| | | tag.value.name = value |
| | |
| | | tag.value.size = JSON.stringify(size.value) |
| | | request.post('tagStyle/saveTag',tag.value).then(res => { |
| | | if(res.code === '200' && res.data===true){ |
| | | ElMessage.success("保存成功") |
| | | ElMessage.success(t('basicData.msg.saveSuccess')) |
| | | getTags() |
| | | } |
| | | }) |
| | |
| | | const deleteTag = () => { |
| | | request.post(`tagStyle/deleteTag/${tag.value.id}`).then(res => { |
| | | if(res.code === '200' && res.data===true){ |
| | | ElMessage.success("删除成功") |
| | | ElMessage.success(t('basicData.msg.deleteSuccess')) |
| | | getTags() |
| | | close() |
| | | } |
| | |
| | | <el-container style="width: 100%;height: 100%;"> |
| | | <el-aside width="200px"> |
| | | <el-collapse v-model="activeName" accordion> |
| | | <el-collapse-item title="标签列表" name="1"> |
| | | <el-collapse-item :title="$t('components.orderHeader')" name="1"> |
| | | <div v-for="(tag,index) in tags" |
| | | :class="{'tag-active':index===clickIndex}" |
| | | @dblclick="searchTag(tag,index)"> |
| | |
| | | v-model="tag.type" |
| | | @change="changeType" |
| | | placeholder="" > |
| | | <el-option label="成品" :value="1"/> |
| | | <el-option label="半成品" :value="2"/> |
| | | <el-option :label="$t('components.finishedProduct')" :value="1"/> |
| | | <el-option :label="$t('components.semiFinishedProducts')" :value="2"/> |
| | | </el-select> |
| | | <el-select placeholder="订单表头"> |
| | | <el-option @click="addList(keys,item)" |
| | |
| | | <el-footer style="padding-top: 0.5rem"> |
| | | <el-popconfirm |
| | | width="220" |
| | | confirm-button-text="确定" |
| | | cancel-button-text="取消" |
| | | :confirm-button-text="$t('basicData.confirmButtonText')" |
| | | :cancel-button-text="$t('basicData.cancelButtonText')" |
| | | :icon="InfoFilled" |
| | | icon-color="#626AEF" |
| | | title="确定删除?" |
| | | :title="$t('searchOrder.deleteConfirm')" |
| | | @confirm="deleteTag" |
| | | v-if="tag.id!==null" |
| | | > |
| | | <template #reference> |
| | | <el-button type="primary" style="float: left" >删除</el-button> |
| | | <el-button type="primary" style="float: left" >{{ $t('basicData.delete') }}</el-button> |
| | | </template> |
| | | </el-popconfirm> |
| | | |
| | | <el-button type="primary" @click="clearList">清空</el-button> |
| | | <el-button v-if="tag.id===null" type="primary" @click="saveTag" >新增</el-button> |
| | | <el-button v-else type="primary" @click="saveTag" >修改</el-button> |
| | | <el-button type="primary" @click="clearList">{{ $t('basicData.empty') }}</el-button> |
| | | <el-button v-if="tag.id===null" type="primary" @click="saveTag" >{{ $t('basicData.insert') }}</el-button> |
| | | <el-button v-else type="primary" @click="saveTag" >{{ $t('basicData.update') }}</el-button> |
| | | </el-footer> |
| | | </el-container> |
| | | </el-container> |
| | |
| | | </template> |
| | | |
| | | <template #default_shape="{ row }"> |
| | | <span>{{ row.shape==='1'?'普形':row.shape==='2'?'异形':null }}</span> |
| | | <span>{{ row.shape==='1'?$t('order.universalShape'):row.shape==='2'?$t('order.alien'):null }}</span> |
| | | </template> |
| | | |
| | | </vxe-grid> |
| | |
| | | </template> |
| | | |
| | | <template #default_shape="{ row }"> |
| | | <span>{{ row.shape==='1'?'普形':row.shape==='2'?'异形':null }}</span> |
| | | <span>{{ row.shape==='1'?$t('order.universalShape'):row.shape==='2'?$t('order.alien'):null }}</span> |
| | | </template> |
| | | |
| | | </vxe-grid> |
| | |
| | | },//表头参数 |
| | | columns:[ |
| | | // {field: 'buildingNumber',width:120, title: '楼号',editRender: { name: 'input'},filters:[{ data: '' }],slots: { filter: 'num1_filter'}, sortable: true,filterMethod:filterChanged}, |
| | | {field: 'alias', title:'其他加工',minWith:'130'}, |
| | | {field: 'price', title:'单价',editRender: { name: 'input'}}, |
| | | {field: 'quantity', title:'数量' }, |
| | | {field: 'money', slots:{default:'default'}, title:'金额'} |
| | | {field: 'alias', title:t('components.otherProcessing'),minWith:'130'}, |
| | | {field: 'price', title:t('order.price'),editRender: { name: 'input'}}, |
| | | {field: 'quantity', title:t('order.quantity')}, |
| | | {field: 'money', slots:{default:'default'}, title:t('delivery.money')} |
| | | ], |
| | | //表单验证 |
| | | editRules: { |
| | |
| | | }, |
| | | toolbarConfig: { |
| | | buttons: [ |
| | | {'code': 'add', 'name': '新增',status: 'primary'}, |
| | | {'code': 'delete', 'name': '删除',status: 'primary'} |
| | | {'code': 'add', 'name': t('basicData.insert'),status: 'primary'}, |
| | | {'code': 'delete', 'name': t('basicData.delete'),status: 'primary'} |
| | | ], |
| | | |
| | | |
| | |
| | | } |
| | | case 'delete': { |
| | | if(rowClickIndex.value === null){ |
| | | ElMessage.warning('请先单击选择行') |
| | | ElMessage.warning(t('components.pleaseClickToSelectARowFirst')) |
| | | return |
| | | } |
| | | deleteColum(rowClickIndex.value.id) |
| | |
| | | const validate = async () => { |
| | | const errMap = await xGrid.value.validate(true) |
| | | if (errMap) { |
| | | ElMessage.error(`校验不通过!`) |
| | | ElMessage.error(t('basicData.msg.checkoutLose')) |
| | | return false |
| | | } |
| | | return true |
| | |
| | | |
| | | |
| | | const addColumn = () => { |
| | | ElMessageBox.prompt( '新增列名:', { |
| | | confirmButtonText: '新增', |
| | | cancelButtonText: '取消', |
| | | ElMessageBox.prompt( t('components.addColumnNames')+':', { |
| | | confirmButtonText: t('basicData.insert'), |
| | | cancelButtonText: t('basicData.cancelButtonText'), |
| | | inputPattern:/^.{1,20}$/, |
| | | inputErrorMessage: '请输入20个字符以内的且不为空的字符', |
| | | inputErrorMessage: t('components.message'), |
| | | }) |
| | | .then(({ value }) => { |
| | | request.post('/basicOtherMoney/save',{alias:value}).then(res=>{ |
| | | if (res.code==='200' && res.data!==false){ |
| | | ElMessage.success('新增成功') |
| | | ElMessage.success(t('basicData.msg.saveSuccess')) |
| | | setTimeout(()=>{ |
| | | window.location.reload() |
| | | },1500) |
| | | |
| | | }else{ |
| | | ElMessage.error('新增失败,不能重复添加或超过100条列') |
| | | ElMessage.error(t('basicData.msg.saveFail')) |
| | | } |
| | | }) |
| | | }) |
| | |
| | | |
| | | const deleteColum = (id) => { |
| | | ElMessageBox.confirm( |
| | | '确认删除此列名?', |
| | | t('searchOrder.deleteConfirm'), |
| | | 'Warning', |
| | | { |
| | | confirmButtonText: '删除', |
| | | cancelButtonText: '取消', |
| | | confirmButtonText: t('basicData.confirmButtonText'), |
| | | cancelButtonText: t('basicData.cancelButtonText'), |
| | | type: 'warning', |
| | | } |
| | | ) |
| | | .then(() => { |
| | | request.post(`/basicOtherMoney/deleteById/${id}`,).then(res=>{ |
| | | if (res.code==='200' && res.data!==false){ |
| | | ElMessage.success('删除成功') |
| | | ElMessage.success(t('basicData.msg.deleteSuccess')) |
| | | setTimeout(()=>{ |
| | | window.location.reload() |
| | | },1500) |
| | | }else{ |
| | | ElMessage.error('删除失败') |
| | | ElMessage.error(t('basicData.msg.deleteFail')) |
| | | } |
| | | }) |
| | | }) |
| | |
| | | orderId:null |
| | | }) |
| | | const columns = [ |
| | | {field: 'order_number',fixed:"left", width: 90,title: '订单序号',showOverflow:"ellipsis"}, |
| | | {field: 'order_number',fixed:"left", width: 90,title: t('order.OrderNum'),showOverflow:"ellipsis"}, |
| | | // {type:'expand',fixed:"left",slots: { content:'content' },width: 50}, |
| | | {field: 'product_name', width: 150, title: '产品名称',filters:[{ data: '' }],slots: { filter: 'num1_filter' },filterMethod: filterChanged}, |
| | | {field: 'glass_child',width: 130, title: '单片名称' ,filters:[{ data: '' }],slots: { filter: 'num1_filter' },filterMethod: filterChanged}, |
| | | {field: 'order_type', width: 120,title: '订单类型',filters:[{ data: '' }],slots: { filter: 'num1_filter' },filterMethod: filterChanged}, |
| | | {field: 'process_id',width: 110, title: '流程卡号',filters:[{ data: '' }],slots: { filter: 'num1_filter' },filterMethod: filterChanged}, |
| | | {field: 'product_name', width: 150, title: t('order.product'),filters:[{ data: '' }],slots: { filter: 'num1_filter' },filterMethod: filterChanged}, |
| | | {field: 'glass_child',width: 130, title: t('reportingWorks.glassChild') ,filters:[{ data: '' }],slots: { filter: 'num1_filter' },filterMethod: filterChanged}, |
| | | {field: 'order_type', width: 120,title: t('order.orderType'),filters:[{ data: '' }],slots: { filter: 'num1_filter' },filterMethod: filterChanged}, |
| | | {field: 'process_id',width: 110, title: t('processCard.processId'),filters:[{ data: '' }],slots: { filter: 'num1_filter' },filterMethod: filterChanged}, |
| | | |
| | | {field: 'technology_number', width: 90,title: '小片顺序',showOverflow:"ellipsis"}, |
| | | {field: 'quantity', width: 90,title: '数量'}, |
| | | {field: 'shippedQuantity',width: 120, title: '发货数量'}, |
| | | {field: 'inventory',width: 120, title: '库存数量'}, |
| | | {field: 'inventoryArea',width: 120, title: '库存面积'}, |
| | | {field: 'broken_num',width: 90, title: '次破数量'}, |
| | | {field: 'technology_number', width: 90,title: t('processCard.technologyNumber'),showOverflow:"ellipsis"}, |
| | | {field: 'quantity', width: 90,title: t('order.quantity')}, |
| | | {field: 'shippedQuantity',width: 120, title: t('delivery.deliveryQuantity')}, |
| | | {field: 'inventory',width: 120, title: t('productStock.inventoryQuantity')}, |
| | | {field: 'inventoryArea',width: 120, title: t('report.inventoryArea')}, |
| | | {field: 'broken_num',width: 90, title: t('reportingWorks.quantityBroken')}, |
| | | ] |
| | | let column = [0,1,3,6,7,8,9] |
| | | |
| | |
| | | id:'sizeCheck', |
| | | toolbarConfig: { |
| | | buttons: [ |
| | | {'code': 'review', 'name': '审核',status: 'primary'}, |
| | | {'code': 'review', 'name': t('basicData.review'),status: 'primary'}, |
| | | ] |
| | | }, |
| | | |
| | |
| | | storage: true |
| | | }, |
| | | columns:[ |
| | | {field: 'width', title: '宽',editRender: { name: 'input'}}, |
| | | {field: 'height', title:'高', editRender: { name: 'input'}}, |
| | | {field: 'quantity', title: '数量' ,editRender: { name: 'input'}, }, |
| | | {field: 'width', title: t('order.width'),editRender: { name: 'input'}}, |
| | | {field: 'height', title:t('order.height'), editRender: { name: 'input'}}, |
| | | {field: 'quantity', title: t('order.quantity') ,editRender: { name: 'input'}, }, |
| | | ], |
| | | editRules: { |
| | | width: [ |
| | | { required: true, message: '必填,参数不一致' } |
| | | { required: true, message: t('components.inconsistentParameters') } |
| | | ], |
| | | height: [ |
| | | { required: true, message: '必填,参数不一致' } |
| | | { required: true, message:t('components.inconsistentParameters') } |
| | | ], |
| | | quantity: [ |
| | | { required: true, message: '必填,参数不一致' } |
| | | { required: true, message:t('components.inconsistentParameters') } |
| | | ] |
| | | } |
| | | }) |
| | |
| | | |
| | | <!--左边固定显示的插槽--> |
| | | <template #button_slot="{ row }"> |
| | | <el-button @click="gaveParent(row,'edit')" link type="primary" size="small">编辑</el-button> |
| | | <el-button @click="gaveParent(row,'delete')" link type="primary" size="small">删除</el-button> |
| | | <el-button @click="gaveParent(row,'edit')" link type="primary" size="small">{{ $t('basicData.edit') }}</el-button> |
| | | <el-button @click="gaveParent(row,'delete')" link type="primary" size="small">{{ $t('basicData.delete') }}</el-button> |
| | | </template> |
| | | |
| | | <template #num1_filter="{ column, $panel }"> |
| | |
| | | import deepClone from "@/utils/deepClone"; |
| | | import {ElMessage} from "element-plus"; |
| | | import router from "@/router"; |
| | | import {useI18n} from "vue-i18n"; |
| | | //prop接收父组件函数 |
| | | |
| | | |
| | | const { t } = useI18n() |
| | | |
| | | let props = defineProps({ |
| | | tableProp:{ |
| | |
| | | return[ |
| | | columns.map((column, columnIndex) => { |
| | | if (columnIndex === 0) { |
| | | return '合计:' |
| | | return t('basicData.total') |
| | | } |
| | | if (props.tableProp.footList.includes(column.field)) { |
| | | return sumNum(data, column.field) |
| | |
| | | switch (code) { |
| | | case 'checkList': { |
| | | if($grid.getCheckboxRecords().length==0){ |
| | | VXETable.modal.message( '请选择一条数据!') |
| | | VXETable.modal.message( t('searchOrder.msg')) |
| | | return |
| | | } |
| | | emit('getCheckList',$grid.getCheckboxRecords()) |
| | |
| | | } |
| | | case 'mySave': { |
| | | const { insertRecords, removeRecords, updateRecords } = $grid.getRecordset() |
| | | VXETable.modal.message({ content: `新增 ${insertRecords.length} 条,删除 ${removeRecords.length} 条,更新 ${updateRecords.length} 条`, status: 'success' }) |
| | | VXETable.modal.message({ content: `${t('basicData.insert')} ${insertRecords.length} ${t('components.strip')},${t('basicData.delete')} ${removeRecords.length} ${t('components.strip')},${t('basicData.update')} ${updateRecords.length} ${t('components.strip')}`, status: 'success' }) |
| | | break |
| | | } |
| | | case 'myExport': { |
| | |
| | | import deepClone from "@/utils/deepClone"; |
| | | import {ElMessage} from "element-plus"; |
| | | import useProductGlassTypeStore from "@/stores/sd/product/productGlassType" |
| | | import {useI18n} from "vue-i18n"; |
| | | const { t } = useI18n() |
| | | let productGlassTypeStore = useProductGlassTypeStore() |
| | | |
| | | let options=$ref([]) |
| | |
| | | v-model="productGlassTypeStore.GlassType" |
| | | :options="options" |
| | | clearable |
| | | placeholder="玻璃类别" |
| | | :placeholder="$t('orderBasicData.glassCategory')" |
| | | /> |
| | | </div> |
| | | </template> |
| | |
| | | reportForms:'报表', |
| | | print:'打印', |
| | | export:'导出', |
| | | empty:'清空', |
| | | msg:{ |
| | | max255:"最多输入255个字符", |
| | | range99999Dec2: |
| | |
| | | msgDelete:'已审核的订单不能删除', |
| | | msgDeleteFail:'删除失败', |
| | | msgDeleteSuccess:'删除成功', |
| | | deleteConfirm:'确认删除订单?', |
| | | deleteConfirm:'确认删除?', |
| | | orderType:'订单类型', |
| | | processFlows:'流程卡进度', |
| | | copy:'复制订单', |
| | |
| | | operateType :'别称', |
| | | type :'类型', |
| | | takeOut :'领出', |
| | | }, |
| | | components:{ |
| | | addNewSignature :'新增标签名', |
| | | addColumnNames :'新增列名', |
| | | message :'请输入20个字符以内的且不为空的字符', |
| | | activeName :'标签列表', |
| | | orderHeader :'订单表头', |
| | | finishedProduct :'成品', |
| | | semiFinishedProducts :'半成品', |
| | | pleaseClickToSelectARowFirst :'请先单击选择行', |
| | | otherProcessing :'其他加工', |
| | | inconsistentParameters :'必填,参数不一致', |
| | | strip :'条', |
| | | exportSelected :'导出选中', |
| | | } |
| | | |
| | | |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'SelectIngredients', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'CreateOutBound', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'MaterialOutbound', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'ReturnToStorage', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'OrderList', |
| | | id: 'ReturnToStorageCreate', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'SelectIngredientsStock', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'SelectIngredientsStocks', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'CreateProductStock', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'FinishedGoodsIssue', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'FinishedProductOut', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'FinishedProductReturn', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'FinishedProductRework', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'OrderAllocation', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'ProductStockList', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'ReworkRecord', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'StorageRecord', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'TakeOutRecord', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'TransferRecord', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'AddReplenish', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'SelectReplenish', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe: true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true, height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'AddRework', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe: true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true, height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'SelectRework', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | {field: 'order.batch', title: t('order.batch'), filters: [{data: ''}], slots: {filter: 'num1_filter'}, width: 110}, |
| | | {field: 'order.project', title: t('order.project'), filters: [{data: ''}], slots: {filter: 'num1_filter'}, width: 210}, |
| | | {field: 'order.orderType', title: t('order.orderType'), showOverflow: "ellipsis", width: 110}, |
| | | {field: 'orderDetail.grossArea', title: t('order.orderType'), width: 70}, |
| | | {field: 'orderDetail.quantity', title: t('order.grossArea'),}, |
| | | {field: 'orderDetail.grossArea', title: t('order.grossArea'), width: 70}, |
| | | {field: 'orderDetail.quantity', title: t('order.quantity'),}, |
| | | {field: 'order.creator', title: t('order.creator'),}, |
| | | ],//表头按钮 |
| | | data: null,//表格数据 |
| | |
| | | ElMessage.error(t('customer.pleaseEnterTheCustomerName')) |
| | | return |
| | | } |
| | | const grade = ruleForm.value.grade |
| | | /*const grade = ruleForm.value.grade |
| | | if(grade === null || grade === undefined || grade === ''){ |
| | | ElMessage.error(t('customer.pleaseEnterCustomerLevel')) |
| | | return |
| | |
| | | if(moneyLimit === null || moneyLimit === undefined || moneyLimit === ''){ |
| | | ElMessage.error(t('customer.pleaseEnterTheAmountOfFunds')) |
| | | return |
| | | } |
| | | }*/ |
| | | const address = ruleForm.value.address |
| | | if(address === null || address === undefined || address === ''){ |
| | | ElMessage.error(t('customer.pleaseEnterTheContactAddress')) |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'SelectCustomer', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'OrderList', |
| | | id: 'SelectCustomerOrder', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'OrderList', |
| | | id: 'CreateDelivery', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'OrderList', |
| | | id: 'SelectDelivery', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe:true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮 |
| | | id: 'OrderList', |
| | | id: 'SelectOrderList', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |