Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override
| | |
| | | const result = Object.fromEntries( |
| | | fields.map(item => [item.field, true]) // è½¬æ¢æ [key, value] æ°ç» |
| | | ) |
| | | let funct = "function(value,row,index,options){return `<div style='width: 6.5cm;height:4.95cm;background-color: #5cadfe'> <br>" |
| | | //<div style='width: 6.5cm;height:4.95cm;background-color: #5cadfe'> |
| | | let funct = "function(value,row,index,options){return ` <br>" |
| | | json.panels[0].printElements[index].options.columns[0].forEach(item => { |
| | | if(item.field && !result[item.field ]){ |
| | | if (company.printShowTitle){ |
| | |
| | | funct += item.title+'<br>' |
| | | } |
| | | }) |
| | | funct+='<br></div>`}' |
| | | funct+='<br>`}' |
| | | //</div> |
| | | json.panels[0].printElements[index].options.columns[0][0].renderFormatter = funct |
| | | } |
| | | }) |
| | |
| | | <template> |
| | | <div > |
| | | <el-row id="footsum" :gutter="20" > |
| | | <el-col :span="20"></el-col> |
| | | <el-col :span="4" style="font-weight: bolder;font-size: 19px" >{{delivery.creator}}</el-col> |
| | | <el-col :span="19"></el-col> |
| | | <el-col :span="5" style="font-weight: bolder;font-size: 19px" >{{delivery.creator}}</el-col> |
| | | </el-row> |
| | | <el-row id="footsum1" :gutter="20" > |
| | | <el-col :span="2" ></el-col> |
| | |
| | | <td colspan="6" > |
| | | <el-row :gutter="20"> |
| | | <el-col :span="2"></el-col> |
| | | <el-col :span="9"> |
| | | <el-col :span="8"> |
| | | <input v-model="companyName" |
| | | style="border: 0;width: 100%; |
| | | height: 100%;font-size:19px;font-weight: bolder "/> |
| | | </el-col> |
| | | <el-col :span="5" style="font-size:19px;font-weight: bolder"> {{deliveryId}} </el-col> |
| | | <el-col :span="6" style="font-size:19px;font-weight: bolder"> {{deliveryId}} </el-col> |
| | | <el-col :span="3"></el-col> |
| | | <el-col :span="5" style="white-space: nowrap;font-size:19px;font-weight: bolder">{{deliveryDate}}</el-col> |
| | | </el-row> |
| | |
| | | </td> |
| | | |
| | | <td |
| | | style="width: 100px" |
| | | style="width: 80px" |
| | | v-if="props.type===1" |
| | | > |
| | | {{item.DeliveryDetail.price}} |
| | |
| | | @media print { |
| | | #footsum{ |
| | | position: fixed; |
| | | bottom: 3.5cm; |
| | | bottom: 3.4cm; |
| | | width: 100%; /* æè
设置æå
·ä½ç宽度 */ |
| | | font-size: 17px; |
| | | } |
| | |
| | | address:'æ´é³å½å®¶é«æ°ææ¯å¼ååº', |
| | | telephone:'0379-64312861', |
| | | fax:'0379-64332066', |
| | | errorArea:0.4, |
| | | errorArea:0.5, |
| | | widHeiLength:{//订å宽é«é¿åº¦ |
| | | regexp:/^(0|[1-9][0-9]{0,4}([.][0-9]{1,2})?)$/,//æ£å0.00-99999.99 |
| | | //regexp:/^(0|[1-9][0-9]{0,3}([.][0-9]{1,2})?)$/,//æ£å0.00-9999.99 |
| | |
| | | if ($grid) { |
| | | switch (code) { |
| | | case 'out': { |
| | | $grid.clearFilter() |
| | | const selectRecords = $grid.getCheckboxRecords() |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | case 'delete': { |
| | | |
| | | $grid.clearFilter() |
| | | const selectRecords = $grid.getCheckboxRecords() |
| | | if (selectRecords.length === 0) { |
| | | ElMessage.warning(t('productStock.unselectedData')) |
| | |
| | | return true; |
| | | }); |
| | | }; |
| | | |
| | | |
| | | const changeGroup = (value)=> { |
| | | //夿åå²çç»æ¯å¦ææ¤çç»ä¿¡æ¯ |
| | | const exists = titleSelectJson.value.historyTeams.some(item => item.basic_name === value) |
| | | if(! exists){ |
| | | titleSelectJson.value.historyTeams.push({ |
| | | basic_name: value, |
| | | process: titleUploadData.value.thisProcess, |
| | | basic_type: 'teamsgroups', |
| | | id: 555 |
| | | }) |
| | | } |
| | | |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | <el-col :span="3"> |
| | | <el-select :disabled="groupChangeProcess" |
| | | v-model="titleUploadData.teamsGroupsName" |
| | | @change="changeGroup" |
| | | clearable |
| | | :placeholder="$t('reportingWorks.selectTeam')"> |
| | | <el-option |
| | |
| | | } |
| | | computedMoney(result.cell) |
| | | gridOptions.menuConfig.body.options[0][5].disabled=false |
| | | xGrid.value.updateFooter() |
| | | break |
| | | } |
| | | case 'copyAll' :{ |
| | |
| | | } |
| | | computedMoney(result.cell) |
| | | gridOptions.menuConfig.body.options[0][5].disabled=false |
| | | xGrid.value.updateFooter() |
| | | break |
| | | } |
| | | case 'clearChecked' :{ |
| | |
| | | } |
| | | computedMoney(result.cell) |
| | | gridOptions.menuConfig.body.options[0][5].disabled=false |
| | | |
| | | break |
| | | } |
| | | case 'computedMoney' :{ |
| | |
| | | } |
| | | computedMoney(result.cell) |
| | | gridOptions.menuConfig.body.options[0][5].disabled=false |
| | | xGrid.value.updateFooter() |
| | | break |
| | | } |
| | | case 'incrementalChecked' : { |
| | |
| | | } |
| | | computedMoney(result.cell) |
| | | gridOptions.menuConfig.body.options[0][5].disabled = false |
| | | xGrid.value.updateFooter() |
| | | break |
| | | } |
| | | case "reportingTransfer":{ |
| | |
| | | // } |
| | | // } |
| | | titleUploadData.value.money=countMoney(xGrid.value.getTableData().fullData).toString() |
| | | xGrid.value.updateFooter() |
| | | |
| | | } |
| | | |
| | |
| | | </select> |
| | | |
| | | <update id="updateOrderFile"> |
| | | update sd.order_file set file_name=#{fileName},file_data=#{dxfData},create_time=now() where orderId=#{orderId} and orderNumber=#{orderNumber} |
| | | update sd.order_file set file_name=#{fileName},file_data=#{dxfData},create_time=now() where order_id=#{orderId} and order_number=#{orderNumber} |
| | | </update> |
| | | </mapper> |