Commit 116770f9 authored by renjintao's avatar renjintao

zh-cn/support_item

parent 9f691aef
...@@ -359,8 +359,8 @@ export default { ...@@ -359,8 +359,8 @@ export default {
productId: '产品id', productId: '产品id',
productName: '产品名称', productName: '产品名称',
quantity: '计划数量', quantity: '计划数量',
productQuantity: '合格数量', productQuantity: '合格数量',
qualifiedQuantity:'合格数量', qualifiedQuantity: '合格数量',
actualFinishDate: '完成时间', actualFinishDate: '完成时间',
productingPreparationPeople: '承制单位', productingPreparationPeople: '承制单位',
uncertificateQuantity: '待开具数量', uncertificateQuantity: '待开具数量',
...@@ -1569,9 +1569,54 @@ export default { ...@@ -1569,9 +1569,54 @@ export default {
unitPrice: '单价', unitPrice: '单价',
originalManufacturer: '原厂家', originalManufacturer: '原厂家',
remark: '备注', remark: '备注',
materialCode:'物料编码', materialCode: '物料编码',
}, },
stock_item:{ stock_item: {
creationTime: '创建时间',
creatorUserId: '创建人',
lastModificationTime: '更新时间',
lastModifierUserId: '更新人',
isDeleted: '删除人',
deletionTime: '删除时间',
deleterUserId: '删除人',
name: '名称',
materialType: '类型',
brand: '牌号',
specifications: '规格',
originalManufacturer: '原厂家',
batch: '批次',
unitPrice: '单价',
certificateOfApproval: '合格证',
storeId: '',
storeTitle: '库位',
creator: '',
stockId: '物料库存主键',
total: '入库数量',
remark: '备注',
code: '入库编号',
materialId: '物料id',
materialCode: '物料编码',
nowTotal: '剩余数量',
},
support_main: {
creationTime: '创建时间',
creatorUserId: '创建人',
lastModificationTime: '更新时间',
lastModifierUserId: '更新人',
isDeleted: '删除人',
deletionTime: '删除时间',
deleterUserId: '删除人',
orderId: '订单id',
productName: '产品名称',
drawnNumber: '图号',
count: '订单数量',
creator: '申请人',
status: '状态',
finishDate: '齐套时间',
orderCode: '订单编号',
code: '申请单号',
},
support_item:{
creationTime:'创建时间', creationTime:'创建时间',
creatorUserId:'创建人', creatorUserId:'创建人',
lastModificationTime:'更新时间', lastModificationTime:'更新时间',
...@@ -1579,23 +1624,22 @@ export default { ...@@ -1579,23 +1624,22 @@ export default {
isDeleted:'删除人', isDeleted:'删除人',
deletionTime:'删除时间', deletionTime:'删除时间',
deleterUserId:'删除人', deleterUserId:'删除人',
name:'名称', supportMainId:'主表id',
materialType:'类型', routingHeaderId:'工艺id',
brand:'牌号', routingDeatilId:'工序id',
specifications:'规格', routingDetailName:'工序',
originalManufacturer:'原厂家', routingDetailSeq:'工序号',
batch:'批次', routingDetailNo:'工序号',
unitPrice:'单价', count:'申请数量',
certificateOfApproval:'合格证', status:'状态',
storeId:'',
storeTitle:'库位',
creator:'',
stockId:'物料库存主键',
total:'入库数量',
remark:'备注',
code:'入库编号',
materialId:'物料id', materialId:'物料id',
materialCode:'物料编码', materialName:'物料名称',
nowTotal:'剩余数量', nameMaterial:'物料名称',
materialNumber:'物料编号',
needCount:'需要数量',
totalCount:'需要数量',
outStockNumber:'出库数量',
orderId:'',
remark:'备注',
} }
} }
...@@ -72,39 +72,39 @@ export default { ...@@ -72,39 +72,39 @@ export default {
}, },
{ {
key: "routingDetailNo", key: "routingDetailNo",
title: "工序号", title: this.l("routingDetailNo"),
align: "left", align: "left",
}, },
{ {
key: "routingDetailName", key: "routingDetailName",
title: "工序", title: this.l("routingDetailName"),
align: "left", align: "left",
}, },
{ {
key: "nameMaterial", key: "nameMaterial",
title: "物料名", title: this.l("nameMaterial"),
align: "left", align: "left",
}, },
{ {
key: "materialNumber", key: "materialNumber",
title: "物料编号", title: this.l("materialNumber"),
align: "left", align: "left",
}, },
{ {
key: "totalCount", key: "totalCount",
title: "需求数量", title: this.l("totalCount"),
align: "left", align: "left",
}, },
{ {
key: "counts", key: "count",
title: "申请数量", title: this.l("count"),
align: "right", align: "right",
slot: "counts", slot: "counts",
width: 120, width: 120,
}, },
{ {
key: "remarks", key: "remark",
title: "备注", title: this.l("remark"),
align: "left", align: "left",
slot: "remarks", slot: "remarks",
}, },
...@@ -176,11 +176,6 @@ export default { ...@@ -176,11 +176,6 @@ export default {
} }
}); });
}, },
l(key) {
let vkey = "plan_resource" + "." + key;
return this.$t(vkey) || key;
},
getTimeQuotationFD(value) { getTimeQuotationFD(value) {
this.orderForm.QuotationFinishDate = this.orderForm.QuotationFinishDate =
value != "" ? this.getFormatDateEnd(value) : value; value != "" ? this.getFormatDateEnd(value) : value;
...@@ -314,7 +309,7 @@ export default { ...@@ -314,7 +309,7 @@ export default {
if (res.success) { if (res.success) {
this.$Message.success("申请成功"); this.$Message.success("申请成功");
//this.$emit("cancel"); //this.$emit("cancel");
this.$emit('on-ok') this.$emit("on-ok");
} }
}); });
} }
...@@ -330,6 +325,10 @@ export default { ...@@ -330,6 +325,10 @@ export default {
}); });
this.footerToolbar = false; this.footerToolbar = false;
}, },
l(key) {
let vkey = "support_item" + "." + key;
return this.$t(vkey) || key;
},
}, },
watch: { watch: {
eid(v) { eid(v) {
......
...@@ -50,39 +50,39 @@ export default { ...@@ -50,39 +50,39 @@ export default {
cols: [ cols: [
{ {
key: "materialName", key: "materialName",
title: "物料名", title: this.l("materialName"),
align: "left", align: "left",
}, },
{ {
key: "materialNumber", key: "materialNumber",
title: "物料编号", title: this.l("materialNumber"),
align: "left", align: "left",
}, },
{ {
key: "needCount", key: "needCount",
title: "需求数量", title: this.l("needCount"),
align: "right", align: "right",
}, },
{ {
key: "count", key: "count",
title: "申请数量", title: this.l("count"),
align: "right", align: "right",
width: 120, width: 120,
}, },
{ {
key: "counts", key: "status",
title: "状态", title: this.l("status"),
align: "center", align: "center",
width: 120, width: 120,
}, },
{ {
key: "remark", key: "remark",
title: "备注", title: this.l("remark"),
align: "left", align: "left",
}, },
{ {
key: "action", key: "action",
title: "状态", title: "操作",
width: 120, width: 120,
align: "center", align: "center",
render: (h, params) => { render: (h, params) => {
...@@ -153,6 +153,10 @@ export default { ...@@ -153,6 +153,10 @@ export default {
} }
}) })
}, },
l(key) {
let vkey = "support_item" + "." + key;
return this.$t(vkey) || key;
},
}, },
watch: { watch: {
eid(v) { eid(v) {
......
...@@ -151,45 +151,45 @@ export default { ...@@ -151,45 +151,45 @@ export default {
}, },
{ {
key: "routingDetailNo", key: "routingDetailNo",
title: "工序号", title: this.l("routingDetailNo"),
align: "left", align: "left",
}, },
{ {
key: "routingDetailName", key: "routingDetailName",
title: "工序", title: this.l("routingDetailName"),
align: "left", align: "left",
}, },
{ {
key: "nameMaterial", key: "nameMaterial",
title: "物料名", title: this.l("nameMaterial"),
align: "left", align: "left",
}, },
{ {
key: "materialNumber", key: "materialNumber",
title: "物料编号", title: this.l("materialNumber"),
align: "left", align: "left",
}, },
{ {
key: "totalCount", key: "totalCount",
title: "需求数量", title: this.l("totalCount"),
align: "left", align: "left",
}, },
{ {
key: "counts", key: "count",
title: "申请数量", title: this.l("count"),
align: "right", align: "right",
slot: "counts", slot: "counts",
width: 120, width: 120,
}, },
{ {
key: "outStockNumber", key: "outStockNumber",
title: "出库数量", title: this.l("routingDetailNo"),
align: "right", align: "right",
width: 120, width: 120,
}, },
{ {
key: "remarks", key: "remark",
title: "备注", title: this.l("remark"),
align: "left", align: "left",
slot: "remarks", slot: "remarks",
}, },
...@@ -342,7 +342,7 @@ export default { ...@@ -342,7 +342,7 @@ export default {
return s < 10 ? "0" + s : s; return s < 10 ? "0" + s : s;
}, },
selectionChange(v) { selectionChange(v) {
//根据状态修改this.datas数组数据 //根据状态修改this.datas数组数据
if (this.curArr == 3) { if (this.curArr == 3) {
//单条取消选择 //单条取消选择
this.cRow._checked = false; this.cRow._checked = false;
...@@ -487,7 +487,8 @@ export default { ...@@ -487,7 +487,8 @@ export default {
this.entity = row; this.entity = row;
this.modalAccSet = true; this.modalAccSet = true;
}, },
openAcc() {//打开申请单页面 openAcc() {
//打开申请单页面
this.title = "申请单"; this.title = "申请单";
this.detailAcc = () => import("./detailAccessory"); this.detailAcc = () => import("./detailAccessory");
this.modalAccessoryList = true; this.modalAccessoryList = true;
...@@ -495,12 +496,18 @@ export default { ...@@ -495,12 +496,18 @@ export default {
cancel() { cancel() {
this.modalAccessoryList = false; this.modalAccessoryList = false;
}, },
canelSet() {//临时设置取消 canelSet() {
//临时设置取消
this.modalAccSet = false; this.modalAccSet = false;
}, },
onOk() {//重新加载页面数据 onOk() {
//重新加载页面数据
this.load(this.eid); this.load(this.eid);
}, },
l(key) {
let vkey = "support_item" + "." + key;
return this.$t(vkey) || key;
},
}, },
watch: { watch: {
eid(v) { eid(v) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment