Commit 116770f9 authored by renjintao's avatar renjintao

zh-cn/support_item

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