| | |
| | | // // IMG_API: '"http://127.0.0.1:8100/upload/"', |
| | | // BASE_API: '"http://192.168.0.35:8100"', |
| | | |
| | | // 最新 |
| | | BASE_API: '"http://39.104.85.193:4105"', |
| | | IMG_API: '"http://39.104.85.193:4105/upload/"', |
| | | // |
| | | |
| | | // BASE_API: '"http://192.168.0.29:8100"', |
| | | // IMG_API: '"http://192.168.0.29:8100/upload/"', |
| | | // BASE_API: '"http://39.104.85.193:4105"', |
| | | // IMG_API: '"http://39.104.85.193:4105/upload/"', |
| | | |
| | | BASE_API: '"http://192.168.0.29:8100"', |
| | | IMG_API: '"http://192.168.0.29:8100/upload/"', |
| | | |
| | | // IMG_API: '"http://127.0.0.1:8100/upload/"', |
| | | // IMG_API: '"https://sinanoaq.com:8100/upload/"', |
| | | // BASE_API: '"http://220.171.99.118:4100"', |
| | |
| | | } |
| | | } |
| | | |
| | | export function formatDate(value) { |
| | | if (!value){ |
| | | return "---" |
| | | }else{ |
| | | let date = new Date(value); |
| | | let month = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1); |
| | | let day = (date.getDate()+1 < 10 ? '0'+(date.getDate()+1) : date.getDate()+1); |
| | | let hours = date.getHours(); |
| | | if (hours < 10) |
| | | hours = "0" + hours; |
| | | let minutes = date.getMinutes(); |
| | | if (minutes < 10) |
| | | minutes = "0" + minutes; |
| | | let time = date.getFullYear() + "-" + month + "-" + day + |
| | | " " + hours +":" + minutes ; |
| | | // + hours + ":" + minutes |
| | | return time; |
| | | } |
| | | } |
| | | |
| | | /* 数字 格式化*/ |
| | | export function numberFormatter(num, digits) { |
| | | const si = [ |
| | |
| | | <el-table-column label="退货数量(挂、个)" prop="returnnum" align="center" width="100"> |
| | | </el-table-column> |
| | | <el-table-column label="最近购买时间" prop="saletime" align="center" width="200"> |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.row.saletime | formatDate}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="证件照" align="center"> |
| | | <template slot-scope="scope"> |
| | |
| | | import {getCityListData, getProvinceListData , } from "../../api/area"; |
| | | import uploadDialog from "./customerPhoto/index"; |
| | | import Cookies from "js-cookie"; |
| | | |
| | | export default { |
| | | name: "addSelfExam", |
| | | data(){ |
| | |
| | | } |
| | | this.listLoading = false |
| | | }, |
| | | |
| | | |
| | | showPurchaseDetail(val){ |
| | | this.$refs.person.openPersonPurchaseDetail(this.listQuery.filter.starttime,this.listQuery.filter.endtime,val.identify,val.companynumber,this.listQuery.filter.directioncode) |