Commit 6aa13d73 by jack

v3.6需求

1 parent dd62dc71
This diff could not be displayed because it is too large.
...@@ -38,4 +38,22 @@ ...@@ -38,4 +38,22 @@
.el-dialog__body .el-form-item { .el-dialog__body .el-form-item {
margin-bottom: 24px !important; margin-bottom: 24px !important;
} }
.el_table {
thead {
th {
background: rgba(197, 197, 197, 0.1);
}
}
}
.pagination_list {
text-align: right;
padding: 10px 0;
}
.links_group {
display: flex;
align-items: center;
justify-content: space-between;
margin: 10px 0;
}
</style> </style>
...@@ -207,7 +207,35 @@ export const Util = { ...@@ -207,7 +207,35 @@ export const Util = {
} }
return n return n
},
/**
* 深克隆 所有原型链上的对象和属性
* 例: const bar=deepClone(foo)
* console.log(bar===foo) false
* @param {*} obj
*/
deepClone: function (obj) {
// Handle the 3 simple types, and null or undefined or function
if (obj == null || typeof obj !== 'object') return obj
// Handle Date
if (obj instanceof Date) {
const copy = new Date()
copy.setTime(obj.getTime())
return copy
} }
// Handle Array or Object
if ((obj instanceof Array) | (obj instanceof Object)) {
const copy = obj instanceof Array ? [] : {}
for (var attr in obj) {
if (obj.hasOwnProperty(attr)) {
copy[attr] = Util.deepClone(obj[attr])
}
}
return copy
}
throw new Error("Unable to clone obj! Its type isn't supported.")
},
} }
...@@ -215,3 +243,4 @@ export const showModal = Util.msg; ...@@ -215,3 +243,4 @@ export const showModal = Util.msg;
export const showToast = Util.Info; export const showToast = Util.Info;
export const validationTel = Util.validationTel; export const validationTel = Util.validationTel;
export const checkPhone = Util.checkPhone; export const checkPhone = Util.checkPhone;
export const deepClone = Util.deepClone
...@@ -130,6 +130,7 @@ export default function $axios(options) { ...@@ -130,6 +130,7 @@ export default function $axios(options) {
message: data.message || data.msg || '出错了,请联系管理员' message: data.message || data.msg || '出错了,请联系管理员'
}) })
} }
break;
default: default:
Util.Info({ Util.Info({
message: data.message || data.msg || '出错了,请联系管理员' message: data.message || data.msg || '出错了,请联系管理员'
......
...@@ -17,7 +17,7 @@ function getUrl() { ...@@ -17,7 +17,7 @@ function getUrl() {
      url = 'http://sso.glsx.com.cn/admin-supplychain/'       url = 'http://sso.glsx.com.cn/admin-supplychain/'
      break;       break;
    default:     default:
      url = 'http://qcwx.glsx.com.cn/admin-supplychain/'       url = '/admin-supplychain/'
      break;       break;
  }   }
  return url;   return url;
......
import axios from './api' // 倒入 api
import config from './config.js' // 倒入默认配置
export const BASEURL = config.baseURL
// 设备管理-批量初始化-获取列表
export const PAGEDEVICESNINITRECORD = (params) => {
return axios({
url: 'jxcmtDeviceSnInitRecord/pageDeviceSnInitRecord',
method: 'GET',
params,
})
}
// 设备管理-批量初始化-模板下载
export const DEVICESNINITRECORDDOWNLOADTEMPLATE =
BASEURL + 'jxcmtDeviceSnInitRecord/DeviceSnInitRecordDownloadTemplate'
// 设备管理-批量初始化-模板校验
export const CHECKDEVICESNINITRECORDIMPORT =
BASEURL + 'jxcmtDeviceSnInitRecord/checkDeviceSnInitRecordImport'
// 设备管理-批量初始化-导入模板数据
export const IMPORTDEVICESNINITRECORDIMPORT = (params) => {
return axios({
url: 'jxcmtDeviceSnInitRecord/importDeviceSnInitRecordImport',
method: 'POST',
data: params,
})
}
import axios from './api' // 倒入 api
import config from './config.js' // 倒入默认配置
export const BASEURL = config.baseURL
/* 将所有接口统一起来便于维护
* 如果项目很大可以将 url 独立成文件,接口分成不同的模块
*/
//订单管理-发货单明细导出
export const EXPORTDISPATCHORDERDETAIL = (params) => {
return axios({
url: '/JXCSPOrder/exportDispatchOrderDetail',
method: 'POST',
data: params,
})
}
// 订单管理-设备分发规则-获取列表
export const PAGEEXSYSDISPATCHRULE = (params) => {
return axios({
url: '/ExsysDispatchRule/pageExsysDispatchRule',
method: 'GET',
params,
})
}
// 订单管理-设备分发规则-获取项目列表
export const GETLISTSUBJECT = (params) => {
return axios({
url: '/ExsysDispatchRule/listSubject',
method: 'GET',
params,
})
}
// 订单管理-设备分发规则-获取设备大类列表
export const GETLISTDEVICETYPE = (params) => {
return axios({
url: '/ExsysDispatchRule/listDeviceType',
method: 'GET',
params,
})
}
// 订单管理-设备分发规则-获取平台模块列表
export const GETLISTMODULES = (params) => {
return axios({
url: '/ExsysDispatchRule/listModules',
method: 'GET',
params,
})
}
// 订单管理-设备分发规则-导出excel
export const EXPORTEXSYSDISPATCHRULE = (params) => {
return axios({
url: '/ExsysDispatchRule/exportExsysDispatchRule',
method: 'GET',
params,
})
}
// 订单管理-设备分发规则-删除
export const DELEXSYSDISPATCHRULE = (params) => {
return axios({
url: '/ExsysDispatchRule/delExsysDispatchRule',
method: 'POST',
data:params,
})
}
// 订单管理-设备分发规则-新增分发规则
export const ADDEXSYSDISPATCHRULE = (params) => {
return axios({
url: '/ExsysDispatchRule/addExsysDispatchRule',
method: 'POST',
data:params,
})
}
// 订单管理-设备分发规则-获取规则详情
export const GETEXSYSDISPATCHRULE = (params) => {
return axios({
url: '/ExsysDispatchRule/getExsysDispatchRule',
method: 'GET',
params,
})
}
...@@ -166,6 +166,18 @@ export const resources = { ...@@ -166,6 +166,18 @@ export const resources = {
component: _import('equipment/exportExcelRecord'), component: _import('equipment/exportExcelRecord'),
auth: [] auth: []
}, },
'10307': {
path: '/equipment/initialize',
name: 'fimsTable10307',
meta: {
title: '批量初始化',
authId: '10307',
parentId: '103',
cache: true
},
component: _import('equipment/initialize'),
auth: []
},
'104': { '104': {
path: '/orderManage', path: '/orderManage',
icon: 'document', icon: 'document',
...@@ -200,6 +212,30 @@ export const resources = { ...@@ -200,6 +212,30 @@ export const resources = {
component: _import('orderManage/invoice'), component: _import('orderManage/invoice'),
auth: [] auth: []
}, },
'10403': {
path: '/orderManage/rules',
name: 'fimsTable10403',
meta: {
title: '设备分发规则',
authId: '10403',
parentId: '104',
cache: true
},
component: _import('orderManage/rules'),
auth: []
},
// '10404': {
// path: '/orderManage/codeRules',
// name: 'fimsTable10404',
// meta: {
// title: '编码规则配置',
// authId: '10404',
// parentId: '104',
// cache: true
// },
// component: _import('orderManage/codeRules'),
// auth: []
// },
} }
......
<template>
<d2-container>
<el-card shadow="never">
<el-form :inline="true" :model="formInline" class="demo-form-inline" size="small">
<el-form-item label="关键字">
<el-input v-model="formInline.dvSn" placeholder="设备号/设备IMEI/ICCID" />
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" :loading="tableLoading" plain @click="getList()">搜索</el-button>
</el-form-item>
</el-form>
</el-card>
<!-- 按钮操作区域 开始 -->
<div class="links_group">
<div class="left"></div>
<div class="right">
<el-button type="primary" plain icon="el-icon-upload2" @click="openDialog">导入</el-button>
</div>
</div>
<!-- 按钮操作区域 开始 -->
<!-- 表格区域 开始 -->
<div class="table_box">
<el-table class="el_table" v-loading="tableLoading" :data="tableData" stripe style="width: 100%" size="small" border>
<el-table-column prop="seedTag" label="批次码" />
<el-table-column prop="dvSn" label="设备号" />
<el-table-column prop="dvImei" label="设备IMEI" />
<el-table-column prop="dvIccid" label="流量卡ICCID" />
<el-table-column prop="dvOperatorType" label="操作方式">
<template slot-scope="scope">{{showType(scope.row.dvOperatorType)}}</template>
</el-table-column>
<el-table-column prop="dvRemark" label="备注" />
<el-table-column prop="dvFailreason" label="失败原因" />
<el-table-column prop="createdDate" label="发起时间" />
</el-table>
<div class="pagination_list">
<el-pagination background layout="sizes, total,prev, pager, next, jumper" :total="pageTotal" :page-size="pageSize" :page-sizes="pageSizes" @current-change="getList" @size-change="changePageSize" />
</div>
</div>
<!-- 表格区域 end -->
<!-- 弹框 开始 -->
<glsx-dialog :show="showDialog" title="批量初始化" width="30%" usefooter @closed="closeDialog">
<div class="upload_box">
<h2 class="h2">
请点击下载"
<a :href="DEVICESNINITRECORDDOWNLOADTEMPLATE" target="_blank">批量初始化模版</a>"
</h2>
<el-form :model="uploadForm" :rules="uploadFormRules" label-width="120px">
<el-form-item label="操作方式:" prop="operatorType">
<el-select v-model="uploadForm.operatorType">
<el-option v-for="item in DVOPERATORTYPE" :key="item.id" :label="item.name" :value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="导入文件:" prop="msg">
<div class="upload_cell">
<el-input type="text" class="a_input" :value="uploadFile.name" readonly />
<el-upload class="upload-demo" ref="upload" :action="CHECKDEVICESNINITRECORDIMPORT" multiple :limit="1" :data="uploadForm" :on-exceed="handleExceed" :file-list="fileList" :show-file-list="false" :on-change="uploadChange" :on-success="uploadSuccess">
<el-button size="small" type="primary">选择文件</el-button>
</el-upload>
</div>
<div class="upload_cell cell_center" v-if="uploadError.totalCount || uploadError.totalCount==0">
<span>检验成功{{uploadError.successCount}}条,失败{{uploadError.failCount}}条</span>
<span>请下载</span>
<a :href="uploadError.url" target="_blank">导出失败列表</a>
</div>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="btn_group">
<el-button type="success" @click="uploadInfoToServer">导入</el-button>
<el-button @click="closeDialog">取消</el-button>
</div>
</glsx-dialog>
<!-- 弹框 end -->
</d2-container>
</template>
<script>
import { PAGEDEVICESNINITRECORD,DEVICESNINITRECORDDOWNLOADTEMPLATE,CHECKDEVICESNINITRECORDIMPORT,IMPORTDEVICESNINITRECORDIMPORT } from '@/http/device'
import GlsxDialog from '@/components/dialog/index'
import { deepClone, showToast } from '@/common/util'
export default {
components: {
'glsx-dialog': GlsxDialog,
},
data() {
return {
formInline: {},
tableData: [],
tableLoading: false,
pageTotal: 0,
currentPage: 1,
pageSizes: [10, 20, 30, 40],
pageSize: 10,
tdWidth: 170,
showDialog: false,
uploadFile: {},
deviceList: [],
DEVICESNINITRECORDDOWNLOADTEMPLATE: DEVICESNINITRECORDDOWNLOADTEMPLATE,
CHECKDEVICESNINITRECORDIMPORT: CHECKDEVICESNINITRECORDIMPORT,
uploadForm: { },
uploadError: {},
DVOPERATORTYPE: [
{ id: 'I', name: '初始化' },
{ id: 'Q', name: '取消出库' },
{ id: 'P', name: '取消入库' },
],
uploadFormRules:{
operatorType:[{required:true,message:'请选择操作方式',trigger:'change'}]
}
}
},
created() {},
mounted: function () {
this.getList()
},
methods: {
/**
* 查询列表
*/
getList: function (current) {
const _this = this
const oParams = _this.getParams()
console.log(current)
oParams.pageNum = current || _this.currentPage
_this.tableLoading = true
PAGEDEVICESNINITRECORD(oParams).then((res) => {
console.log(res)
_this.tableLoading = false
if (res.returnCode == 0) {
const { data } = res
const { total, listVo } = data
_this.tableData = listVo || []
_this.pageTotal = total
}
})
},
/**
* 获取查询参数
*/
getParams: function () {
let oParams = deepClone(this.formInline)
oParams.dvIccid = oParams.dvSn
oParams.dvImei = oParams.dvSn
oParams.pageSize = this.pageSize
return oParams
},
/**
* 每页展示
*/
changePageSize: function (e) {
this.pageSize = e
this.getList()
},
/**监听文件改变 */
uploadChange: function (file, fileList) {
console.log(file)
this.uploadFile = file
},
/**监听文件上传成功 */
uploadSuccess: function (res, file, fileList) {
console.log(res)
//this.$refs.upload.submit();
let o = res.data || []
let m = o[0] || {}
this.$refs.upload.clearFiles()
if (m.url) {
this.uploadError = m
return false
}
this.fileInfo = m.msg
},
/**手动上传文件 */
uploadInfoToServer: function () {
let _this = this
let o = this.fileInfo
let m = this.uploadForm
if (!o) {
return false
}
let oParams = {}
oParams.msg = o;
IMPORTDEVICESNINITRECORDIMPORT(oParams).then((res) => {
console.log(res)
_this.fileLoading = false
if (res.returnCode == 0) {
_this.closeDialog()
showToast({
message: '导入成功',
type: 'success',
})
_this.getList()
}
})
},
// 打开弹框
openDialog() {
this.uploadFile = {}
this.showDialog = true
},
/**关闭弹框 */
closeDialog: function () {
this.$refs.upload.clearFiles()
this.uploadFile = {}
this.showDialog = false
},
// 展示操作方式
showType(id) {
let _list = this.DVOPERATORTYPE
let o = _list.find((k) => k.id == id)
if (o) {
return o.name
} else {
return ''
}
},
},
}
</script>
<style lang="scss" scoped>
.table_box {
margin: 10px 0;
}
.upload_box {
.h2 {
font-size: 14px;
font-weight: normal;
a {
color: #337ab7;
}
}
.h3 {
font-size: 14px;
color: #f00;
font-weight: normal;
}
}
.upload_cell {
display: flex;
align-items: center;
margin: 10px 0;
.name {
width: 80px;
font-weight: bold;
}
.a_input {
margin: 0 8px 0 0;
width: 217px;
}
}
.cell_center {
text-align: center;
}
</style>
<template>
<div class="page">
<!-- 操作区域 开始 -->
<div class="links_group">
<div></div>
<div>
<el-button type="primary" size="small" icon="el-icon-plus" plain @click="addLine">增加行</el-button>
<el-button type="danger" size="small" icon="el-icon-remove" plain @click="removeLine">删除行</el-button>
</div>
</div>
<!-- 操作区域 end -->
<!-- 表格 开始 -->
<el-form :model="form" ref="form" :rules="formRules" label-width="0">
<el-table class="el_table" :data="form.tableData" border highlight-current-row @current-change="onTableChange">
<el-table-column label="设备类型">
<template slot-scope="scope">
<el-form-item :prop="'tableData.' + scope.$index + '.deviceType'" :rules="[{ required: true, message: '请选择设备类型', trigger: 'change'}]">
<el-select v-model="scope.row.deviceType" size="small" placeholder="请选择">
<el-option v-for="item in deviceList" :key="item.id" :value="item.id" :label="item.name"></el-option>
</el-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="设备型号">
<template slot-scope="scope">
<el-form-item :prop="'tableData.' + scope.$index + '.mnumName'" :rules="[{ required: true, message: '请输入设备型号', trigger: 'blur'}]">
<el-input v-model="scope.row.mnumName" size="small"></el-input>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="设备号开头编码">
<template slot-scope="scope">
<el-form-item :prop="'tableData.' + scope.$index + '.snHead'" :rules="[{ required: true, message: '请输入设备号开头编码', trigger: 'blur'}]">
<el-input v-model="scope.row.snHead" size="small"></el-input>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="项目">
<template slot-scope="scope">
<el-form-item :prop="'tableData.' + scope.$index + '.subject'" :rules="[{ required: true, message: '请选择项目', trigger: 'change'}]">
<el-select v-model="scope.row.subject" size="small" placeholder="请选择">
<el-option v-for="item in projectList" :key="item.id" :value="item.id" :label="item.name"></el-option>
</el-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="是否投保">
<template slot-scope="scope">
<el-form-item :prop="'tableData.' + scope.$index + '.issure'" :rules="[{ required: true, message: '请选择是否投保', trigger: 'change'}]">
<el-select v-model="scope.row.issure" size="small">
<el-option value="Y" label="是"></el-option>
<el-option value="N" label="否"></el-option>
</el-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="入库平台" width="260px">
<template slot-scope="scope">
<el-form-item :prop="'tableData.' + scope.$index + '.listVo'" :rules="[{ required: true, message: '请选择入库平台', trigger: 'change'}]">
<el-select class="el_select" v-model="scope.row.listVo" multiple placeholder="请选择">
<el-option v-for="item in modulesList" :key="item.moduleFlag" :value="item.moduleFlag" :label="item.moduleFlagName"></el-option>
</el-select>
</el-form-item>
</template>
</el-table-column>
</el-table>
</el-form>
<!-- 表格 end -->
</div>
</template>
<script>
import { GETLISTSUBJECT, GETLISTDEVICETYPE, GETLISTMODULES,ADDEXSYSDISPATCHRULE } from '@/http/order'
import { showToast, deepClone } from '@/common/util'
export default {
name: 'AddRules',
props: {
id: {
type: [String, Number],
default: '',
},
},
data() {
return {
deviceList: [],
projectList: [],
modulesList: [],
tableData: [],
currentRow: '',
formRules: {},
form: { tableData: [] },
}
},
created() {},
mounted: function () {
this.form.tableData.push({ id: Math.random() })
this.getProject()
this.getDevice()
this.getModules()
},
methods: {
// 增加行
addLine() {
let _list = this.form.tableData
_list.push({ id: Math.random() })
},
// 选中行
onTableChange(row) {
console.log(row)
this.currentRow = row
},
// 删除行
removeLine() {
let o = this.currentRow
if (!o) {
showToast({
message: '请选择要删除的行',
})
return false
}
this.form.tableData = this.form.tableData.filter((k) => k !== o)
},
// 保存数据
saveInfo() {
let _this = this
let o = deepClone(this.form.tableData)
console.log(o)
this.$refs.form.validate((valid) => {
if (!valid) {
_this.$emit('change', false)
return false
}
let m = deepClone(this.form)
let oParams = m.tableData
oParams.map((k) => {
let n = k.listVo
let _list = _this.modulesList
let _arr = []
n.map((j) => {
let nn = _list.find((h) => h.moduleFlag == j)
_arr.push(nn)
})
k.listVo = _arr
delete k.id;
return k
})
console.log(oParams)
ADDEXSYSDISPATCHRULE({ listVo: oParams }).then((res) => {
if (res.returnCode != 0) {
_this.$emit('change', false)
return false
}
showToast({
message: '新增成功',
type:'success'
})
_this.$emit('change', true)
})
})
},
// 获取项目列表
getProject() {
GETLISTSUBJECT().then((res) => {
this.projectList = res.data || []
})
},
// 获取设备大类列表
getDevice() {
GETLISTDEVICETYPE().then((res) => {
this.deviceList = res.data || []
})
},
// 获取入库平台
getModules() {
GETLISTMODULES().then((res) => {
this.modulesList = res.data || []
})
},
},
}
</script>
<style lang="scss">
.el_select {
.el-tag {
width: auto !important;
}
}
.el_table {
.el-form-item {
margin-bottom: 0 !important;
}
}
</style>
...@@ -46,6 +46,16 @@ ...@@ -46,6 +46,16 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
/> />
</el-form-item> </el-form-item>
<el-form-item label="发货时间">
<el-date-picker
v-model="sendDate"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
/>
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" :loading="tableLoading" @click="getList()">搜索</el-button> <el-button type="primary" icon="el-icon-search" :loading="tableLoading" @click="getList()">搜索</el-button>
</el-form-item> </el-form-item>
...@@ -96,6 +106,7 @@ ...@@ -96,6 +106,7 @@
<el-table-column prop="bsAddressDto.name" label="收货联系人" :width="tdWidth" /> <el-table-column prop="bsAddressDto.name" label="收货联系人" :width="tdWidth" />
<el-table-column prop="bsAddressDto.mobile" label="收货联系电话" :width="tdWidth" /> <el-table-column prop="bsAddressDto.mobile" label="收货联系电话" :width="tdWidth" />
<el-table-column prop="subjectName" label="项目" :width="tdWidth" /> <el-table-column prop="subjectName" label="项目" :width="tdWidth" />
<el-table-column prop="logisticsDesc" label="发货信息" :width="tdWidth" show-overflow-tooltip />
<el-table-column label="操作" fixed="right" align="center" width="150"> <el-table-column label="操作" fixed="right" align="center" width="150">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<el-button type="primary" size="mini" v-if="scope.row.status == '8'" @click="assignShipment(scope.row)">分配发货</el-button> <el-button type="primary" size="mini" v-if="scope.row.status == '8'" @click="assignShipment(scope.row)">分配发货</el-button>
...@@ -239,7 +250,8 @@ export default { ...@@ -239,7 +250,8 @@ export default {
pageSize: 10, pageSize: 10,
exportLoading: false, exportLoading: false,
registerDate: [], registerDate: [],
tdWidth: 100, sendDate:[],
tdWidth: 140,
DATEFORMATE: (str, type) => {return this.$Util.dateFormate(str, type)}, DATEFORMATE: (str, type) => {return this.$Util.dateFormate(str, type)},
statusShow: { statusShow: {
'8': '待分配', '8': '待分配',
...@@ -310,6 +322,7 @@ export default { ...@@ -310,6 +322,7 @@ export default {
getParams: function() { getParams: function() {
const n = this.formInline const n = this.formInline
const m = this.registerDate const m = this.registerDate
const k = this.sendDate
let oParams = {} let oParams = {}
if (m && m.length > 0) { if (m && m.length > 0) {
n.checkTimeStart = m[0] + ' 00:00:01' n.checkTimeStart = m[0] + ' 00:00:01'
...@@ -318,6 +331,15 @@ export default { ...@@ -318,6 +331,15 @@ export default {
delete this.formInline.checkTimeStart delete this.formInline.checkTimeStart
delete this.formInline.checkTimeEnd delete this.formInline.checkTimeEnd
} }
if (k && k.length > 0) {
n.sendTimeStart = k[0] + ' 00:00:01'
n.sendTimeEnd = k[1] + ' 23:59:59'
} else {
delete this.formInline.sendTimeStart
delete this.formInline.sendTimeEnd
}
oParams = n oParams = n
oParams.pageSize = this.pageSize oParams.pageSize = this.pageSize
// oParams.condition = n // oParams.condition = n
......
<template>
<d2-container>
<el-card shadow="never">
<el-form :inline="true" :model="formInline" class="demo-form-inline" size="small">
<el-form-item label="设备类型:">
<el-input v-model="formInline.dvSn" placeholder="设备类型" />
</el-form-item>
<el-form-item label="设备号开头编码:">
<el-input v-model="formInline.dvSn" placeholder="设备号开头编码" />
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" :loading="tableLoading" plain @click="getList()">搜索</el-button>
</el-form-item>
</el-form>
</el-card>
<!-- 按钮操作区域 开始 -->
<div class="links_group">
<div class="left">
<el-button type="success" size="small" plain icon="el-icon-plus">新增</el-button>
</div>
<div class="right">
<el-button type="primary" size="small" plain icon="el-icon-upload2" @click="openDialog">导出</el-button>
</div>
</div>
<!-- 按钮操作区域 开始 -->
<!-- 表格区域 开始 -->
<div class="table_box">
<el-table class="el_table" v-loading="tableLoading" :data="tableData" stripe style="width: 100%" size="small" border>
<el-table-column prop="seedTag" label="设备类型" />
<el-table-column prop="dvSn" label="设备号开头编码" />
<el-table-column prop="dvImei" label="编码长度" />
<el-table-column prop="dvOperatorType" label="操作">
<template slot-scope="scope">{{showType(scope.row.dvOperatorType)}}</template>
</el-table-column>
</el-table>
<div class="pagination_list">
<el-pagination background layout="sizes, total,prev, pager, next, jumper" :total="pageTotal" :page-size="pageSize" :page-sizes="pageSizes" @current-change="getList" @size-change="changePageSize" />
</div>
</div>
<!-- 表格区域 end -->
<!-- 弹框 开始 -->
<glsx-dialog :show="showDialog" title="批量初始化" width="30%" usefooter @closed="closeDialog">
<div class="upload_box">
<h2 class="h2">
请点击下载"
<a :href="DEVICESNINITRECORDDOWNLOADTEMPLATE" target="_blank">批量初始化模版</a>"
</h2>
<el-form :model="uploadForm" :rules="uploadFormRules" label-width="120px">
<el-form-item label="操作方式:" prop="operatorType">
<el-select v-model="uploadForm.operatorType">
<el-option v-for="item in DVOPERATORTYPE" :key="item.id" :label="item.name" :value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="导入文件:" prop="msg">
<div class="upload_cell">
<el-input type="text" class="a_input" :value="uploadFile.name" readonly />
<el-upload class="upload-demo" ref="upload" :action="CHECKDEVICESNINITRECORDIMPORT" multiple :limit="1" :data="uploadForm" :on-exceed="handleExceed" :file-list="fileList" :show-file-list="false" :on-change="uploadChange" :on-success="uploadSuccess">
<el-button size="small" type="primary">选择文件</el-button>
</el-upload>
</div>
<div class="upload_cell cell_center" v-if="uploadError.totalCount || uploadError.totalCount==0">
<span>检验成功{{uploadError.successCount}}条,失败{{uploadError.failCount}}条</span>
<span>请下载</span>
<a :href="uploadError.url" target="_blank">导出失败列表</a>
</div>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="btn_group">
<el-button type="success" @click="uploadInfoToServer">导入</el-button>
<el-button @click="closeDialog">取消</el-button>
</div>
</glsx-dialog>
<!-- 弹框 end -->
</d2-container>
</template>
<script>
import { PAGEDEVICESNINITRECORD,DEVICESNINITRECORDDOWNLOADTEMPLATE,CHECKDEVICESNINITRECORDIMPORT,IMPORTDEVICESNINITRECORDIMPORT } from '@/http/device'
import GlsxDialog from '@/components/dialog/index'
import { deepClone, showToast } from '@/common/util'
export default {
components: {
'glsx-dialog': GlsxDialog,
},
data() {
return {
formInline: {},
tableData: [],
tableLoading: false,
pageTotal: 0,
currentPage: 1,
pageSizes: [10, 20, 30, 40],
pageSize: 10,
tdWidth: 170,
showDialog: false,
uploadFile: {},
deviceList: [],
DEVICESNINITRECORDDOWNLOADTEMPLATE: DEVICESNINITRECORDDOWNLOADTEMPLATE,
CHECKDEVICESNINITRECORDIMPORT: CHECKDEVICESNINITRECORDIMPORT,
uploadForm: { },
uploadError: {},
DVOPERATORTYPE: [
{ id: 'I', name: '初始化' },
{ id: 'Q', name: '取消出库' },
{ id: 'P', name: '取消入库' },
],
uploadFormRules:{
operatorType:[{required:true,message:'请选择操作方式',trigger:'change'}]
}
}
},
created() {},
mounted: function () {
this.getList()
},
methods: {
/**
* 查询列表
*/
getList: function (current) {
const _this = this
const oParams = _this.getParams()
console.log(current)
oParams.pageNum = current || _this.currentPage
_this.tableLoading = true
PAGEDEVICESNINITRECORD(oParams).then((res) => {
console.log(res)
_this.tableLoading = false
if (res.returnCode == 0) {
const { data } = res
const { total, listVo } = data
_this.tableData = listVo || []
_this.pageTotal = total
}
})
},
/**
* 获取查询参数
*/
getParams: function () {
let oParams = deepClone(this.formInline)
oParams.dvIccid = oParams.dvSn
oParams.dvImei = oParams.dvSn
oParams.pageSize = this.pageSize
return oParams
},
/**
* 每页展示
*/
changePageSize: function (e) {
this.pageSize = e
this.getList()
},
/**监听文件改变 */
uploadChange: function (file, fileList) {
console.log(file)
this.uploadFile = file
},
/**监听文件上传成功 */
uploadSuccess: function (res, file, fileList) {
console.log(res)
//this.$refs.upload.submit();
let o = res.data || []
let m = o[0] || {}
this.$refs.upload.clearFiles()
if (m.url) {
this.uploadError = m
return false
}
this.fileInfo = m.msg
},
/**手动上传文件 */
uploadInfoToServer: function () {
let _this = this
let o = this.fileInfo
let m = this.uploadForm
if (!o) {
return false
}
let oParams = {}
oParams.msg = o;
IMPORTDEVICESNINITRECORDIMPORT(oParams).then((res) => {
console.log(res)
_this.fileLoading = false
if (res.returnCode == 0) {
_this.closeDialog()
showToast({
message: '导入成功',
type: 'success',
})
_this.getList()
}
})
},
// 打开弹框
openDialog() {
this.uploadFile = {}
this.showDialog = true
},
/**关闭弹框 */
closeDialog: function () {
this.$refs.upload.clearFiles()
this.uploadFile = {}
this.showDialog = false
},
// 展示操作方式
showType(id) {
let _list = this.DVOPERATORTYPE
let o = _list.find((k) => k.id == id)
if (o) {
return o.name
} else {
return ''
}
},
},
}
</script>
<style lang="scss" scoped>
.table_box {
margin: 10px 0;
}
.upload_box {
.h2 {
font-size: 14px;
font-weight: normal;
a {
color: #337ab7;
}
}
.h3 {
font-size: 14px;
color: #f00;
font-weight: normal;
}
}
.upload_cell {
display: flex;
align-items: center;
margin: 10px 0;
.name {
width: 80px;
font-weight: bold;
}
.a_input {
margin: 0 8px 0 0;
width: 217px;
}
}
.cell_center {
text-align: center;
}
</style>
<template> <template>
<div > <div>
<glsx-dialog :show="show" width="60%" title="继续发货" usefooter @closed="cancel"> <glsx-dialog :show="show" width="60%" title="继续发货" usefooter @closed="cancel">
<p class="h2">注意:此功能只能不需要工厂/仓库出货,且无需明细的设备,请谨慎操作</p> <p class="h2">注意:此功能只能不需要工厂/仓库出货,且无需明细的设备,请谨慎操作</p>
<el-form ref="directDeliveryFrom" :model="form" :rules="formRules" label-width="110px"> <el-form ref="directDeliveryFrom" :model="form" :rules="formRules" label-width="110px">
<div> <div>
<el-form-item label="物料编码"> <el-form-item label="物料编码">
<el-input v-model="form.materialCode" disabled/> <el-input v-model="form.materialCode" disabled />
</el-form-item> </el-form-item>
<el-form-item label="物料名称"> <el-form-item label="物料名称">
<el-input v-model="form.materialName" disabled/> <el-input v-model="form.materialName" disabled />
</el-form-item> </el-form-item>
<el-form-item label="设备类型"> <el-form-item label="设备类型">
<el-input v-model="form.deviceTypeName" disabled/> <el-input v-model="form.deviceTypeName" disabled />
</el-form-item> </el-form-item>
<el-form-item label="欠发数量"> <el-form-item label="欠发数量">
<el-input v-model="form.totalOwes" disabled/> <el-input v-model="form.totalOwes" disabled />
</el-form-item> </el-form-item>
<el-form-item label="审核备注"> <el-form-item label="审核备注">
<el-input v-model="form.checkRemark" disabled/> <el-input v-model="form.checkRemark" disabled />
</el-form-item> </el-form-item>
</div> </div>
<br /> <br />
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<span class="text-wrapper">{{scope.row.fastenConfigDesc}}</span> <span class="text-wrapper">{{scope.row.fastenConfigDesc}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="optionConfigDesc" label="选项配置" width="200" > <el-table-column prop="optionConfigDesc" label="选项配置" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="text-wrapper">{{scope.row.optionConfigDesc}}</span> <span class="text-wrapper">{{scope.row.optionConfigDesc}}</span>
</template> </template>
...@@ -44,6 +44,22 @@ ...@@ -44,6 +44,22 @@
</el-table> </el-table>
</div> </div>
</div> </div>
<!-- 附件信息 开始 -->
<h3>附件信息:</h3>
<div class="form_row">
<div class="cell">
<div class="name">上传附件</div>
<div class="txt_content"></div>
</div>
<div class="cell">
<div class="name">发货单</div>
<div class="txt_content">
<a :href="info.urlDispatchBills" target="_blank" v-if="info.urlDispatchBills">{{info.urlDispatchBillsName}}</a>
</div>
</div>
</div>
<!-- 附件信息 end -->
<br /> <br />
<div class="line_box"> <div class="line_box">
<div class="left"> <div class="left">
...@@ -63,26 +79,21 @@ ...@@ -63,26 +79,21 @@
<div class="left"> <div class="left">
<el-form-item label="发货时间" prop="sendTime"> <el-form-item label="发货时间" prop="sendTime">
<div class="block"> <div class="block">
<el-date-picker <el-date-picker v-model="form.sendTime" type="date" value-format="yyyy-MM-dd" :picker-options="pickerOptions" placeholder="选择日期时间">
v-model="form.sendTime"
type="date"
value-format="yyyy-MM-dd"
:picker-options="pickerOptions"
placeholder="选择日期时间">
</el-date-picker> </el-date-picker>
</div> </div>
</el-form-item> </el-form-item>
</div> </div>
<div class="right"> <div class="right">
<el-form-item label="物流公司" prop="logisticsCompany"> <el-form-item label="物流公司" prop="logisticsCompany">
<el-input v-model="form.logisticsCompany" maxlength="30" clearable/> <el-input v-model="form.logisticsCompany" maxlength="30" clearable />
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
<div class="line_box"> <div class="line_box">
<div class="left"> <div class="left">
<el-form-item label="物流单号" prop="logisticsNum"> <el-form-item label="物流单号" prop="logisticsNum">
<el-input v-model="form.logisticsNum" maxlength="30" clearable/> <el-input v-model="form.logisticsNum" maxlength="30" clearable />
</el-form-item> </el-form-item>
</div> </div>
<div class="right"> <div class="right">
...@@ -103,24 +114,22 @@ import util from '@/libs/util' ...@@ -103,24 +114,22 @@ import util from '@/libs/util'
import { import {
GETWAREHOUSEINFO, GETWAREHOUSEINFO,
LISTSPORDERVEHICLE, LISTSPORDERVEHICLE,
DISPATCHSPORDERDIRECT DISPATCHSPORDERDIRECT,
} from '@/http/interface' } from '@/http/interface'
import { import { Validator } from '@/common/validator'
Validator
} from '@/common/validator'
export default { export default {
name: 'ContinueDelivery', name: 'ContinueDelivery',
props: { props: {
info: { info: {
type: Object, type: Object,
default: function() { default: function () {
return {} return {}
} },
}, },
show: { show: {
type: Boolean, type: Boolean,
default: false default: false,
} },
}, },
components: { components: {
'glsx-dialog': GlsxDialog, 'glsx-dialog': GlsxDialog,
...@@ -146,68 +155,73 @@ export default { ...@@ -146,68 +155,73 @@ export default {
callback() callback()
} }
return { return {
pickerOptions: { pickerOptions: {
disabledDate(time) { disabledDate(time) {
// return time.getTime() > Date.now() - 8.64e6 // return time.getTime() > Date.now() - 8.64e6
return time.getTime() > Date.now() return time.getTime() > Date.now()
} },
}, },
form: {}, form: {},
carList: [], carList: [],
car_tdWidth : 200, car_tdWidth: 200,
warehouse: [], warehouse: [],
showCarInfo: false, showCarInfo: false,
loading: false, loading: false,
tableLoading: false, tableLoading: false,
formRules: { formRules: {
sendNums: [{ sendNums: [
{
required: true, required: true,
message: '请输入产品数量', message: '请输入产品数量',
trigger: 'blur' trigger: 'blur',
}, },
{ {
validator: checkTotal, validator: checkTotal,
trigger: 'blur' trigger: 'blur',
} },
], ],
warehouseId: [{ warehouseId: [
{
required: true, required: true,
message: '请选择仓库', message: '请选择仓库',
trigger: 'blur' trigger: 'blur',
}], },
sendTime: [{ ],
sendTime: [
{
required: true, required: true,
message: '请选择发货时间', message: '请选择发货时间',
trigger: 'blur' trigger: 'blur',
}], },
logisticsCompany: [{ ],
logisticsCompany: [
{
required: true, required: true,
message: '请输入物流公司', message: '请输入物流公司',
trigger: 'blur' trigger: 'blur',
}], },
logisticsNum: [{ ],
logisticsNum: [
{
required: true, required: true,
message: '请输入物流单号', message: '请输入物流单号',
trigger: 'blur' trigger: 'blur',
}]
}
}
}, },
created() { ],
},
}
}, },
created() {},
mounted: function() { mounted: function () {
this.init() this.init()
}, },
methods: { methods: {
/** /**
* 初始化函数 * 初始化函数
*/ */
init: function() { init: function () {
this.form = util.deepClone(this.info) this.form = util.deepClone(this.info)
this.getCarInfo() this.getCarInfo()
this.getWarehouseList() this.getWarehouseList()
...@@ -216,13 +230,11 @@ export default { ...@@ -216,13 +230,11 @@ export default {
/** /**
* 获取仓库列表 * 获取仓库列表
*/ */
getWarehouseList: function(e) { getWarehouseList: function (e) {
const _this = this const _this = this
const oParams = {} const oParams = {}
GETWAREHOUSEINFO(oParams).then(res => { GETWAREHOUSEINFO(oParams).then((res) => {
const { const { list } = res.data
list
} = res.data
_this.warehouse = list || [] _this.warehouse = list || []
}) })
}, },
...@@ -230,27 +242,25 @@ export default { ...@@ -230,27 +242,25 @@ export default {
/** /**
* 获取子订单车辆审核列表 * 获取子订单车辆审核列表
*/ */
getCarInfo: function(){ getCarInfo: function () {
const _this = this const _this = this
const oParams = {} const oParams = {}
let orderList = [] let orderList = []
orderList.push(this.form.merchantOrder) orderList.push(this.form.merchantOrder)
oParams.listMerchantOrder = orderList oParams.listMerchantOrder = orderList
LISTSPORDERVEHICLE(oParams).then(res => { LISTSPORDERVEHICLE(oParams).then((res) => {
console.log(res) console.log(res)
const { const { data } = res
data
} = res
_this.carList = data || [] _this.carList = data || []
if(_this.carList.length > 0){ if (_this.carList.length > 0) {
let carInfo = _this.carList[0] let carInfo = _this.carList[0]
if(!carInfo.bsParentBrandName && !carInfo.bsSubBrandName){ if (!carInfo.bsParentBrandName && !carInfo.bsSubBrandName) {
this.showCarInfo = false this.showCarInfo = false
}else{ } else {
this.showCarInfo = true this.showCarInfo = true
} }
}else{ } else {
this.showCarInfo = false this.showCarInfo = false
} }
}) })
...@@ -259,12 +269,11 @@ export default { ...@@ -259,12 +269,11 @@ export default {
/** /**
* 保存数据 * 保存数据
*/ */
saveInfo: function() { saveInfo: function () {
const _this = this const _this = this
const m = _this.form const m = _this.form
const oParams = {} const oParams = {}
_this.$refs.directDeliveryFrom.validate((valid) => { _this.$refs.directDeliveryFrom.validate((valid) => {
if (!valid) { if (!valid) {
return false return false
...@@ -276,13 +285,13 @@ export default { ...@@ -276,13 +285,13 @@ export default {
oParams.sendTime = m.sendTime oParams.sendTime = m.sendTime
oParams.warehouseId = m.warehouseId oParams.warehouseId = m.warehouseId
console.log(oParams) console.log(oParams)
DISPATCHSPORDERDIRECT(oParams).then(res => { DISPATCHSPORDERDIRECT(oParams).then((res) => {
if (res.returnCode == 0) { if (res.returnCode == 0) {
this.$message({ this.$message({
type: 'success', type: 'success',
message: '操作成功!' message: '操作成功!',
}); })
_this.$emit('closed',true) _this.$emit('closed', true)
} }
}) })
}) })
...@@ -291,46 +300,60 @@ export default { ...@@ -291,46 +300,60 @@ export default {
/** /**
* 关闭弹框 * 关闭弹框
*/ */
cancel: function() { cancel: function () {
this.$emit('closed') this.$emit('closed')
}, },
},
}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.addorder_page { .addorder_page {
padding: 20px; padding: 20px;
position: relative; position: relative;
} }
.table_box { .table_box {
/* padding: 0 10px; */ /* padding: 0 10px; */
} }
.line_box { .line_box {
display: flex; display: flex;
.left, .left,
.right { .right {
flex: 1; flex: 1;
}
} }
}
.el_select { .el_select {
width: 100%; width: 100%;
} }
.sort_input { .sort_input {
width: 200px; width: 200px;
} }
.h2 { .h2 {
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;
color: #f00; color: #f00;
text-align: center; text-align: center;
}
.form_row {
display: flex;
flex-wrap: wrap;
margin: 20px 0 40px 0;
.cell {
flex: 0 0 50%;
display: flex;
.name {
width: 98px;
flex-shrink: 0;
text-align: right;
} }
.txt_content {
flex: 1;
}
}
}
</style> </style>
<template> <template>
<div> <div>
<!-- <div style="text-align:right"> <div style="text-align:right">
<el-button type="primary" icon="el-icon-download" :loading="exportLoading" @click="exportInfo()">导出列表</el-button> <el-button type="primary" plain size="small" icon="el-icon-download" :loading="exportLoading" @click="exportInfo()">导出列表</el-button>
</div> --> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<div class="table_box"> <div class="table_box">
<el-table v-loading="tableLoading" :data="tableData" stripe style="width: 100%" size="small" border> <el-table v-loading="tableLoading" :data="tableData" stripe style="width: 100%" size="small" border>
<el-table-column type="index" :index="index => {return index+1}" label="序号" width="80" /> <el-table-column type="index" label="序号" width="60" />
<el-table-column prop="iccid" label="ICCID" style="width: 100%" v-if="ndScan == 'Y'" /> <el-table-column prop="iccid" label="ICCID" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'Y'" />
<el-table-column prop="sn" label="SN" width="140" v-if="ndScan == 'Y'" /> <el-table-column prop="sn" label="SN" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'Y'" />
<el-table-column prop="imei" label="IMEI" width="140" v-if="ndScan == 'Y'" /> <el-table-column prop="imei" label="IMEI" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'Y'" />
<!-- <el-table-column prop="attribCode" label="物料编码" :width="tdWidth" v-if="ndScan == 'Y'" /> --> <el-table-column prop="materialCode" label="物料编码" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'Y'" />
<el-table-column prop="dispatchOrderCode" label="订单号" :width="tdWidth" v-if="ndScan == 'Y'" /> <el-table-column prop="materialName" label="物料名称" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'Y'" />
<el-table-column prop="updatedDate" label="出库时间" width="140" v-if="ndScan == 'Y'"> <el-table-column prop="dispatchOrderCode" label="订单号" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'Y'" />
<el-table-column prop="updatedDate" label="发货时间" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'Y'">
<template slot-scope="scope">{{ DATEFORMATE(scope.row.updatedDate, 'YYYY-MM-DD HH:mm:ss') }}</template> <template slot-scope="scope">{{ DATEFORMATE(scope.row.updatedDate, 'YYYY-MM-DD HH:mm:ss') }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="dispatchOrderCode" label="发货单号" style="width: 100%" v-if="ndScan == 'N' || ndScan == 'D'" /> <el-table-column prop="dispatchOrderCode" label="发货单号" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'N' || ndScan == 'D'" />
<el-table-column prop="updatedDate" label="发货时间" width="140" v-if="ndScan == 'N' || ndScan == 'D'"> <el-table-column prop="updatedDate" label="发货时间" show-overflow-tooltip v-if="ndScan == 'N' || ndScan == 'D'">
<template slot-scope="scope">{{ DATEFORMATE(scope.row.updatedDate, 'YYYY-MM-DD') }}</template> <template slot-scope="scope">{{ DATEFORMATE(scope.row.updatedDate, 'YYYY-MM-DD') }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="logisticsCompany" label="物料公司" :width="tdWidth" v-if="ndScan == 'N' || ndScan == 'D'" /> <el-table-column prop="logisticsCompany" label="物料公司" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'N' || ndScan == 'D'" />
<el-table-column prop="logisticsNum" label="物流单号" :width="tdWidth" v-if="ndScan == 'N' || ndScan == 'D'" /> <el-table-column prop="logisticsNum" label="物流单号" show-overflow-tooltip :width="tdWidth" v-if="ndScan == 'N' || ndScan == 'D'" />
<el-table-column prop="sendQulities" label="发货数量" width="80" v-if="ndScan == 'N' || ndScan == 'D'" /> <el-table-column prop="sendQulities" label="发货数量" width="80" v-if="ndScan == 'N' || ndScan == 'D'" />
</el-table> </el-table>
<div class="pagination_list"> <div class="pagination_list">
...@@ -40,10 +41,10 @@ ...@@ -40,10 +41,10 @@
</template> </template>
<script> <script>
import config from '@/http/config.js' // 倒入默认配置
import { import {
PAGEDISPATCHORDERDETAIL PAGEDISPATCHORDERDETAIL
} from '@/http/interface' } from '@/http/interface'
import {EXPORTDISPATCHORDERDETAIL} from '@/http/order'
import { import {
exportExcel, exportExcel,
} from '@/common/common' } from '@/common/common'
...@@ -140,15 +141,19 @@ export default { ...@@ -140,15 +141,19 @@ export default {
exportInfo: function(){ exportInfo: function(){
const _this = this const _this = this
const _data = {} const _data = {}
_data.orderCode = this.orderCode _data.dispatchOrderCode = this.orderCode
const params = {'fileName':'出货明细'} // const params = {'fileName':'出货明细'}
params.url = config.baseURL + "/deviceInfo/exportDeviceByOrderCode" // params.url = EXPORTDISPATCHORDERDETAIL
params.data = _data // params.data = _data
params.success = function(){ // params.success = function(){
_this.exportLoading = false // _this.exportLoading = false
} // }
// _this.exportLoading = true
// exportExcel(params)
_this.exportLoading = true _this.exportLoading = true
exportExcel(params) EXPORTDISPATCHORDERDETAIL(_data).then(res => {
_this.exportLoading = false
})
} }
} }
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<el-table-column prop="materialCode" label="物料编码" width="100" /> <el-table-column prop="materialCode" label="物料编码" width="100" />
<el-table-column prop="mnumName" label="设备型号" :width="tdWidth" /> <el-table-column prop="mnumName" label="设备型号" :width="tdWidth" />
<el-table-column prop="packageOne" label="商品编号" :width="tdWidth" /> <el-table-column prop="packageOne" label="商品编号" :width="tdWidth" />
<el-table-column prop="factMaterialCode" label="工厂编号" :width="tdWidth" /> <el-table-column prop="warehouseId" label="工厂编码" :width="tdWidth" />
<el-table-column prop="warehouseName" label="发货仓库" :width="tdWidth" /> <el-table-column prop="warehouseName" label="发货仓库" :width="tdWidth" />
<el-table-column prop="sendMerchantName" label="发往商户" width="200px" /> <el-table-column prop="sendMerchantName" label="发往商户" width="200px" />
<el-table-column prop="address" label="发货地址" width="300" show-overflow-tooltip /> <el-table-column prop="address" label="发货地址" width="300" show-overflow-tooltip />
......
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!