From 3352a677e9ba8ceab8898eb8986a412d3e31c3da Mon Sep 17 00:00:00 2001 From: shawnzhang Date: Tue, 5 Mar 2019 17:35:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/zh.js | 33 ++ src/views/Product/NewProduct.vue | 706 ++++++++++--------------- src/views/Product/components/MyEmp.vue | 310 ++++++----- src/views/Supplier/SupplierList.vue | 2 + 4 files changed, 483 insertions(+), 568 deletions(-) diff --git a/src/lang/zh.js b/src/lang/zh.js index 06523697..cd41a210 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -218,7 +218,40 @@ export default { groupName: '组名称', createId: '建档人' }, + Product: { + code: '物料编码', + barcode: '条码', + productname: '产品名称', + typeid: '规格型号', + categoryid: '物品分类', + color: '颜色', + brand: '品牌', + kpigrade: '绩效分', + point: '商品积分', + zhibaoqi: '质保期', + weight: '商品重量', + volume: '商品体积', + costprice: '成本价', + tradeprice: '批发价', + saleprice: '零售价', + purchaseprice: '采购价', + lowerprice: '最低价', + supplierid: '供应商', + createid: '创建者', + level: '档次级别', + purchasemeasurement: '采购计量单位', + salemeasurement: '销售计量单位', + stockmeasurement: '库存计量单位', + producemeasurement: '生产计量单位', + source: '来源', + valuation: '成本核算计价方式', + isactive: '上下架', + picids: '商品图片', + detailpicid: '详情图片', + memberprice: '会员价' + }, public: { + uploadimage: '上传', address: '地址', regionId: '区域', countyrId: '国家', diff --git a/src/views/Product/NewProduct.vue b/src/views/Product/NewProduct.vue index 208a38b9..c162cb82 100644 --- a/src/views/Product/NewProduct.vue +++ b/src/views/Product/NewProduct.vue @@ -5,199 +5,176 @@

基本信息

- - + + - - - + + + + + + + + + + - - -
- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- -

业务信息

+ +

价格信息

- - - + + + + - - - - + + - - - - + + - - + + - - - - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - + +
- -

财务信息

+ +

图片信息

- - - - - - - - - - - - - - - - - - - - - -
- -

辅助信息

-
- - - - - - - - - - - - - - - - - - - + + {{ $t('public.uploadimage') }} + + + + + + + + + {{ $t('public.uploadimage') }} + + + + + + +
@@ -211,95 +188,88 @@ diff --git a/src/views/Supplier/SupplierList.vue b/src/views/Supplier/SupplierList.vue index a633d0a2..31069bd4 100644 --- a/src/views/Supplier/SupplierList.vue +++ b/src/views/Supplier/SupplierList.vue @@ -173,6 +173,8 @@ export default { }, data() { return { + // 供应商选择框控制 + employeeVisible: this.control, // 新增分组参数 groupName: '', // 分组表格数据