开锁和关锁

开锁和关锁
This commit is contained in:
shawn 2019-11-26 17:43:30 +08:00
parent 4875e8140d
commit 1a6e1ac588
1374 changed files with 12870 additions and 9372 deletions

View file

@ -139,7 +139,7 @@ module.exports = {
}],
'no-unreachable': 2,
'no-unsafe-finally': 2,
'no-unused-vars': [2, {
'no-unused-vars': [0, {
'vars': 'all',
'args': 'none'
}],

View file

@ -57,7 +57,7 @@ export function userLockCar(query) {
params.append('deviceId', query) // 你要传给后台的参数值 key/value
}
return request({
url: '/remoteControl/userLockCar',
url: '/remoteControl/lockCar',
method: 'post',
data: params
})
@ -70,7 +70,20 @@ export function userUnLockCar(query) {
params.append('deviceId', query) // 你要传给后台的参数值 key/value
}
return request({
url: '/remoteControl/userUnLockCar',
url: '/remoteControl/unLockCar',
method: 'post',
data: params
})
}
// 判断车辆锁车状态
export function getlockStat(query) {
var params = new URLSearchParams()
if (query !== '' && query !== null && query !== undefined) {
params.append('snCode', query) // 你要传给后台的参数值 key/value
}
return request({
url: '/vehicle/getVehicleStat',
method: 'post',
data: params
})

View file

@ -12,6 +12,7 @@
</template>
<script>
var _that
export default {
name: 'BackToTop',
props: {
@ -49,6 +50,9 @@ export default {
isMoving: false
}
},
beforeCreate() {
_that = this
},
mounted() {
window.addEventListener('scroll', this.handleScroll)
},

View file

@ -13,6 +13,7 @@
import { generateTitle } from '@/utils/i18n'
import pathToRegexp from 'path-to-regexp'
var _that
export default {
data() {
return {

View file

@ -6,6 +6,7 @@
import echarts from 'echarts'
import resize from './mixins/resize'
var _that
export default {
mixins: [resize],
props: {
@ -31,6 +32,9 @@ export default {
chart: null
}
},
beforeCreate() {
_that = this
},
mounted() {
this.initChart()
},

View file

@ -6,6 +6,7 @@
import echarts from 'echarts'
import resize from './mixins/resize'
var _that
export default {
mixins: [resize],
props: {
@ -31,6 +32,9 @@ export default {
chart: null
}
},
beforeCreate() {
_that = this
},
mounted() {
this.initChart()
},

View file

@ -6,6 +6,7 @@
import echarts from 'echarts'
import resize from './mixins/resize'
var _that
export default {
mixins: [resize],
props: {
@ -31,6 +32,9 @@ export default {
chart: null
}
},
beforeCreate() {
_that = this
},
mounted() {
this.initChart()
},

View file

@ -1,11 +1,15 @@
import { debounce } from '@/utils'
var _that
export default {
data() {
return {
sidebarElm: null
}
},
beforeCreate() {
_that = this
},
mounted() {
this.__resizeHandler = debounce(() => {
if (this.chart) {

View file

@ -27,6 +27,7 @@
<script>
import draggable from 'vuedraggable'
var _that
export default {
name: 'DndList',
components: { draggable },

View file

@ -7,6 +7,7 @@
<script>
import Sortable from 'sortablejs'
var _that
export default {
name: 'DragSelect',
props: {
@ -25,6 +26,9 @@ export default {
}
}
},
beforeCreate() {
_that = this
},
mounted() {
this.setSort()
},

View file

@ -11,6 +11,7 @@ import 'dropzone/dist/dropzone.css'
Dropzone.autoDiscover = false
var _that
export default {
props: {
id: {
@ -87,6 +88,9 @@ export default {
this.initOnce = false
}
},
beforeCreate() {
_that = this
},
mounted() {
const element = document.getElementById(this.id)
const vm = this

View file

@ -51,6 +51,7 @@
</template>
<script>
var _that
export default {
name: 'ErrorLog',
data() {

View file

@ -27,6 +27,7 @@
</template>
<script>
var _that
export default {
name: 'Hamburger',
props: {

View file

@ -114,6 +114,7 @@ import language from './utils/language.js'
import mimes from './utils/mimes.js'
import data2blob from './utils/data2blob.js'
import effectRipple from './utils/effectRipple.js'
var _that
export default {
props: {
// name

View file

@ -1,3 +1,4 @@
var _that
export default {
zh: {
hint: '点击,或拖动图片至此处',

View file

@ -1,3 +1,4 @@
var _that
export default {
'jpg': 'image/jpeg',
'png': 'image/png',

View file

@ -14,6 +14,7 @@ import 'codemirror/mode/javascript/javascript'
import 'codemirror/addon/lint/lint'
import 'codemirror/addon/lint/json-lint'
var _that
export default {
name: 'JsonEditor',
/* eslint-disable vue/require-prop-types */
@ -31,6 +32,9 @@ export default {
}
}
},
beforeCreate() {
_that = this
},
mounted() {
this.jsonEditor = CodeMirror.fromTextArea(this.$refs.textarea, {
lineNumbers: true,

View file

@ -16,6 +16,7 @@
<script>
import draggable from 'vuedraggable'
var _that
export default {
name: 'DragKanbanDemo',
components: {

View file

@ -11,6 +11,7 @@
</template>
<script>
var _that
export default {
computed: {
language() {

View file

@ -106,6 +106,7 @@
<script>
// source:https://github.com/wemake-services/vue-material-input/blob/master/src/components/MaterialInput.vue
var _that
export default {
name: 'MdInput',
props: {

View file

@ -9,6 +9,7 @@ import 'font-awesome/css/font-awesome.min.css'
import 'simplemde/dist/simplemde.min.css'
import SimpleMDE from 'simplemde'
var _that
export default {
name: 'SimplemdeMd',
props: {
@ -56,6 +57,9 @@ export default {
this.simplemde.value(val)
}
},
beforeCreate() {
_that = this
},
mounted() {
this.simplemde = new SimpleMDE({
element: document.getElementById(this.id),

View file

@ -15,6 +15,7 @@
<script>
import { scrollTo } from '@/utils/scrollTo'
var _that
export default {
name: 'Pagination',
props: {

View file

@ -10,6 +10,7 @@
</template>
<script>
var _that
export default {
name: 'PanThumb',
props: {

View file

@ -30,6 +30,7 @@
<script>
import screenfull from 'screenfull'
var _that
export default {
name: 'Screenfull',
props: {

View file

@ -7,6 +7,7 @@
<script>
const tagAndTagSpacing = 4 // tagAndTagSpacing
var _that
export default {
name: 'ScrollPane',
data() {

View file

@ -11,6 +11,7 @@
</template>
<script>
var _that
export default {
props: {
items: {

View file

@ -12,6 +12,7 @@
</template>
<script>
var _that
export default {
computed: {
size() {

View file

@ -9,6 +9,7 @@
</template>
<script>
var _that
export default {
name: 'Sticky',
props: {
@ -34,6 +35,9 @@ export default {
isSticky: false
}
},
beforeCreate() {
_that = this
},
mounted() {
this.height = this.$el.getBoundingClientRect().height
window.addEventListener('scroll', this.handleScroll)

View file

@ -5,6 +5,7 @@
</template>
<script>
var _that
export default {
name: 'SvgIcon',
props: {

View file

@ -7,6 +7,7 @@
</template>
<script>
var _that
export default {
props: {
className: {

View file

@ -10,6 +10,7 @@
const version = require('element-ui/package.json').version // element-ui version from node_modules
const ORIGINAL_THEME = '#409EFF' // default color
var _that
export default {
data() {
return {

View file

@ -24,6 +24,7 @@
<script>
// import { getToken } from 'api/qiniu'
var _that
export default {
name: 'EditorSlideUpload',
props: {

View file

@ -12,6 +12,7 @@ import editorImage from './components/editorImage'
import plugins from './plugins'
import toolbar from './toolbar'
var _that
export default {
name: 'Tinymce',
components: { editorImage },
@ -72,6 +73,9 @@ export default {
this.$nextTick(() => this.initTinymce())
}
},
beforeCreate() {
_that = this
},
mounted() {
this.initTinymce()
},

View file

@ -32,6 +32,7 @@
Created: 2018/1/19-13:59
*/
import treeToArray from './eval'
var _that
export default {
name: 'TreeTable',
props: {

View file

@ -26,6 +26,7 @@
//
import { getToken } from '@/api/qiniu'
var _that
export default {
name: 'SingleImageUpload',
props: {

View file

@ -25,6 +25,7 @@
<script>
import { getToken } from '@/api/qiniu'
var _that
export default {
name: 'SingleImageUpload2',
props: {

View file

@ -33,6 +33,7 @@
<script>
import { getToken } from '@/api/qiniu'
var _that
export default {
name: 'SingleImageUpload3',
props: {

View file

@ -11,6 +11,7 @@
<script>
import XLSX from 'xlsx'
var _that
export default {
props: {
beforeUpload: Function, // eslint-disable-line

View file

@ -4,6 +4,7 @@ if (!Clipboard) {
throw new Error('you should npm install `clipboard` --save at first ')
}
var _that
export default {
bind(el, binding) {
if (binding.arg === 'success') {

View file

@ -25,6 +25,7 @@ const doResize = (el, binding, vnode) => {
$table.doLayout()
}
var _that
export default {
bind(el, binding, vnode) {
el.resizeListener = () => {

View file

@ -1,3 +1,4 @@
var _that
export default {
route: {
dashboard: 'Dashboard',

View file

@ -1,3 +1,4 @@
var _that
export default {
route: {
dashboard: 'Panel de control',

View file

@ -3186,8 +3186,548 @@ export default {
ty: '停用',
lx: '类型',
qxz: '请选择',
flmc: '分类名称',
flmc: '分类名称',
roleid: '角色'
xzmb: '下载模板',
drsj: '导入数据',
scbg: '上传Excel表格',
bgsj: '表格数据',
xqrq: '需求日期',
sqyy: '申请原因',
ydxh: '源单序号',
ys: '颜色',
sqsl: '申请数量',
yxdsl: '已下达数量',
spjl: '审批记录',
dqbz: '当前步骤',
dqspr: '当前审批人',
spsj: '审批时间',
spyj: '审批意见',
xqing: '详情',
cydzxz: '从源单中选择',
xg: '修改',
kckz: '库存快照',
jhsl: '计划数量',
jhje: '计划金额',
jhjhrq: '计划交货日期',
ydbh: '源单编号',
ydgsl: '已订购数量',
djbh: '单据编号',
spzt: '审批状态',
djzt: '单据状态',
dept: '部门',
wsh: '未审核',
shz: '审核中',
shtg: '审核通过',
shptg: '审核不通过',
zx: '执行',
zd: '制单',
jd: '结单',
fjd: '反结单',
spi: '审批',
fsp: '反审批',
jc: '进程',
cgsqdzt: '采购申请单主题',
sqr: '申请人',
sc: '删除',
ktgspmx: '可提供商品明细',
ywxx: '业务信息',
cwxx: '财务信息',
fzxx: '辅助信息',
gyskh: '供应商考核',
sctjd: '生成调价单',
tzdmx: '调整单明细',
cgdyj: '采购单原价',
cgdxj: '采购单现价',
bgdzt: '变更单主题',
bgdbh: '变更单编号',
lrtc: '利润提成',
xssrtc: '销售收入提成',
tcbl: '提成比例',
gdje: '固定金额',
splcbz: '审批流程步骤',
tj: '添加',
jlzbh: '计量单位组编号',
jlzmc: '计量单位组名称',
xjzqy: '新增子区域',
jsmc: '角色名称',
name: '名称',
qx: '全选',
czqx: '操作权限',
mkmc: '模块列表',
jslb: '角色列表',
cgsqdmx: '采购申请明细',
cgsqdmxly: '采购申请明细来源',
wlfl: '物料分类',
wlmc: '物料名称',
sfysccg: '是否已生成采购计划',
sccgjhd: '生成采购计划单',
cgjhj: '计划采购价',
cgjhjlymx: '采购计划来源明细',
cgjhmx: '采购计划明细',
cgjhzt: '采购计划主题',
cgjhbh: '采购计划编号',
jhy: '计划员',
cgxjdmx: '采购询价单明细',
jhrq: '交货日期',
hsj: '含税价',
sl: '税率(%)',
hsje: '含税金额',
se: '税额',
ckl: '折扣率(%)',
cke: '折扣额',
bz: '备注',
slhj: '数量合计',
hehj: '金额合计',
sehj: '税额合计',
hsjehj: '含税金额合计',
zkjehj: '折扣金额合计',
zhhsjehj: '折后含税金额合计',
hjxx: '合计信息',
htzt: '合同主题',
htdh: '合同单号',
ydhsl: '已到货数量',
thsl: '退货数量',
sdsl: '实到数量',
cgslhj: '采购数量合计',
zdzkjehj: '整单折扣金额合计',
cqtfyzchjgjhj: '其他费用支出合计',
dhrq: '到货日期',
dsr: '点收人',
fzdj: '复制单据',
cgddmx: '采购订单明细',
dhxx: '到货信息',
cgdhdmx: '采购到货单明细',
yrksl: '已入库数量',
bjsl: '报检数量',
sjsl: '实检数量',
hgsl: '合格数量',
bhgsl: '不合格数量',
dhslzj: '到货数量总计',
djzti: '单据主题',
cgthdmx: '采购退货单明细',
thyy: '退货原因',
thslzj: '退货数量总计',
wpbm: '物品编码',
cgsjd: '采购时间段',
tjx: '统计项',
shul: '数量',
jehj: '金额合计',
wlgl: '物流管理',
cwgl: '财务管理',
bbgl: '报表统计',
rzgl: '日志管理',
sy: '首页',
xtgl: '系统管理',
cggl: '采购管理',
xsgl: '销售管理',
kcgl: '库存管理',
yxgl: '营销管理',
fqgl: '分期管理',
scgl: '生产管理',
zjgl: '质检管理',
kf: '客服',
wpfl: '物品分类',
jbdw: '基本单位',
ggxh: '规格型号',
jxf: '绩效分',
spjf: '商品积分',
ydsl: '源单数量',
wcksl: '未出库数量',
cksli: '出库数量',
ckj: '出库价',
ckje: '出库金额',
djbm: '电机编码',
cjbm: '车架编码',
dcbm: '电池编码',
lsj: '零售价',
shuli: '数量',
ddsl: '订单数量',
ycksl: '已出库数量',
ythsl: '已退货数量',
xsdj: '销售单价',
yxdcgsl: '已下达采购数量',
yxdscsl: '已下达生产数量',
thje: '退货金额',
zk: '折扣(%)',
fhsl: '发货数量',
cjh: '车架号',
hscbje: '含税成本金额',
gjbh: '工具编号',
gjmc: '工具名称',
stat: '状态',
cklv: '折扣率(%)',
slv: '税率',
jxsxm: '经销商姓名',
xsmd: '销售门店',
hhdzt: '换货单主题',
hhdbh: '换货单编号',
ckdzt: '出库单主题',
ckdbh: '出库单编号',
ddzt: '订单主题',
dddh: '订单单号',
jhzt: '计划主题',
jhdh: '计划单号',
jhzti: '机会主题',
jhdhao: '机会单号',
hsdzt: '回收单主题',
hsddh: '回收单单号',
hsr: '回收人',
ysdzt: '预售单主题',
ysdbh: '预售单编号',
ywy: '业务员',
tkdzt: '退款单主题',
tkddh: '退款单单号',
yddh: '源单单号',
ckbh: '仓库编号',
spfl: '商品分类',
spbh: '商品编号',
spmc: '商品名称',
yssl: '预售数量',
cbj: '成本价',
zko: '折扣(%',
spbm: '商品编码',
ckdmx: '出库单明细',
zpmx: '赠品明细',
ddmx: '订单明细',
xgdjzt: '相关单据状态',
thmx: '退货明细',
jhmx: '计划明细',
yxsp: '意向商品',
htmx: '合同明细',
gjmx: '工具明细',
trmx: '退入明细',
hcmx: '换出明细',
hsspxx: '回收商品信息',
khxx: '客户信息',
ysgz: '预售规则',
yssp: '预售商品',
tjmx: '添加明细',
xgbkmx: '修改本级明细',
scmx: '删除明细',
tjyssp: '添加预售商品',
rkdmx: '入库单明细',
dbsqdmx: '调拨申请明细',
bsdmx: '报损单明细',
pddmx: '盘点单明细',
tjdmx: '调价单明细',
wllzgzmx: '货物流转规则明细',
dzzdspmx: '待组装的商品',
zzhdsp: '组装后的商品',
dczdsp: '待拆装的商品',
czhdsp: '拆装后的商品',
rctzdmx: '日常调整单明细',
kwtzdmx: '库位调整单明细',
sysp: '适用商品',
symd: '适用门店',
zsp: '主商品',
zssp: '赠送商品',
spxx: '商品信息',
gzxx: '工作信息',
zxrxx: '征询人信息',
zjsc: '证件上传',
khdcbgmx: '客户调查报告明细',
zhjg: '综合结果',
yyfx: '原因分析',
fqlb: '分期列表',
hkjl: '还款计划',
yqlb: '逾期列表',
yqjl: '逾期记录',
clxx: '车辆信息',
qsmx: '缺失明细',
fjxx: '父件信息',
zjxx: '子件信息',
zscjhmx: '主生产计划明细',
wlxqjhmx: '物料需求计划明细',
scrwdmx: '生成任务单明细',
scmxi: '生产明细',
cbfymx: '成本费用明细',
gxmx: '工序明细',
fyxx: '费用信息',
wbdmx: '外包单明细',
zjsqdmx: '质检申请单明细',
wpxx: '物品信息',
jyxx: '检验信息',
zjbgmx: '质检报告单明细',
bhgczdmx: '不合格单处置明细',
psdmx: '配送单明细',
cgfpmx: '采购发票明细',
fyfpmx: '费用发票明细',
fkmx: '付款明细',
srmx: '收入明细',
zcmx: '支出明细',
yssli: '应收数量',
rkdj: '入库单价',
rkje: '入库金额',
rkdzt: '入库单主题',
rkdbh: '入库单编号',
jhr: '交货人',
jbel: '基本数量',
rksli: '入库数量',
rkbm: '入库部门',
ckr: '出库人',
dbdj: '调拨单价',
spje: '商品金额',
dbdzt: '调拨单主题',
dbdbh: '调拨单编号',
drck: '调入仓库',
ygmc: '员工名称',
bssl: '报损数量',
cbdj: '成本单价',
bsje: '报损金额',
kcsl: '库存数量',
spsl: '实盘数量',
cysl: '差异数量',
yklx: '盈亏类型',
pdr: '盘点人',
pdrq: '盘点日期',
lsyj: '零售原价',
lstzj: '零售调整价',
pfyj: '批发原价',
pftzj: '批发调整价',
yyyj: '会员原价',
yytzj: '会员调整价',
tjdzt: '调价单主题',
djdbh: '调价单编号',
jbr: '经办人',
ckmc: '仓库名称',
zzdzt: '组装单主题',
zzdbh: '组装单编号',
tzlx: '调整类型',
tzsl: '调整数量',
tzje: '调整金额',
tzdbh: '调整单编号',
tzdzt: '调整单主题',
dckw: '调出库位',
tzbm: '调整部门',
drkw: '调入库位',
ny: '年月',
hwygdj: '合为一个单据',
czdzt: '拆装单主题',
czdbh: '拆装单编号',
yhjmc: '优惠券名称',
qtbh: '洽谈编号',
khxmi: '客户姓名',
qtzt: '洽谈主题',
hfbh: '回访编号',
zspbh: '主商品编号',
ccj: '出厂价',
mdmc: '门店名称',
mdlx: '门店类型',
fzr: '负责人',
xmi: '姓名',
lxdh: '联系电话',
dz: '地址',
dh: '电话',
tg: '通过',
btg: '不通过',
fqsqbh: '分期申请编号',
gqzt: '改期主题',
fqqs: '分期期数',
ddbh: '订单编号',
scdzt: '收车单主题',
scr: '收车人',
skddh: '收款单单号',
skr: '收款人',
skdzt: '收款单主题',
bimbm: 'BOM编码',
bomlx: 'BOM类型',
zj: '子件',
zjmc: '子件名称',
zjlx: '子件类型',
de: '定额',
shl: '损耗率',
sfgjj: '是否关键件',
jhscsl: '计划生产数量',
sczt: '生产主题',
scbh: '生产编号',
mxqsl: '毛需求数量',
yjhsl: '应计划数量',
wlly: '物料来源',
roleid: '角色',
// 新加的 新加的 新加的
kssj: '开始时间',
jssj: '结束时间',
scsl: '生产数量',
gylx: '工艺路线',
jhkgsj: '计划开工时间',
jhwgsj: '计划完工时间',
yscsl: '已生产数量',
ybjsl: '已报质检数量',
gs: '工时',
wcs: '完成数',
hgs: '合格数',
hgl: '合格率',
sczk: '生产状况',
ryzk: '人员状况',
sbzk: '设备状况',
wlsyqk: '物料使用情况',
hbdbh: '汇报单编号',
hbdzt: '汇报单主题',
cpcb: '产品成本',
zjclfy: '直接材料费用',
zjrgfy: '直接人工费用',
zzfy: '制造费用',
fyhj: '费用合计',
cbhsff: '成本核算方法',
tlr: '退料人',
gzzxbh: '工作中心编号',
gzzxmc: '工作中心名称',
gybh: '工艺编号',
gymc: '工艺名称',
pysx: '拼音缩写',
gcbh: '工厂编号',
gcmc: '工厂名称',
gclxr: '工厂联系人',
jgf: '加工费',
wbdzt: '外包单主题',
wbddh: '外包单单号',
wbgc: '外包工厂',
byzcpcb: '月初在产品成本',
byfsscf: '本月发生生产费用',
hji: '合计',
wgcpzcb: '完工产品总成本',
dwcb: '单位成本',
ymzcpcb: '月末在产品成本',
gxbh: '工序编号',
zhzt: '质检主题',
zjbh: '质检编号',
bjy: '报检员',
jyjg: '检验结果',
dxjl: '单项结论',
ybs: '样本数',
jygj: '检验工具',
jynr: '检验内容',
jyxm: '检验项目',
bgzt: '报告主题',
bgbh: '报告编号',
clxh: '车辆型号',
bhgyy: '不合格原因',
czfs: '处置方式',
bl: '比例',
czfzr: '处置负责人',
pssl: '配送数量',
psje: '配送金额',
chck: '出货仓库',
psdbh: '配送单编号',
clbh: '车辆编号',
cph: '车牌号',
wsycl: '未使用车辆',
ztcl: '在途车辆',
sfhz: '是否红字',
hph: '发票号',
fymc: '费用名称',
fydm: '费用代码',
fylx: '费用类型',
jldw: '计量单位',
kdyse: '可抵用税额',
bhsje: '不含税金额',
fykm: '费用科目',
yfje: '应付金额',
yfjei: '已付金额',
wfje: '未付金额',
fplx: '发票类型',
bczfje: '本次支付金额',
dkyfk: '抵扣预付款',
zxr: '执行人',
fylb: '费用类别',
zya: '摘要',
kmmc: '科目名称',
srdzt: '收入单主题',
srdbh: '收入单单号',
zcdzt: '支出单主题',
zcdbh: '支出单单号',
zzdzti: '转账单主题',
zzddh: '转账单单号',
yskdzt: '预收款单主题',
yskddh: '预收款单单号',
czr: '操作人',
mk: '模块',
pp: '品牌',
fle: '分类',
xh: '型号',
dcck: '调出仓库',
djlx: '单据类型',
djbha: '电机编号',
rwdbh: '任务单编号',
cku: '仓库',
yhm: '用户名',
yhdh: '用户电话',
gysmc: '供应商名称',
ckmch: '仓库名称',
gysxm: '供应商姓名',
lxrxm: '联系人姓名',
lxrdh: '联系人电话',
qb: '全部',
zxi: '在线',
lxi: '离线',
khwx: '客户维修',
jrcg: '今日成果',
sytqi: '上月同期',
xzy: '选择月',
htbh: '合同编号',
jldwmc: '计量单位名称',
hsbl: '换算比例%',
cgthdz: '采购订货单主题',
cgdh: '采购单号',
wlxq: '物流信息',
tjsrx: '添加收入项',
xgflsx: '修改分类属性',
xgck: '修改仓库',
xjflsx: '新建分类属性',
xghw: '修改货位',
xgbm: '修改部门',
zzd: '组装单',
khxqxx: '客户详情信息',
jxsxqxx: '经销商详情信息',
gysxqxx: '供应商详情信息',
tjdxx: '调价单详情信息',
xgjgbgd: '修改价格变更单',
xgbmgz: '修改价格变更单',
xgjldw: '修改计量单位',
xgspgz: '修改审批规则',
xgjldwz: '修改计量单位组',
ckjldwz: '查看计量单位组',
xgzjmx: '修改质检明细',
xgbzgx: '修改标准工序',
xgggyda: '修改工艺档案',
xgwlqd: '修改物料清单',
ckwlqd: '查看物料清单',
xgfqlx: '修改分期利息规则设置',
xgjlj: '修改奖励规则设置',
xfznjgzsz: '修改滞纳金规则设置',
xgqckcd: '修改期初库存单',
tzdxq: '调整单详情',
xgtzd: '修改调整单',
xgkcyj: '修改库存预警',
xgcgtj: '修改采购调价单',
kcpdd: '库存盘点单详情',
xgkcbsd: '修改库存报损单',
xgqtrkd: '修改其他入库单',
xgbhzq: '修改补货周期设置',
cgddxq: '采购订单详情信息',
cgdhdxq: '采购到货单详情',
clxqxx: '车辆详情信息',
zscrw: '生产任务单',
zscjg: '主生产计划',
lld: '领料单',
cgsq: '采购申请',
cgxq: '采购需求',
cgjhd: '采购计划',
cgxjd: '采购询价单',
ysdd: '预售订单',
xsckd: '销售出库单',
dbd: '调拨单',
fqsqd: '分期订单',
zjbgd: '质检报告单',
cgdhd: '采购到货单',
zjsqd: '质检申请单',
cgrkd: '采购入库单',
fqsq: '分期申请',
xsdd: '销售订单',
cght: '采购合同',
xsjh: '销售机会',
ysd: '预售单',
cgdd: '采购订单',
xsht: '销售合同'
}
}

View file

@ -28,6 +28,7 @@ for (let i = 0; i < count; i++) {
}))
}
var _that
export default {
getList: config => {
const { importance, type, title, page = 1, limit = 20, sort } = param2Obj(config.url)

View file

@ -17,6 +17,7 @@ const userMap = {
}
}
var _that
export default {
loginByUsername: config => {
const { username } = JSON.parse(config.body)

View file

@ -11,6 +11,7 @@ for (let i = 0; i < count; i++) {
}
NameList.push({ name: 'mockPan' })
var _that
export default {
searchUser: config => {
const { name } = param2Obj(config.url)

View file

@ -13,6 +13,7 @@ for (let i = 0; i < count; i++) {
}))
}
var _that
export default {
getList: () => {
return {

View file

@ -63,53 +63,53 @@ const chat = {
selectId: 1,
// 对话好友列表
chatlist: [
{
id: 1,
user: {
name: '妈咪',
img: 'static/images/mother.jpg'
},
messages: [
{
content: '么么哒,妈咪爱你', // 聊天内容
date: now // 时间
},
{
content: '按回车可以发送信息,还可以给我发送表情哟',
date: now
}
],
index: 1 // 当前在聊天列表中的位置,从1开始
// {
// id: 1,
// user: {
// name: '妈咪',
// img: 'static/images/mother.jpg'
// },
// messages: [
// {
// content: '么么哒,妈咪爱你', // 聊天内容
// date: now // 时间
// },
// {
// content: '按回车可以发送信息,还可以给我发送表情哟',
// date: now
// }
// ],
// index: 1 // 当前在聊天列表中的位置,从1开始
},
{
id: 2,
user: {
name: 'father',
img: 'static/images/father.jpg'
},
messages: [
{
content: 'Are you kidding me?',
date: now
}
],
index: 2
},
{
id: 3,
user: {
name: '机器人',
img: 'static/images/vue.jpg'
},
messages: [
{
content: '我会跟你聊聊天的哟',
date: now
}
],
index: 3
}
// },
// {
// id: 2,
// user: {
// name: 'father',
// img: 'static/images/father.jpg'
// },
// messages: [
// {
// content: 'Are you kidding me?',
// date: now
// }
// ],
// index: 2
// },
// {
// id: 3,
// user: {
// name: '机器人',
// img: 'static/images/vue.jpg'
// },
// messages: [
// {
// content: '我会跟你聊聊天的哟',
// date: now
// }
// ],
// index: 3
// }
]
},
mutations: {

View file

@ -458,6 +458,7 @@ import MyCreate from './components/MyCreate'
import DetailList from './components/DetailList'
import MyDialog from './components/MyDialog' // Secondary package based on el-pagination
var _that
export default {
name: 'AccessMaterialsList',
directives: { waves, permission, permission2 },
@ -465,25 +466,25 @@ export default {
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
sourceTypeFilter(status) {
const statusMap = {
1: '生产任务单',
2: '无来源'
1: _that.$t('updates.zscrw'),
2: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
},
@ -547,6 +548,9 @@ export default {
date: []
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
},

View file

@ -157,6 +157,7 @@ import MyRepository from './components/MyRepository'
import ProduceTask from './components/ProduceTask'
import MyDetail2 from './components/MyDetail2'
import MyDelivery from './components/MyDelivery'
var _that
export default {
name: 'AddAccessMaterials',
components: { MyDelivery, MyDetail2, ProduceTask, MyRepository, MyDetail },

View file

@ -119,6 +119,7 @@ import MyDelivery from './components/MyDelivery'
import MyCreate from './components/MyCreate'
import MyMaterials from './components/MyMaterials'
import MyRepository from './components/MyRepository'
var _that
export default {
name: 'AddRetreatMaterials',
components: { MyRepository, MyMaterials, MyCreate, MyDelivery, MyDetail2, MyDetail },
@ -209,6 +210,9 @@ export default {
this.getList()
this.chooseType()
},
beforeCreate() {
_that = this
},
mounted() {
this.getinformation()
},

View file

@ -4,17 +4,17 @@
<el-row>
<el-form ref="getemplist" :model="getemplist" label-width="100px" style="margin-top: -9px">
<el-col :span="5">
<el-form-item label="单据主题" label-width="100px">
<el-form-item :label="$t('updates.djzti')" label-width="100px">
<el-input v-model="getemplist.title" :placeholder="$t('AccessMaterials.title')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5" style="margin-left: 10px">
<el-form-item label="单据编号">
<el-input v-model="getemplist.number" placeholder="单据编号" clearable @keyup.enter.native="handleFilter"/>
<el-form-item :label="$t('updates.djbh')">
<el-input v-model="getemplist.number" :placeholder="$t('updates.djbh')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5" style="margin-left: 10px">
<el-form-item label="退料人">
<el-form-item :label="$t('updates.tlr')">
<el-input v-model="retreatPersonId" :placeholder="$t('AccessMaterials.retreatPersonId')" clearable @keyup.enter.native="handleFilter" @clear="restFilter" @focus="handlechooseStock"/>
</el-form-item>
<my-delivery :deliverycontrol.sync="stockControl" @deliveryName="stockName"/>
@ -42,16 +42,16 @@
:value="item.id"
:label="item.deptName"/>
</el-select>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-input v-model="receivePersonId" :placeholder="$t('AccessMaterials.receivePersonId')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px" @keyup.enter.native="handleFilter" @clear="restFilter2" @focus="handlechoose"/>
<my-create :createcontrol.sync="createcontrol" @createname="createname"/>
@ -153,12 +153,12 @@
<el-table-column :label="$t('public.actions')" :resizable="false" align="center" min-width="230">
<template slot-scope="scope">
<el-button v-show="scope.row.judgeStat === 2&&scope.row.receivePersonId === null" size="mini" type="success" @click="handleDispatch(scope.row)">收料</el-button>
<el-button v-permission2="['171-185-188-3', scope.row.createPersonId]" v-show="scope.row.judgeStat === 0" title="修改" type="primary" size="mini" icon="el-icon-edit" circle @click="handleEdit(scope.row)"/>
<el-button v-show="isReview(scope.row)" title="审批" type="warning" size="mini" icon="el-icon-view" circle @click="handleReview(scope.row)"/>
<el-button v-permission="['171-185-188-76']" v-show="isReview4(scope.row)" title="反审批" type="warning" size="mini" circle @click="handleReview4(scope.row)"><svg-icon icon-class="fanhui"/></el-button>
<el-button v-permission="['171-185-188-16']" v-show="isReview2(scope.row)" title="结单" type="success" size="mini" icon="el-icon-check" circle @click="handleReview2(scope.row)"/>
<el-button v-permission="['171-185-188-17']" v-show="isReview3(scope.row)" title="反结单" type="success" size="mini" icon="el-icon-back" circle @click="handleReview3(scope.row)"/>
<el-button v-permission2="['171-185-188-2', scope.row.createPersonId]" v-show="scope.row.judgeStat === 0" title="删除" size="mini" type="danger" icon="el-icon-delete" circle @click="handleDelete(scope.row)"/>
<el-button v-permission2="['171-185-188-3', scope.row.createPersonId]" v-show="scope.row.judgeStat === 0" :title="$t('updates.xg')" type="primary" size="mini" icon="el-icon-edit" circle @click="handleEdit(scope.row)"/>
<el-button v-show="isReview(scope.row)" :title="$t('updates.spi')" type="warning" size="mini" icon="el-icon-view" circle @click="handleReview(scope.row)"/>
<el-button v-permission="['171-185-188-76']" v-show="isReview4(scope.row)" :title="$t('updates.fsp')" type="warning" size="mini" circle @click="handleReview4(scope.row)"><svg-icon icon-class="fanhui"/></el-button>
<el-button v-permission="['171-185-188-16']" v-show="isReview2(scope.row)" :title="$t('updates.jd')" type="success" size="mini" icon="el-icon-check" circle @click="handleReview2(scope.row)"/>
<el-button v-permission="['171-185-188-17']" v-show="isReview3(scope.row)" :title="$t('updates.fjd')" type="success" size="mini" icon="el-icon-back" circle @click="handleReview3(scope.row)"/>
<el-button v-permission2="['171-185-188-2', scope.row.createPersonId]" v-show="scope.row.judgeStat === 0" :title="$t('updates.sc')" size="mini" type="danger" icon="el-icon-delete" circle @click="handleDelete(scope.row)"/>
</template>
</el-table-column>
</el-table>
@ -186,6 +186,7 @@ import DetailList2 from './components/DetailList2'
import MyDialog2 from './components/MyDialog2'
import MyMaterials from './components/MyMaterials' // Secondary package based on el-pagination
var _that
export default {
name: 'RetreatMaterialsList',
directives: { waves, permission, permission2 },
@ -193,25 +194,25 @@ export default {
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
sourceTypeFilter(status) {
const statusMap = {
1: '领料单',
2: '无来源'
1: _that.$t('updates.lld'),
2: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
},
@ -275,6 +276,9 @@ export default {
date: []
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
},

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="personalForm.accessNumber +' 详情'" append-to-body width="1010px" class="edit" top="-10px" @close="$emit('update:detailcontrol', false)">
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="personalForm.accessNumber +$t('updates.xqing')" append-to-body width="1010px" class="edit" top="-10px" @close="$emit('update:detailcontrol', false)">
<div id="printTest" >
<!--基本信息-->
<el-card class="box-card" style="margin-top: 63px" shadow="never">
@ -194,6 +194,7 @@
<script>
import printJS from 'print-js'
import { searchEmpCategory2 } from '@/api/Product'
var _that
export default {
filters: {
statfilter(status) {
@ -219,9 +220,9 @@ export default {
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
}

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="personalForm.accessNumber +' 详情'" append-to-body width="1010px" class="edit" top="-10px" @close="$emit('update:detailcontrol', false)">
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="personalForm.accessNumber +$t('updates.xqing')" append-to-body width="1010px" class="edit" top="-10px" @close="$emit('update:detailcontrol', false)">
<div id="printTest" >
<!--基本信息-->
<el-card class="box-card" style="margin-top: 63px" shadow="never">
@ -181,6 +181,7 @@
<script>
import { searchEmpCategory2 } from '@/api/Product'
import printJS from 'print-js'
var _that
export default {
filters: {
statfilter(status) {
@ -193,8 +194,8 @@ export default {
},
sourceTypeFilter(status) {
const statusMap = {
1: '生产任务单',
2: '无来源'
1: _that.$t('updates.zscrw'),
2: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
},
@ -206,9 +207,9 @@ export default {
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
}

View file

@ -95,6 +95,7 @@ import { searchworkCenter } from '@/api/ProcessFile'
import { getdeptlist } from '@/api/BasicSettings'
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
import waves from '@/directive/waves'
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -119,6 +119,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist, searchEmpCategory } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -117,6 +117,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist, searchEmpCategory } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -120,6 +120,7 @@ import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import MySupplier from '../../Product/components/MySupplier'
import MyTree from '../../Product/components/MyTree' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { MyTree, MySupplier, Pagination },

View file

@ -120,6 +120,7 @@ import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import MySupplier from '../../Product/components/MySupplier'
import MyTree from '../../Product/components/MyTree' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { MyTree, MySupplier, Pagination },

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :editcontrol="editcontrol" :editdata="editdata" :close-on-press-escape="false" :title="personalForm.accessNumber +' 修改'" width="1010px" class="edit" top="-10px" @close="$emit('update:editcontrol', false)">
<el-dialog :visible.sync="editVisible" :editcontrol="editcontrol" :editdata="editdata" :close-on-press-escape="false" :title="personalForm.accessNumber +$t('updates.xg')" width="1010px" class="edit" top="-10px" @close="$emit('update:editcontrol', false)">
<!--基本信息-->
<el-card class="box-card" style="margin-top: 63px" shadow="never">
<h2 ref="geren" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">{{ $t('Hmodule.basicinfo') }}</h2>
@ -151,6 +151,7 @@ import MyRepository from './MyRepository'
import ProduceTask from './ProduceTask'
import MyDetail2 from './MyDetail2'
import MyDelivery from './MyDelivery'
var _that
export default {
components: { MyDelivery, MyDetail2, ProduceTask, MyRepository, MyDetail },
props: {

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :editcontrol="editcontrol" :editdata="editdata" :close-on-press-escape="false" :title="personalForm.number +' 修改'" width="1010px" class="edit" top="-10px" @close="$emit('update:editcontrol', false)">
<el-dialog :visible.sync="editVisible" :editcontrol="editcontrol" :editdata="editdata" :close-on-press-escape="false" :title="personalForm.number +$t('updates.xg')" width="1010px" class="edit" top="-10px" @close="$emit('update:editcontrol', false)">
<!--基本信息-->
<el-card class="box-card" style="margin-top: 63px" shadow="never">
<h2 ref="geren" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">{{ $t('Hmodule.basicinfo') }}</h2>
@ -86,7 +86,7 @@
<my-repository :repositorycontrol.sync="repositorycontrol" @ceshi="ceshi(scope, $event)"/>
</template>
</el-editable-column>
<el-editable-column :edit-render="{name: 'ElInputNumber', attrs: {min: 0}, type: 'visible'}" prop="quantity" align="center" label="数量" min-width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', attrs: {min: 0}, type: 'visible'}" :label="$t('updates.shuli')" prop="quantity" align="center" min-width="150px"/>
<el-editable-column :label="$t('Hmodule.dj')" prop="price" align="center" min-width="150px"/>
<el-editable-column :label="$t('Hmodule.je')" prop="money" align="center" min-width="150px">
<template slot-scope="scope">
@ -117,6 +117,7 @@ import MyDelivery from './MyDelivery'
import MyCreate from './MyCreate'
import MyMaterials from './MyMaterials'
import MyRepository from './MyRepository'
var _that
export default {
components: { MyRepository, MyMaterials, MyCreate, MyDelivery, MyDetail2, MyDetail },
props: {

View file

@ -123,6 +123,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist, searchEmpCategory } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -4,13 +4,13 @@
<el-row>
<el-form ref="getemplist" :model="getemplist" label-width="100px" style="margin-top: -9px">
<el-col :span="5">
<el-form-item label="单据主题" label-width="100px">
<el-form-item :label="$t('updates.djzti')" label-width="100px">
<el-input v-model="getemplist.title" :placeholder="$t('AccessMaterials.title')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="单据编号">
<el-input v-model="getemplist.planNumber" placeholder="单据编号" clearable @keyup.enter.native="handleFilter"/>
<el-form-item :label="$t('updates.djbh')">
<el-input v-model="getemplist.planNumber" :placeholder="$t('updates.djbh')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5">
@ -42,16 +42,16 @@
:value="item.id"
:label="item.deptName"/>
</el-select>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-input v-model="providePersonId" :placeholder="$t('AccessMaterials.providePersonId')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px" @clear="restFilter2" @keyup.enter.native="handleFilter" @focus="handlechoose"/>
<my-create :createcontrol.sync="createcontrol" @createname="createname"/>
@ -153,31 +153,32 @@ import ProduceTask from './ProduceTask'
import MyCreate from './MyCreate'
import DetailList from './DetailList'
import MyDialog from './MyDialog' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { MyDialog, DetailList, MyCreate, ProduceTask, MyDelivery, Pagination },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
sourceTypeFilter(status) {
const statusMap = {
1: '生产任务单',
2: '无来源'
1: _that.$t('updates.zscrw'),
2: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
},

View file

@ -91,6 +91,7 @@ import { regionlist, getcountrylist } from '@/api/public'
import { searchRepCategory, searchRepository2 } from '@/api/Repository'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -4,17 +4,17 @@
<el-row>
<el-form ref="getemplist" :model="getemplist" label-width="100px" style="margin-top: -9px">
<el-col :span="5">
<el-form-item label="生产主题" label-width="100px">
<el-form-item :label="$t('updates.sczt')" label-width="100px">
<el-input v-model="getemplist.title" :placeholder="$t('ProduceTask.title')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5" style="margin-left: 10px">
<el-form-item label="单据编号">
<el-input v-model="getemplist.taskNumber" placeholder="单据编号" clearable @keyup.enter.native="handleFilter"/>
<el-form-item :label="$t('updates.djbh')">
<el-input v-model="getemplist.taskNumber" :placeholder="$t('updates.djbh')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5" style="margin-left: 10px">
<el-form-item label="负责人">
<el-form-item :label="$t('updates.fzr')">
<el-input v-model="handlePersonId" :placeholder="$t('ProduceTask.handlePersonId')" clearable @clear="restFilter" @keyup.enter.native="handleFilter" @focus="handlechooseStock"/>
</el-form-item>
<my-delivery :deliverycontrol.sync="stockControl" @deliveryName="stockName"/>
@ -28,16 +28,16 @@
trigger="click">
<el-input v-model="workCenterId" style="width: 40%;float: left;margin-left: 20px" placeholder="工作中心" clearable @focus="workcenterchoose" @clear="restFilter2"/>
<my-center :control.sync="centercontrol" @center="center"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: right;margin-right: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: right;margin-right: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-select v-model="getemplist.produceDeptId" placeholder="生产部门" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option
@ -138,31 +138,32 @@ import Pagination from '@/components/Pagination' // Secondary package based on e
import MyCenter from './MyCenter'
import MyEmp from './MyEmp'
import MyDelivery from './MyDelivery'
var _that
export default {
directives: { waves },
components: { MyDelivery, Pagination, MyCenter, MyEmp },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
sourceTypeFilter(status) {
const statusMap = {
1: '主生产计划',
2: '无来源'
1: _that.$t('updates.zscjg'),
2: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
},

View file

@ -129,11 +129,11 @@
<!-- </el-table-column>-->
<el-table-column :label="$t('public.actions')" :resizable="false" align="center" min-width="230">
<template slot-scope="scope">
<el-button v-permission2="['54-67-81-3', scope.row.createPersonId]" v-show="scope.row.providePersonId === null" title="修改" type="primary" size="mini" icon="el-icon-edit" circle @click="handleEdit(scope.row)"/>
<el-button v-permission2="['54-67-81-3', scope.row.createPersonId]" v-show="scope.row.providePersonId === null" :title="$t('updates.xg')" type="primary" size="mini" icon="el-icon-edit" circle @click="handleEdit(scope.row)"/>
<el-button v-show="scope.row.providePersonId === null" title="确认" type="warning" size="mini" icon="el-icon-check" circle @click="handleReview(scope.row)"/>
<el-button v-show="scope.row.providePersonId !== null && scope.row.stat === 1" title="丢失" type="danger" size="mini" icon="el-icon-close" circle @click="handleEdit2(scope.row)"/>
<el-button v-permission="['54-67-81-36']" v-show="scope.row.providePersonId !== null && scope.row.stat === 1" title="归还" type="primary" size="mini" icon="el-icon-back" circle @click="handleEdit3(scope.row)"/>
<el-button v-permission2="['54-67-81-3', scope.row.createPersonId]" v-show="scope.row.providePersonId === null" title="删除" size="mini" type="danger" icon="el-icon-delete" circle @click="handleDelete(scope.row)"/>
<el-button v-permission2="['54-67-81-3', scope.row.createPersonId]" v-show="scope.row.providePersonId === null" :title="$t('updates.sc')" size="mini" type="danger" icon="el-icon-delete" circle @click="handleDelete(scope.row)"/>
</template>
</el-table-column>
</el-table>
@ -166,6 +166,7 @@ import MyDialog3 from './components/MyDialog3'
import MyCustomer from './components/MyCustomer'
import MyAgent from './components/MyAgent'
var _that
export default {
name: 'AccessToolsList',
directives: { waves, permission, permission2 },
@ -173,18 +174,18 @@ export default {
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
@ -286,6 +287,9 @@ export default {
date: []
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
},

View file

@ -82,7 +82,7 @@
</el-card>
<!--子件信息-->
<el-card class="box-card" style="margin-top: 15px" shadow="never">
<h2 ref="fuzhu" class="form-name" >工具明细</h2>
<h2 ref="fuzhu" class="form-name" >{{ $t('updates.gjmx') }}</h2>
<div class="buttons" style="margin-top: 35px;margin-bottom: 10px;">
<el-button @click="handleAddproduct">{{ $t('Hmodule.tjsp') }}</el-button>
<my-detail :control.sync="control" @product="productdetail"/>
@ -101,12 +101,12 @@
style="width: 100%">
<el-editable-column type="selection" min-width="55" align="center"/>
<el-editable-column :label="$t('Hmodule.xh')" min-width="55" align="center" type="index"/>
<el-editable-column prop="toolsCode" align="center" label="工具编号" min-width="150px"/>
<el-editable-column prop="toolsName" align="center" label="工具名称" min-width="150px"/>
<!-- <el-editable-column prop="productCategory" align="center" label="物品分类" min-width="150px"/>-->
<el-editable-column prop="unit" align="center" label="基本单位" min-width="150px"/>
<!-- <el-editable-column prop="productType" align="center" label="规格型号" min-width="150px"/>-->
<!-- <el-editable-column prop="color" align="center" label="颜色" min-width="150px"/>-->
<el-editable-column :label="$t('updates.gjbh')" prop="toolsCode" align="center" min-width="150px"/>
<el-editable-column :label="$t('updates.gjmc')" prop="toolsName" align="center" min-width="150px"/>
<!-- <el-editable-column prop="productCategory" align="center" :label="$t('updates.wpfl')" min-width="150px"/>-->
<el-editable-column :label="$t('updates.jbdw')" prop="unit" align="center" min-width="150px"/>
<!-- <el-editable-column prop="productType" align="center" :label="$t('updates.ggxh')" min-width="150px"/>-->
<!-- <el-editable-column prop="color" align="center" :label="$t('updates.ys')" min-width="150px"/>-->
<!-- <el-editable-column :edit-render="{type: 'default'}" prop="locationId" align="center" :label="$t('Hmodule.hw')" width="200px">-->
<!-- <template slot-scope="scope">-->
<!-- <el-select v-model="scope.row.locationId" :value="scope.row.locationId" :placeholder="$t('Hmodule.xzhw')" filterable clearable style="width: 100%;" @visible-change="updatebatch($event,scope)">-->
@ -118,8 +118,8 @@
<!-- </el-select>-->
<!-- </template>-->
<!-- </el-editable-column>-->
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" prop="quantity" align="center" label="数量" width="150px"/>
<el-editable-column prop="stat" align="center" label="状态" min-width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" :label="$t('updates.shuli')" prop="quantity" align="center" width="150px"/>
<el-editable-column :label="$t('updates.stat')" prop="stat" align="center" min-width="150px"/>
</el-editable>
</div>
</el-card>
@ -152,6 +152,7 @@ import MyOpportunity from './components/MyOpportunity'
import MyInstallmentapply from './components/MyInstallmentapply'
import MyCustomer from '../SaleOpportunity/components/MyCustomer'
import MyAgent from '../SaleOpportunity/components/MyAgent'
var _that
export default {
name: 'AddAccessTools',
components: { MyAgent, MyCustomer, MyInstallmentapply, MyOpportunity, MyDelivery, MyPlan, MyApply, MySupplier, MyDetail, MyEmp, MyRepository },

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="' 详情'" append-to-body width="1010px" class="edit" top="-10px" @close="$emit('update:detailcontrol', false)">
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="$t('updates.xqing')" append-to-body width="1010px" class="edit" top="-10px" @close="$emit('update:detailcontrol', false)">
<div id="printTest" >
<!--基本信息-->
<el-card class="box-card" style="margin-top: 63px" shadow="never">
@ -69,7 +69,7 @@
</el-card>
<!--子件信息-->
<el-card class="box-card" style="margin-top: 15px" shadow="never">
<h2 ref="fuzhu" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">工具明细</h2>
<h2 ref="fuzhu" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">{{ $t('updates.gjmx') }}</h2>
<div class="container">
<el-editable
ref="editable"
@ -80,13 +80,13 @@
size="medium"
style="width: 100%">
<el-editable-column :label="$t('Hmodule.xh')" fixed="left" min-width="55" align="center" type="index"/>
<el-editable-column prop="toolsCode" fixed="left" align="center" label="工具编号" />
<el-editable-column prop="toolsName" align="center" fixed="left" label="工具名称" />
<el-editable-column prop="unit" align="center" label="基本单位" />
<el-editable-column :label="$t('updates.gjbh')" prop="toolsCode" fixed="left" align="center" />
<el-editable-column :label="$t('updates.gjmc')" prop="toolsName" align="center" fixed="left" />
<el-editable-column :label="$t('updates.jbdw')" prop="unit" align="center" />
<!-- <el-editable-column prop="locationName" align="center" :label="$t('Hmodule.hw')" />-->
<el-editable-column prop="quantity" align="center" label="数量" />
<el-editable-column :label="$t('updates.shuli')" prop="quantity" align="center" />
<el-editable-column prop="lossQuantity" align="center" label="丢失数量" />
<el-editable-column prop="stat" align="center" label="状态" >
<el-editable-column :label="$t('updates.stat')" prop="stat" align="center" >
<template slot-scope="scope">
<p>{{ scope.row.stat | statFilter }}</p>
</template>
@ -96,7 +96,7 @@
</el-card>
<!--审核状态-->
<!-- <el-card class="box-card" style="margin-top: 15px" shadow="never">-->
<!-- <h2 ref="fuzhu" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">审批记录</h2>-->
<!-- <h2 ref="fuzhu" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">{{ $t('updates.spjl') }}</h2>-->
<!-- <div class="container" style="margin-top: 37px">-->
<!-- <el-table-->
<!-- :data="reviewList"-->
@ -105,22 +105,22 @@
<!-- <el-table-column-->
<!-- prop="step"-->
<!-- align="center"-->
<!-- label="当前步骤"-->
<!-- :label="$t('updates.dqbz')"-->
<!-- min-width="150"/>-->
<!-- <el-table-column-->
<!-- prop="stepHandlerName"-->
<!-- align="center"-->
<!-- label="当前审批人"-->
<!-- :label="$t('updates.dqspr')"-->
<!-- min-width="150"/>-->
<!-- <el-table-column-->
<!-- prop="handleTime"-->
<!-- align="center"-->
<!-- label="审批时间"-->
<!-- :label="$t('updates.spsj')"-->
<!-- min-width="150"/>-->
<!-- <el-table-column-->
<!-- prop="stat"-->
<!-- align="center"-->
<!-- label="审批意见"-->
<!-- :label="$t('updates.spyj')"-->
<!-- min-width="150">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.stat | statfilter }}</span>-->
@ -130,37 +130,37 @@
<!-- </div>-->
<!-- </el-card>-->
<!-- <el-card class="box-card" shadow="never" style="margin-top: 10px">-->
<!-- <h2 ref="geren" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">合计信息</h2>-->
<!-- <h2 ref="geren" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">{{ $t('updates.hjxx') }}</h2>-->
<!-- <div class="container" style="margin-top: 37px">-->
<!-- <el-form :inline="true" status-icon class="demo-ruleForm" label-width="130px">-->
<!-- <el-row>-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="采购数量合计" style="width: 100%;">-->
<!-- <el-form-item :label="$t('updates.cgslhj')" style="width: 100%;">-->
<!-- <span>{{ personalForm.allQuantity }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="金额合计" style="width: 100%;">-->
<!-- <el-form-item :label="$t('updates.hehj')" style="width: 100%;">-->
<!-- <span>{{ personalForm.allMoney }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="税额合计" style="width: 100%;">-->
<!-- <el-form-item :label="$t('updates.sehj')" style="width: 100%;">-->
<!-- <span>{{ personalForm.allTaxMoney }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="含税金额合计" style="width: 100%;">-->
<!-- <el-form-item :label="$t('updates.hsjehj')" style="width: 100%;">-->
<!-- <span>{{ personalForm.allIncludeTaxMoney }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="整单折扣金额合计" style="width: 100%;">-->
<!-- <el-form-item :label="$t('updates.zdzkjehj')" style="width: 100%;">-->
<!-- <span>{{ personalForm.allDiscountMoney }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="折后含税金额合计" style="width: 100%;">-->
<!-- <el-form-item :label="$t('updates.zhhsjehj')" style="width: 100%;">-->
<!-- <span>{{ personalForm.allIncludeTaxDiscountMoney }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
@ -213,6 +213,7 @@
<script>
import printJS from 'print-js'
var _that
export default {
filters: {
customerTypeFilter(status) {
@ -266,9 +267,9 @@ export default {
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},

View file

@ -146,6 +146,7 @@ import { searchCusCategory, agentlist } from '@/api/Customer'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -10,7 +10,7 @@
</el-col>
<el-col :span="3" style="margin-left: 5px">
<el-form-item>
<el-input v-model="getemplist.applyNumber" placeholder="单据编号" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
<el-input v-model="getemplist.applyNumber" :placeholder="$t('updates.djbh')" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="3" style="margin-left: 20px">
@ -40,16 +40,16 @@
:label="item.categoryName"
:value="item.id"/>
</el-select>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-date-picker
v-model="date"
@ -149,24 +149,25 @@ import { productlist } from '@/api/public'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import MyEmp from '../../StockApply/components/MyEmp'
var _that
export default {
directives: { waves },
components: { MyEmp, Pagination },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
@ -178,7 +179,7 @@ export default {
},
sourceTypeFilter(status) {
const statusMap = {
1: '无来源'
1: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
}

View file

@ -154,6 +154,7 @@ import { searchCusCategory, customerlist } from '@/api/Customer'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -117,6 +117,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist, searchEmpCategory } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -120,6 +120,7 @@ import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import MySupplier from '../../Product/components/MySupplier'
import MyTree from '../../Product/components/MyTree' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { MyTree, MySupplier, Pagination },

View file

@ -79,7 +79,7 @@
</el-card>
<!--子件信息-->
<el-card class="box-card" style="margin-top: 15px" shadow="never">
<h2 ref="fuzhu" class="form-name" >工具明细</h2>
<h2 ref="fuzhu" class="form-name" >{{ $t('updates.gjmx') }}</h2>
<div class="buttons" style="margin-top: 35px;margin-bottom: 10px;">
<el-button @click="handleAddproduct">{{ $t('Hmodule.tjsp') }}</el-button>
<my-detail :control.sync="control" @product="productdetail"/>
@ -98,12 +98,12 @@
style="width: 100%">
<el-editable-column type="selection" min-width="55" align="center"/>
<el-editable-column :label="$t('Hmodule.xh')" min-width="55" align="center" type="index"/>
<el-editable-column prop="toolsCode" align="center" label="工具编号" min-width="150px"/>
<el-editable-column prop="toolsName" align="center" label="工具名称" min-width="150px"/>
<!-- <el-editable-column prop="productCategory" align="center" label="物品分类" min-width="150px"/>-->
<el-editable-column prop="unit" align="center" label="基本单位" min-width="150px"/>
<!-- <el-editable-column prop="productType" align="center" label="规格型号" min-width="150px"/>-->
<!-- <el-editable-column prop="color" align="center" label="颜色" min-width="150px"/>-->
<el-editable-column :label="$t('updates.gjbh')" prop="toolsCode" align="center" min-width="150px"/>
<el-editable-column :label="$t('updates.gjmc')" prop="toolsName" align="center" min-width="150px"/>
<!-- <el-editable-column prop="productCategory" align="center" :label="$t('updates.wpfl')" min-width="150px"/>-->
<el-editable-column :label="$t('updates.jbdw')" prop="unit" align="center" min-width="150px"/>
<!-- <el-editable-column prop="productType" align="center" :label="$t('updates.ggxh')" min-width="150px"/>-->
<!-- <el-editable-column prop="color" align="center" :label="$t('updates.ys')" min-width="150px"/>-->
<!-- <el-editable-column :edit-render="{type: 'default'}" prop="locationId" align="center" :label="$t('Hmodule.hw')" width="200px">-->
<!-- <template slot-scope="scope">-->
<!-- <el-select v-model="scope.row.locationId" :value="scope.row.locationId" :placeholder="$t('Hmodule.xzhw')" filterable clearable style="width: 100%;" @visible-change="updatebatch($event,scope)">-->
@ -115,8 +115,8 @@
<!-- </el-select>-->
<!-- </template>-->
<!-- </el-editable-column>-->
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" prop="quantity" align="center" label="数量" width="150px"/>
<el-editable-column prop="stat" align="center" label="状态" min-width="150px">
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" :label="$t('updates.shuli')" prop="quantity" align="center" width="150px"/>
<el-editable-column :label="$t('updates.stat')" prop="stat" align="center" min-width="150px">
<template slot-scope="scope">
<p>{{ scope.row.stat | statFilter }}</p>
</template>
@ -152,6 +152,7 @@ import MyOpportunity from './MyOpportunity'
import MyInstallmentapply from './MyInstallmentapply'
import MyAgent from './MyAgent'
import MyCustomer from '../../SaleOpportunity/components/MyCustomer'
var _that
export default {
components: { MyCustomer, MyInstallmentapply, MyOpportunity, MyDelivery, MyPlan, MyApply, MySupplier, MyDetail, MyEmp, MyAgent, MyRepository },
filters: {

View file

@ -16,12 +16,12 @@
style="width: 100%">
<!-- <el-editable-column type="selection" min-width="55" align="center"/>-->
<el-editable-column :label="$t('Hmodule.xh')" min-width="55" align="center" type="index"/>
<el-editable-column prop="toolsCode" align="center" label="工具编号" min-width="150px"/>
<el-editable-column prop="toolsName" align="center" label="工具名称" min-width="150px"/>
<!-- <el-editable-column prop="productCategory" align="center" label="物品分类" min-width="150px"/>-->
<el-editable-column prop="unit" align="center" label="基本单位" min-width="150px"/>
<!-- <el-editable-column prop="productType" align="center" label="规格型号" min-width="150px"/>-->
<!-- <el-editable-column prop="color" align="center" label="颜色" min-width="150px"/>-->
<el-editable-column :label="$t('updates.gjbh')" prop="toolsCode" align="center" min-width="150px"/>
<el-editable-column :label="$t('updates.gjmc')" prop="toolsName" align="center" min-width="150px"/>
<!-- <el-editable-column prop="productCategory" align="center" :label="$t('updates.wpfl')" min-width="150px"/>-->
<el-editable-column :label="$t('updates.jbdw')" prop="unit" align="center" min-width="150px"/>
<!-- <el-editable-column prop="productType" align="center" :label="$t('updates.ggxh')" min-width="150px"/>-->
<!-- <el-editable-column prop="color" align="center" :label="$t('updates.ys')" min-width="150px"/>-->
<!-- <el-editable-column :edit-render="{type: 'default'}" prop="locationId" align="center" :label="$t('Hmodule.hw')" width="200px">-->
<!-- <template slot-scope="scope">-->
<!-- <el-select v-model="scope.row.locationId" :value="scope.row.locationId" :placeholder="$t('Hmodule.xzhw')" filterable clearable style="width: 100%;" @visible-change="updatebatch($event,scope)">-->
@ -33,9 +33,9 @@
<!-- </el-select>-->
<!-- </template>-->
<!-- </el-editable-column>-->
<el-editable-column prop="quantity" align="center" label="数量" width="150px"/>
<el-editable-column :label="$t('updates.shuli')" prop="quantity" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" prop="lossQuantity" align="center" label="丢失数量" width="150px"/>
<el-editable-column prop="stat" align="center" label="状态" min-width="150px">
<el-editable-column :label="$t('updates.stat')" prop="stat" align="center" min-width="150px">
<template slot-scope="scope">
<p>{{ scope.row.stat | statFilter }}</p>
</template>
@ -71,6 +71,7 @@ import MyOpportunity from './MyOpportunity'
import MyInstallmentapply from './MyInstallmentapply'
import MyAgent from './MyAgent'
import MyCustomer from '../../SaleOpportunity/components/MyCustomer'
var _that
export default {
components: { MyCustomer, MyInstallmentapply, MyOpportunity, MyDelivery, MyPlan, MyApply, MySupplier, MyDetail, MyEmp, MyAgent, MyRepository },
filters: {

View file

@ -16,16 +16,16 @@
style="width: 100%">
<!-- <el-editable-column type="selection" min-width="55" align="center"/>-->
<el-editable-column :label="$t('Hmodule.xh')" min-width="55" align="center" type="index"/>
<el-editable-column prop="toolsCode" align="center" label="工具编号" min-width="150px"/>
<el-editable-column prop="toolsName" align="center" label="工具名称" min-width="150px"/>
<!-- <el-editable-column prop="productCategory" align="center" label="物品分类" min-width="150px"/>-->
<el-editable-column prop="unit" align="center" label="基本单位" min-width="150px"/>
<!-- <el-editable-column prop="productType" align="center" label="规格型号" min-width="150px"/>-->
<!-- <el-editable-column prop="color" align="center" label="颜色" min-width="150px"/>-->
<el-editable-column prop="quantity" align="center" label="数量" width="150px"/>
<el-editable-column :label="$t('updates.gjbh')" prop="toolsCode" align="center" min-width="150px"/>
<el-editable-column :label="$t('updates.gjmc')" prop="toolsName" align="center" min-width="150px"/>
<!-- <el-editable-column prop="productCategory" align="center" :label="$t('updates.wpfl')" min-width="150px"/>-->
<el-editable-column :label="$t('updates.jbdw')" prop="unit" align="center" min-width="150px"/>
<!-- <el-editable-column prop="productType" align="center" :label="$t('updates.ggxh')" min-width="150px"/>-->
<!-- <el-editable-column prop="color" align="center" :label="$t('updates.ys')" min-width="150px"/>-->
<el-editable-column :label="$t('updates.shuli')" prop="quantity" align="center" width="150px"/>
<el-editable-column prop="lossQuantity" align="center" label="丢失数量" width="150px"/>
<el-editable-column :edit-render="{name: 'ElSelect',options: results ,type: 'visible'}" prop="stat" align="center" label="状态" min-width="150px"/>
<el-editable-column prop="stat" align="center" label="状态" min-width="150px">
<el-editable-column :edit-render="{name: 'ElSelect',options: results ,type: 'visible'}" :label="$t('updates.stat')" prop="stat" align="center" min-width="150px"/>
<el-editable-column :label="$t('updates.stat')" prop="stat" align="center" min-width="150px">
<template slot-scope="scope">
<p>{{ scope.row.stat | statFilter }}</p>
</template>
@ -61,6 +61,7 @@ import MyOpportunity from './MyOpportunity'
import MyInstallmentapply from './MyInstallmentapply'
import MyAgent from './MyAgent'
import MyCustomer from '../../SaleOpportunity/components/MyCustomer'
var _that
export default {
components: { MyCustomer, MyInstallmentapply, MyOpportunity, MyDelivery, MyPlan, MyApply, MySupplier, MyDetail, MyEmp, MyAgent, MyRepository },
filters: {

View file

@ -117,6 +117,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist, searchEmpCategory } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -26,16 +26,16 @@
placement="bottom"
width="500"
trigger="click">
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: left;margin-left: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: right;margin-right: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: right;margin-right: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<!--<el-date-picker-->
<!--v-model="date"-->
@ -136,24 +136,25 @@ import Pagination from '@/components/Pagination'
import MyEmp from './MyEmp'
import MyCustomer from './MyCustomer'
import MyAgent from './MyAgent'
var _that
export default {
directives: { waves },
components: { MyEmp, MyCustomer, MyAgent, Pagination },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},

View file

@ -26,7 +26,7 @@
placement="bottom"
width="500"
trigger="click">
<el-select v-model="getemplist.deptId" placeholder="部门" clearable style="width: 40%;float: left;margin-left: 20px">
<el-select v-model="getemplist.deptId" :placeholder="$t('updates.dept')" clearable style="width: 40%;float: left;margin-left: 20px">
<el-option
v-for="(item, index) in depts"
:key="index"
@ -35,16 +35,16 @@
</el-select>
<el-input v-model="supplierId" placeholder="供应商" style="width: 40%;float: right;margin-right: 20px;" clearable @focus="handlechoose" @clear="restFilter2"/>
<my-supplier :control.sync="empcontrol" @supplierName="supplierName"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<el-date-picker
v-model="date"
@ -159,24 +159,25 @@ import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import MyEmp from './MyEmp'
import MySupplier from './MySupplier'
var _that
export default {
directives: { waves },
components: { MyEmp, Pagination, MySupplier },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
@ -188,9 +189,9 @@ export default {
},
sourceTypeFilter(status) {
const statusMap = {
1: '采购申请',
2: '采购需求',
3: '无来源'
1: _that.$t('updates.cgsq'),
2: _that.$t('updates.cgxq'),
3: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
}

View file

@ -34,16 +34,16 @@
<el-input v-model="customerName" :placeholder="$t('SaleOpportunity.customerName')" style="width: 40%;float: right;margin-right: 20px;" clearable @focus="chooseCustomer" @clear="restFilter"/>
<my-customer :customercontrol.sync="customercontrol" @customerdata="customerdata"/>
<my-agent :agentcontrol.sync="agentcontrol" @agentdata="agentdata"/>
<!--<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">-->
<!--<el-option value="1" label="制单"/>-->
<!--<el-option value="2" label="执行"/>-->
<!--<el-option value="3" label="结单"/>-->
<!--<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">-->
<!--<el-option value="1" :label="$t('updates.zd')"/>-->
<!--<el-option value="2" :label="$t('updates.zx')"/>-->
<!--<el-option value="3" :label="$t('updates.jd')"/>-->
<!--</el-select>-->
<!--<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">-->
<!--<el-option value="0" label="未审核"/>-->
<!--<el-option value="1" label="审核中"/>-->
<!--<el-option value="2" label="审核通过"/>-->
<!--<el-option value="3" label="审核不通过"/>-->
<!--<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">-->
<!--<el-option value="0" :label="$t('updates.wsh')"/>-->
<!--<el-option value="1" :label="$t('updates.shz')"/>-->
<!--<el-option value="2" :label="$t('updates.shtg')"/>-->
<!--<el-option value="3" :label="$t('updates.shptg')"/>-->
<!--</el-select>-->
<!--<el-date-picker-->
<!--v-model="date"-->
@ -139,24 +139,25 @@ import Pagination from '@/components/Pagination'
import MyEmp from './MyEmp'
import MyCustomer from './MyCustomer'
import MyAgent from './MyAgent'
var _that
export default {
directives: { waves },
components: { MyEmp, MyCustomer, MyAgent, Pagination },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},

View file

@ -10,7 +10,7 @@
</el-col>
<el-col :span="3" style="margin-left: 5px">
<el-form-item>
<el-input v-model="getemplist.planNumber" placeholder="单据编号" clearable @keyup.enter.native="handleFilter"/>
<el-input v-model="getemplist.planNumber" :placeholder="$t('updates.djbh')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="3" style="margin-left: 20px">
@ -26,23 +26,23 @@
placement="bottom"
width="500"
trigger="click">
<el-select v-model="getemplist.planDeptId" placeholder="部门" clearable style="width: 40%;float: left;margin-left: 20px">
<el-select v-model="getemplist.planDeptId" :placeholder="$t('updates.dept')" clearable style="width: 40%;float: left;margin-left: 20px">
<el-option
v-for="(item, index) in depts"
:key="index"
:value="item.id"
:label="item.deptName"/>
</el-select>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: right;margin-right: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: right;margin-right: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-date-picker
v-model="date"
@ -141,24 +141,25 @@ import { searchStockCategory } from '@/api/StockCategory'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import MyEmp from '../../StockPlan/components/MyEmp'
var _that
export default {
directives: { waves },
components: { MyEmp, Pagination },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
@ -170,9 +171,9 @@ export default {
},
sourceTypeFilter(status) {
const statusMap = {
1: '采购申请',
2: '采购需求',
3: '无来源'
1: _that.$t('updates.cgsq'),
2: _that.$t('updates.cgxq'),
3: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
}

View file

@ -91,6 +91,7 @@ import { regionlist, getcountrylist } from '@/api/public'
import { searchRepCategory, searchRepository2 } from '@/api/Repository'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -114,6 +114,7 @@ import { searchRepository, regionlist } from '@/api/public'
import { searchCategory, search } from '@/api/Supplier'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -79,7 +79,7 @@
</el-card>
<!--调价单明细-->
<el-card class="box-card" style="margin-top: 15px">
<h2 ref="fuzhu" class="form-name">调价单明细</h2>
<h2 ref="fuzhu" class="form-name">{{ $t('updates.tjdmx') }}</h2>
<div class="buttons" style="margin-top: 58px">
<el-button type="success" style="background:#3696fd;border-color:#3696fd " @click="handleAddproduct">{{ $t('Hmodule.tjsp') }}</el-button>
<el-button type="danger" @click="$refs.editable.removeSelecteds()">{{ $t('Hmodule.delete') }}</el-button>
@ -111,11 +111,11 @@
<!-- </el-editable-column>-->
<el-editable-column :label="$t('Hmodule.wpbh')" prop="productCode" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.wpmc')" prop="productName" align="center" width="150px"/>
<el-editable-column prop="color" align="center" label="颜色" width="150px"/>
<el-editable-column :label="$t('updates.ys')" prop="color" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.gg')" prop="typeIdname" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.dw')" prop="unit" align="center" width="150px"/>
<el-editable-column prop="salePrice" align="center" label="零售原价" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible', attrs: {min: 0}}" prop="newSalePrice" align="center" label="零售调整价" width="150px">
<el-editable-column :label="$t('updates.lsyj')" prop="salePrice" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible', attrs: {min: 0}}" :label="$t('updates.lstzj')" prop="newSalePrice" align="center" width="150px">
<template slot="edit" slot-scope="scope">
<el-input-number
:precision="2"
@ -123,8 +123,8 @@
v-model="scope.row.newSalePrice"/>
</template>
</el-editable-column>
<el-editable-column prop="tradePrice" align="center" label="批发原价" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible', attrs: {min: 0}}" prop="newTradePrice" align="center" label="批发调整价" width="150px">
<el-editable-column :label="$t('updates.pfyj')" prop="tradePrice" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible', attrs: {min: 0}}" :label="$t('updates.pftzj')" prop="newTradePrice" align="center" width="150px">
<template slot="edit" slot-scope="scope">
<el-input-number
:precision="2"
@ -132,8 +132,8 @@
v-model="scope.row.newTradePrice"/>
</template>
</el-editable-column>
<el-editable-column prop="memberPrice" align="center" label="会员原价" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible', attrs: {min: 0}}" prop="newMemberPrice" align="center" label="会员调整价" width="150px">
<el-editable-column :label="$t('updates.yyyj')" prop="memberPrice" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible', attrs: {min: 0}}" :label="$t('updates.yytzj')" prop="newMemberPrice" align="center" width="150px">
<template slot="edit" slot-scope="scope">
<el-input-number
:precision="2"
@ -141,7 +141,7 @@
v-model="scope.row.newMemberPrice"/>
</template>
</el-editable-column>
<el-editable-column :edit-render="{name: 'ElInput', type: 'visible'}" prop="remarks" align="center" label="备注" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInput', type: 'visible'}" :label="$t('updates.bz')" prop="remarks" align="center" width="150px"/>
</el-editable>
</div>
</el-card>
@ -164,6 +164,7 @@ import MyRepository from './components/MyRepository'
import MyAccept from './components/MyAccept'
import MyDetail from './components/MyDetail'
import MyCreate from './components/MyCreate'
var _that
export default {
name: 'AddAdjustPrice',
components: { MyRepository, MyDetail, MyCreate, MyAccept },
@ -266,6 +267,9 @@ export default {
pickerOptions1: {}
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
this.test()

View file

@ -5,17 +5,17 @@
<el-row>
<el-form ref="getemplist" :model="getemplist" label-width="100px" style="margin-top: -9px">
<el-col :span="4">
<el-form-item label="调价单主题">
<el-form-item :label="$t('updates.tjdzt')">
<el-input v-model="getemplist.title" :placeholder="$t('AdjustPrice.title')" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="调价单编号">
<el-form-item :label="$t('updates.djdbh')">
<el-input v-model="getemplist.adjustNumber" :placeholder="$t('AdjustPrice.adjustNumber')" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="经办人">
<el-form-item :label="$t('updates.jbr')">
<el-input v-model="handlePersonId" :placeholder="$t('AdjustPrice.handlePersonId')" class="filter-item" clearable @keyup.enter.native="handleFilter" @focus="handlechoose" @clear="restFilter"/>
</el-form-item>
<my-create :createcontrol.sync="createcontrol" @createname="createname"/>
@ -147,9 +147,9 @@
<template slot-scope="scope">
<el-button v-permission="['131-152-3']" v-show="scope.row.judgeStat === 0" type="primary" size="mini" @click="handleEdit(scope.row)">{{ $t('public.edit') }}</el-button>
<el-button v-show="isReview(scope.row)" type="warning" size="mini" @click="handleReview(scope.row)">{{ $t('public.review') }}</el-button>
<el-button v-permission="['131-152-76']" v-show="isReview4(scope.row)" title="反审批" type="warning" size="mini" circle @click="handleReview4(scope.row)"><svg-icon icon-class="fanhui"/></el-button>
<el-button v-permission="['131-152-16']" v-show="isReview2(scope.row)" title="结单" type="success" size="mini" icon="el-icon-check" circle @click="handleReview2(scope.row)"/>
<el-button v-permission="['131-152-17']" v-show="isReview3(scope.row)" title="反结单" type="success" size="mini" icon="el-icon-back" circle @click="handleReview3(scope.row)"/>
<el-button v-permission="['131-152-76']" v-show="isReview4(scope.row)" :title="$t('updates.fsp')" type="warning" size="mini" circle @click="handleReview4(scope.row)"><svg-icon icon-class="fanhui"/></el-button>
<el-button v-permission="['131-152-16']" v-show="isReview2(scope.row)" :title="$t('updates.jd')" type="success" size="mini" icon="el-icon-check" circle @click="handleReview2(scope.row)"/>
<el-button v-permission="['131-152-17']" v-show="isReview3(scope.row)" :title="$t('updates.fjd')" type="success" size="mini" icon="el-icon-back" circle @click="handleReview3(scope.row)"/>
<el-button v-permission="['131-152-2']" v-show="scope.row.judgeStat === 0" size="mini" type="danger" @click="handleDelete(scope.row)">{{ $t('public.delete') }}</el-button>
</template>
</el-table-column>
@ -177,6 +177,7 @@ import MyAccept from './components/MyAccept'
import MyCreate from './components/MyCreate'
import DetailList from './components/DetailList'
var _that
export default {
name: 'AdjustPriceList',
directives: { waves, permission, permission2 },
@ -184,18 +185,18 @@ export default {
filters: {
judgeStatFileter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
}
@ -254,6 +255,9 @@ export default {
// -------------------------
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getdeptlist()
this.getlist()

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" append-to-body class="edit" width="1010px" top="-10px" title="修改采购调价单" @close="$emit('update:detailcontrol', false)">
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="$t('updates.xgcgtj')" append-to-body class="edit" width="1010px" top="-10px" @close="$emit('update:detailcontrol', false)">
<div id="printTest" >
<!--基本信息-->
<el-card class="box-card">
@ -9,7 +9,7 @@
<el-form ref="personalForm" :model="personalForm" :rules="personalrules" :inline="true" status-icon class="demo-ruleForm" label-width="100px" style="margin-left: 30px;">
<el-row>
<el-col :span="12">
<el-form-item class="print2" label="调价单编号" style="width: 100%;display: none">
<el-form-item :label="$t('updates.djdbh')" class="print2" style="width: 100%;display: none">
{{ personalForm.adjustNumber }}
</el-form-item>
</el-col>
@ -89,7 +89,7 @@
</el-card>
<!--调价单明细-->
<el-card class="box-card" style="margin-top: 15px">
<h2 ref="fuzhu" class="form-name">调价单明细</h2>
<h2 ref="fuzhu" class="form-name">{{ $t('updates.tjdmx') }}</h2>
<div class="container">
<el-editable
ref="editable"
@ -104,46 +104,46 @@
<!-- <el-editable-column prop="locationCode" align="center" :label="$t('Hmodule.hw')" />-->
<el-editable-column :label="$t('Hmodule.wpbh')" fixed="left" prop="productCode" align="center" />
<el-editable-column :label="$t('Hmodule.wpmc')" fixed="left" prop="productName" align="center" />
<el-editable-column prop="color" align="center" label="颜色" />
<el-editable-column :label="$t('updates.ys')" prop="color" align="center" />
<el-editable-column :label="$t('Hmodule.gg')" prop="productType" align="center" />
<el-editable-column :label="$t('Hmodule.dw')" prop="unit" align="center" />
<el-editable-column prop="salePrice" align="center" label="零售原价" />
<el-editable-column prop="newSalePrice" align="center" label="零售调整价" />
<el-editable-column prop="tradePrice" align="center" label="批发原价" />
<el-editable-column prop="newTradePrice" align="center" label="批发调整价" />
<el-editable-column prop="memberPrice" align="center" label="会员原价" />
<el-editable-column prop="newMemberPrice" align="center" label="会员调整价" />
<el-editable-column prop="remarks" align="center" label="备注" />
<el-editable-column :label="$t('updates.lsyj')" prop="salePrice" align="center" />
<el-editable-column :label="$t('updates.lstzj')" prop="newSalePrice" align="center" />
<el-editable-column :label="$t('updates.pfyj')" prop="tradePrice" align="center" />
<el-editable-column :label="$t('updates.pftzj')" prop="newTradePrice" align="center" />
<el-editable-column :label="$t('updates.yyyj')" prop="memberPrice" align="center" />
<el-editable-column :label="$t('updates.yytzj')" prop="newMemberPrice" align="center" />
<el-editable-column :label="$t('updates.bz')" prop="remarks" align="center" />
</el-editable>
</div>
</el-card>
<!--审核状态-->
<el-card class="box-card" style="margin-top: 15px">
<h2 ref="fuzhu" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">审批记录</h2>
<h2 ref="fuzhu" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">{{ $t('updates.spjl') }}</h2>
<div class="container" style="margin-top: 37px">
<el-table
:data="reviewList"
border
style="width: 100%">
<el-table-column
:label="$t('updates.dqbz')"
prop="step"
align="center"
label="当前步骤"
min-width="150"/>
<el-table-column
:label="$t('updates.dqspr')"
prop="stepHandlerName"
align="center"
label="当前审批人"
min-width="150"/>
<el-table-column
:label="$t('updates.spsj')"
prop="handleTime"
align="center"
label="审批时间"
min-width="150"/>
<el-table-column
:label="$t('updates.spyj')"
prop="stat"
align="center"
label="审批意见"
min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.stat | statfilter }}</span>
@ -154,7 +154,7 @@
</el-card>
<!-- 备注消息 -->
<el-card class="box-card">
<h2 ref="geren" class="form-name">合计信息</h2>
<h2 ref="geren" class="form-name">{{ $t('updates.hjxx') }}</h2>
<div class="container">
<el-form ref="personalForm" :model="personalForm" :rules="personalrules" :inline="true" status-icon class="demo-ruleForm" label-width="100px" style="margin-left: 30px;">
<el-row>
@ -187,6 +187,7 @@ import MyRepository from './MyRepository'
import MyAccept from './MyAccept'
import MyDetail from './MyDetail'
import MyCreate from './MyCreate'
var _that
export default {
components: { MyRepository, MyCreate, MyAccept, MyDetail },
filters: {
@ -281,6 +282,9 @@ export default {
this.getlocation()
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
},

View file

@ -114,6 +114,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -116,6 +116,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -114,6 +114,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -120,6 +120,7 @@ import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import MySupplier from '../../Product/components/MySupplier'
import MyTree from '../../Product/components/MyTree' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { MyTree, MySupplier, Pagination },

View file

@ -19,7 +19,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="源单编号" style="width: 100%;">
<el-form-item :label="$t('updates.ydbh')" style="width: 100%;">
<el-input v-model="personalForm.sourceNumber" placeholder="请选择源单编号" style="margin-left: 18px;width: 150px" clearable/>
</el-form-item>
</el-col>
@ -81,7 +81,7 @@
</el-card>
<!--入库单明细-->
<el-card class="box-card" style="margin-top: 15px">
<h2 ref="fuzhu" class="form-name">入库单明细</h2>
<h2 ref="fuzhu" class="form-name">{{ $t('updates.rkdmx') }}</h2>
<div class="buttons" style="margin-top: 28px;margin-bottom: 20px">
<el-button type="success" style="background:#3696fd;border-color:#3696fd " @click="handleAddproduct">{{ $t('Hmodule.tjsp') }}</el-button>
<el-button type="danger" @click="$refs.editable.removeSelecteds()">{{ $t('Hmodule.delete') }}</el-button>
@ -103,19 +103,19 @@
<el-editable-column :edit-render="{name: 'ElSelect', options: locationlist}" :label="$t('Hmodule.hw')" prop="locationId" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.wpbh')" prop="productCode" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.wpmc')" prop="productName" align="center" width="150px"/>
<el-editable-column prop="color" align="center" label="颜色" width="150px"/>
<el-editable-column :label="$t('updates.ys')" prop="color" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.gg')" prop="productType" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.dw')" prop="unit" align="center" width="150px"/>
<el-editable-column prop="basicQuantity" align="center" label="基本数量" width="150px"/>
<el-editable-column :label="$t('updates.jbel')" prop="basicQuantity" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', attrs: {min: 1}}" prop="actualEnterQuantity" align="center" label="实收数量" width="150px"/>
<el-editable-column prop="enterPrice" align="center" label="入库单价" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', attrs: {min: 0}}" prop="taxRate" align="center" label="税率" width="150px"/>
<el-editable-column prop="enterMoney" align="center" label="入库金额" width="150px">
<el-editable-column :label="$t('updates.rkdj')" prop="enterPrice" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', attrs: {min: 0}}" :label="$t('updates.slv')" prop="taxRate" align="center" width="150px"/>
<el-editable-column :label="$t('updates.rkje')" prop="enterMoney" align="center" width="150px">
<template slot-scope="scope">
<p>{{ getSize(scope.row.actualEnterQuantity, scope.row.enterPrice) }}</p>
</template>
</el-editable-column>
<el-editable-column :edit-render="{name: 'ElInput'}" prop="remarks" align="center" label="备注" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInput'}" :label="$t('updates.bz')" prop="remarks" align="center" width="150px"/>
</el-editable>
</div>
</el-card>
@ -136,6 +136,7 @@ import MyEmp from './MyEmp'
import MyDelivery from './MyDelivery'
import MyAccept from './MyAccept'
import MyDetail from './MyDetail'
var _that
export default {
components: { MyRepository, MySupplier, MyEmp, MyDelivery, MyAccept, MyDetail },
props: {
@ -234,6 +235,9 @@ export default {
this.getlocation()
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
},

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :editcontrol="editcontrol" :editdata="editdata" :close-on-press-escape="false" class="edit" width="1010px" top="-10px" title="修改采购调价单" @close="$emit('update:editcontrol', false)">
<el-dialog :visible.sync="editVisible" :editcontrol="editcontrol" :editdata="editdata" :close-on-press-escape="false" :title="$t('updates.xgcgtj')" class="edit" width="1010px" top="-10px" @close="$emit('update:editcontrol', false)">
<!--基本信息-->
<el-card class="box-card">
<h2 ref="geren" class="form-name">{{ $t('Hmodule.basicinfo') }}</h2>
@ -65,7 +65,7 @@
</el-card>
<!--调价单明细-->
<el-card class="box-card" style="margin-top: 15px">
<h2 ref="fuzhu" class="form-name">调价单明细</h2>
<h2 ref="fuzhu" class="form-name">{{ $t('updates.tjdmx') }}</h2>
<div class="buttons" style="margin-top: 28px;margin-bottom: 20px">
<el-button type="success" style="background:#3696fd;border-color:#3696fd " @click="handleAddproduct">{{ $t('Hmodule.tjsp') }}</el-button>
<el-button type="danger" @click="$refs.editable.removeSelecteds()">{{ $t('Hmodule.delete') }}</el-button>
@ -97,16 +97,16 @@
<!-- </el-editable-column>-->
<el-editable-column :label="$t('Hmodule.wpbh')" prop="productCode" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.wpmc')" prop="productName" align="center" width="150px"/>
<el-editable-column prop="color" align="center" label="颜色" width="150px"/>
<el-editable-column :label="$t('updates.ys')" prop="color" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.gg')" prop="productType" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.dw')" prop="unit" align="center" width="150px"/>
<el-editable-column prop="salePrice" align="center" label="零售原价" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" prop="newSalePrice" align="center" label="零售调整价" width="150px"/>
<el-editable-column prop="tradePrice" align="center" label="批发原价" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" prop="newTradePrice" align="center" label="批发调整价" width="150px"/>
<el-editable-column prop="memberPrice" align="center" label="会员原价" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" prop="newMemberPrice" align="center" label="会员调整价" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInput', type: 'visible'}" prop="remarks" align="center" label="备注" width="150px"/>
<el-editable-column :label="$t('updates.lsyj')" prop="salePrice" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" :label="$t('updates.lstzj')" prop="newSalePrice" align="center" width="150px"/>
<el-editable-column :label="$t('updates.pfyj')" prop="tradePrice" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" :label="$t('updates.pftzj')" prop="newTradePrice" align="center" width="150px"/>
<el-editable-column :label="$t('updates.yyyj')" prop="memberPrice" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber', type: 'visible'}" :label="$t('updates.yytzj')" prop="newMemberPrice" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInput', type: 'visible'}" :label="$t('updates.bz')" prop="remarks" align="center" width="150px"/>
</el-editable>
</div>
</el-card>
@ -125,6 +125,7 @@ import MyRepository from './MyRepository'
import MyAccept from './MyAccept'
import MyDetail from './MyDetail'
import MyCreate from './MyCreate'
var _that
export default {
components: { MyRepository, MyCreate, MyAccept, MyDetail },
props: {
@ -200,6 +201,9 @@ export default {
this.getlocation()
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
},

View file

@ -114,6 +114,7 @@ import { regionlist, searchRepository } from '@/api/public'
import { getemplist, getdeptlist } from '@/api/EmployeeInformation'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :editcontrol="editcontrol" :editdata="editdata" :close-on-press-escape="false" class="edit" width="1010px" top="-10px" title="修改其他入库单" @close="$emit('update:editcontrol', false)">
<el-dialog :visible.sync="editVisible" :editcontrol="editcontrol" :editdata="editdata" :close-on-press-escape="false" :title="$t('updates.xgqtrkd')" class="edit" width="1010px" top="-10px" @close="$emit('update:editcontrol', false)">
<!--基本信息-->
<el-card class="box-card">
<h2 ref="geren" class="form-name">{{ $t('Hmodule.basicinfo') }}</h2>
@ -19,7 +19,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="源单编号" style="width: 100%;">
<el-form-item :label="$t('updates.ydbh')" style="width: 100%;">
<el-input v-model="personalForm.sourceNumber" placeholder="请选择源单编号" style="margin-left: 18px;width: 150px" clearable/>
</el-form-item>
</el-col>
@ -82,7 +82,7 @@
</el-card>
<!--入库单明细-->
<el-card class="box-card" style="margin-top: 15px">
<h2 ref="fuzhu" class="form-name">入库单明细</h2>
<h2 ref="fuzhu" class="form-name">{{ $t('updates.rkdmx') }}</h2>
<div class="buttons" style="margin-top: 28px;margin-bottom: 20px">
<el-button type="success" style="background:#3696fd;border-color:#3696fd " @click="handleAddproduct">{{ $t('Hmodule.tjsp') }}</el-button>
<el-button type="danger" @click="$refs.editable.removeSelecteds()">{{ $t('Hmodule.delete') }}</el-button>
@ -104,18 +104,18 @@
<el-editable-column :edit-render="{name: 'ElSelect', options: locationlist}" :label="$t('Hmodule.hw')" prop="locationId" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.wpbh')" prop="productCode" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.wpmc')" prop="productName" align="center" width="150px"/>
<el-editable-column prop="color" align="center" label="颜色" width="150px"/>
<el-editable-column :label="$t('updates.ys')" prop="color" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.gg')" prop="typeIdname" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.dw')" prop="unit" align="center" width="150px"/>
<el-editable-column prop="basicQuantity" align="center" label="基本数量" width="150px"/>
<el-editable-column :label="$t('updates.jbel')" prop="basicQuantity" align="center" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInputNumber'}" :label="$t('updates.rksl')" prop="actualEnterQuantity" align="center" width="150px"/>
<el-editable-column :label="$t('Hmodule.dj')" prop="enterPrice" align="center" width="150px"/>
<el-editable-column prop="enterMoney" align="center" label="入库金额" width="150px">
<el-editable-column :label="$t('updates.rkje')" prop="enterMoney" align="center" width="150px">
<template slot-scope="scope">
<p>{{ getSize(scope.row.actualEnterQuantity, scope.row.enterPrice) }}</p>
</template>
</el-editable-column>
<el-editable-column :edit-render="{name: 'ElInput'}" prop="remarks" align="center" label="备注" width="150px"/>
<el-editable-column :edit-render="{name: 'ElInput'}" :label="$t('updates.bz')" prop="remarks" align="center" width="150px"/>
</el-editable>
</div>
</el-card>
@ -135,6 +135,7 @@ import MyDelivery from './MyDelivery'
import MyAccept from './MyAccept'
import MyDetail from './MyDetail'
import MyCreate from './MyCreate'
var _that
export default {
components: { MyRepository, MyDetail, MyCreate, MyAccept, MyDelivery },
props: {
@ -220,6 +221,9 @@ export default {
this.getlocation()
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
},

View file

@ -91,6 +91,7 @@ import { regionlist, getcountrylist } from '@/api/public'
import { searchRepCategory, searchRepository2 } from '@/api/Repository'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -119,6 +119,7 @@ import { searchRepository, regionlist } from '@/api/public'
import { searchCategory, search } from '@/api/Supplier'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
var _that
export default {
directives: { waves },
components: { Pagination },

View file

@ -90,6 +90,7 @@ import MyPlan from './components/MyPlan'
import MyDelivery from './components/MyDelivery'
import MyLnquiry from './components/MyLnquiry'
import MyOrder from './components/MyOrder'
var _that
export default {
name: 'AddAdvancePay',
components: { MyOrder, MyLnquiry, MyDelivery, MyPlan, MyApply, MySupplier, MyDetail, MyEmp },
@ -207,6 +208,9 @@ export default {
this.getways()
this.getdatatime()
},
beforeCreate() {
_that = this
},
mounted() {
this.getinformation()
},

View file

@ -4,13 +4,13 @@
<el-row>
<el-form ref="getemplist" :model="getemplist" label-width="100px" style="margin-top: -9px">
<el-col :span="5">
<el-form-item label="单据主题" label-width="100px">
<el-form-item :label="$t('updates.djzti')" label-width="100px">
<el-input v-model="getemplist.title" placeholder="单据主题" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5" style="margin-left: 10px">
<el-form-item label="单据编号">
<el-input v-model="getemplist.number" placeholder="单据编号" clearable @keyup.enter.native="handleFilter"/>
<el-form-item :label="$t('updates.djbh')">
<el-input v-model="getemplist.number" :placeholder="$t('updates.djbh')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5" style="margin-left: 10px">
@ -28,16 +28,16 @@
trigger="click">
<el-input v-model="supplierId" placeholder="供应商" style="width: 40%;float: right;margin-right: 20px;" clearable @focus="handlechoose" @clear="restFilter2"/>
<my-supplier :control.sync="empcontrol" @supplierName="supplierName"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<div class="seachbutton" style="width: 100%;float: right;margin-top: 20px">
<el-button v-waves class="filter-item" type="primary" style="float: right" round @click="handleFilter">{{ $t('public.search') }}</el-button>
@ -135,9 +135,9 @@
</el-table-column>
<el-table-column :label="$t('public.actions')" :resizable="false" align="center" min-width="230">
<template slot-scope="scope">
<el-button v-permission2="['266-222-3', scope.row.createPersonId]" v-if="scope.row.judgeStat === 0" title="修改" type="primary" size="mini" icon="el-icon-edit" circle @click="handleEdit(scope.row)"/>
<el-button v-show="isReview(scope.row)" title="审批" type="warning" size="mini" icon="el-icon-view" circle @click="handleReview(scope.row)"/>
<el-button v-permission2="['266-222-2', scope.row.createPersonId]" v-if="scope.row.judgeStat === 0" title="删除" size="mini" type="danger" icon="el-icon-delete" circle @click="handleDelete(scope.row)"/>
<el-button v-permission2="['266-222-3', scope.row.createPersonId]" v-if="scope.row.judgeStat === 0" :title="$t('updates.xg')" type="primary" size="mini" icon="el-icon-edit" circle @click="handleEdit(scope.row)"/>
<el-button v-show="isReview(scope.row)" :title="$t('updates.spi')" type="warning" size="mini" icon="el-icon-view" circle @click="handleReview(scope.row)"/>
<el-button v-permission2="['266-222-2', scope.row.createPersonId]" v-if="scope.row.judgeStat === 0" :title="$t('updates.sc')" size="mini" type="danger" icon="el-icon-delete" circle @click="handleDelete(scope.row)"/>
</template>
</el-table-column>
</el-table>
@ -164,6 +164,7 @@ import DetailList from './components/DetailList'
import MyDialog from './components/MyDialog'
import MySupplier from './components/MySupplier'
var _that
export default {
name: 'AdvancePayList',
directives: { waves, permission, permission2 },
@ -171,18 +172,18 @@ export default {
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
@ -194,9 +195,9 @@ export default {
},
sourceTypeFilter(status) {
const statusMap = {
1: '采购申请',
2: '采购需求',
3: '无来源'
1: _that.$t('updates.cgsq'),
2: _that.$t('updates.cgxq'),
3: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
}
@ -255,6 +256,9 @@ export default {
date: []
}
},
beforeCreate() {
_that = this
},
mounted() {
this.getlist()
},

View file

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="personalForm.number +' 详情'" append-to-body width="1010px" class="edit" top="-10px" @close="$emit('update:detailcontrol', false)">
<el-dialog :visible.sync="editVisible" :detailcontrol="detailcontrol" :detaildata="detaildata" :close-on-press-escape="false" :title="personalForm.number +$t('updates.xqing')" append-to-body width="1010px" class="edit" top="-10px" @close="$emit('update:detailcontrol', false)">
<!--基本信息-->
<el-card class="box-card" style="margin-top: 63px" shadow="never">
<h2 ref="geren" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">{{ $t('Hmodule.basicinfo') }}</h2>
@ -52,31 +52,31 @@
</el-card>
<!--审核状态-->
<el-card class="box-card" style="margin-top: 15px" shadow="never">
<h2 ref="fuzhu" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">审批记录</h2>
<h2 ref="fuzhu" class="form-name" style="font-size: 16px;color: #606266;margin-top: -5px;">{{ $t('updates.spjl') }}</h2>
<div class="container" style="margin-top: 37px">
<el-table
:data="reviewList"
border
style="width: 100%">
<el-table-column
:label="$t('updates.dqbz')"
prop="step"
align="center"
label="当前步骤"
min-width="150"/>
<el-table-column
:label="$t('updates.dqspr')"
prop="stepHandlerName"
align="center"
label="当前审批人"
min-width="150"/>
<el-table-column
:label="$t('updates.spsj')"
prop="handleTime"
align="center"
label="审批时间"
min-width="150"/>
<el-table-column
:label="$t('updates.spyj')"
prop="stat"
align="center"
label="审批意见"
min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.stat | statfilter }}</span>
@ -128,6 +128,7 @@
</template>
<script>
var _that
export default {
filters: {
statfilter(status) {
@ -146,10 +147,10 @@ export default {
},
sourceTypeFilter(status) {
const statusMap = {
1: '采购申请',
2: '采购计划',
3: '采购询价单',
4: '无来源'
1: _that.$t('updates.cgsq'),
2: _that.$t('updates.cgjhd'),
3: _that.$t('updates.cgxjd'),
4: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
},
@ -162,9 +163,9 @@ export default {
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},

View file

@ -10,7 +10,7 @@
</el-col>
<el-col :span="3" style="margin-left: 5px">
<el-form-item>
<el-input v-model="getemplist.applyNumber" placeholder="单据编号" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
<el-input v-model="getemplist.applyNumber" :placeholder="$t('updates.djbh')" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="3" style="margin-left: 20px">
@ -40,16 +40,16 @@
:label="item.categoryName"
:value="item.id"/>
</el-select>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" placeholder="审批状态" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option value="0" label="未审核"/>
<el-option value="1" label="审核中"/>
<el-option value="2" label="审核通过"/>
<el-option value="3" label="审核不通过"/>
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.wsh')" value="0"/>
<el-option :label="$t('updates.shz')" value="1"/>
<el-option :label="$t('updates.shtg')" value="2"/>
<el-option :label="$t('updates.shptg')" value="3"/>
</el-select>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" placeholder="单据状态" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option value="1" label="制单"/>
<el-option value="2" label="执行"/>
<el-option value="3" label="结单"/>
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: right;margin-right: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/>
<el-option :label="$t('updates.jd')" value="3"/>
</el-select>
<el-date-picker
v-model="date"
@ -149,24 +149,25 @@ import { productlist } from '@/api/public'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import MyEmp from '../../StockApply/components/MyEmp'
var _that
export default {
directives: { waves },
components: { MyEmp, Pagination },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
0: _that.$t('updates.wsh'),
1: _that.$t('updates.shz'),
2: _that.$t('Hmodule.shtg'),
3: _that.$t('updates.shbtg')
}
return statusMap[status]
},
receiptStatFilter(status) {
const statusMap = {
1: '制单',
2: '执行',
3: '结单'
1: _that.$t('updates.zd'),
2: _that.$t('updates.zx'),
3: _that.$t('updates.jd')
}
return statusMap[status]
},
@ -178,7 +179,7 @@ export default {
},
sourceTypeFilter(status) {
const statusMap = {
1: '无来源'
1: _that.$t('Hmodule.Nosource')
}
return statusMap[status]
}

Some files were not shown because too many files have changed in this diff Show more