diff --git a/manager/src/views/goods/goods-manage/spec.vue b/manager/src/views/goods/goods-manage/spec.vue index 9ec82c2d..73ba2c8b 100644 --- a/manager/src/views/goods/goods-manage/spec.vue +++ b/manager/src/views/goods/goods-manage/spec.vue @@ -26,11 +26,10 @@ - {{ form }} @@ -51,7 +50,7 @@ import { regular } from "@/utils"; export default { name: "spec", components: {}, - data() { + data () { return { loading: true, // 表单加载状态 modalType: 0, // 添加或编辑标识 @@ -150,29 +149,32 @@ export default { }; }, methods: { + handleCreate2 (v) { + console.log(v); + }, //初始化,获取数据 - init() { + init () { this.getDataList(); }, //修改分页 - changePage(v) { + changePage (v) { this.searchForm.pageNumber = v; this.getDataList(); this.clearSelectAll(); }, //修改页面大小 - changePageSize(v) { + changePageSize (v) { this.searchForm.pageSize = v; this.getDataList(); }, //搜索参数 - handleSearch() { + handleSearch () { this.searchForm.pageNumber = 1; this.searchForm.pageSize = 10; this.getDataList(); }, //重置搜索参数 - handleReset() { + handleReset () { this.$refs.searchForm.resetFields(); this.searchForm.pageNumber = 1; this.searchForm.pageSize = 10; @@ -180,7 +182,7 @@ export default { this.getDataList(); }, //更改排序 - changeSort(e) { + changeSort (e) { this.searchForm.sort = e.key; this.searchForm.order = e.order; if (e.order === "normal") { @@ -189,16 +191,16 @@ export default { this.getDataList(); }, //清除已选择 - clearSelectAll() { + clearSelectAll () { this.$refs.table.selectAll(false); }, //修改已选择 - changeSelect(e) { + changeSelect (e) { this.selectList = e; this.selectCount = e.length; }, //获取数据 - getDataList() { + getDataList () { this.loading = true; // 带多条件搜索参数获取表单数据 请自行修改接口 getSpecListData(this.searchForm).then((res) => { @@ -211,7 +213,7 @@ export default { this.loading = false; }, //新增规格 - saveSpec() { + saveSpec () { this.$refs.form.validate((valid) => { if (valid) { this.submitLoading = true; @@ -246,7 +248,7 @@ export default { }); }, //弹出添加框 - add() { + add () { this.modalType = 0; this.modalTitle = "添加"; this.$refs.form.resetFields(); @@ -255,8 +257,7 @@ export default { this.modalVisible = true; }, //弹出编辑框 - edit(v) { - console.log(v); + edit (v) { this.modalType = 1; this.modalTitle = "编辑"; // 转换null为"" @@ -266,23 +267,21 @@ export default { } } let localVal = v.specValue; - console.log(localVal.split(",")) this.form.specName = v.specName; this.form.id = v.id; - this.$nextTick(() => { - this.$set(this.form, 'specValue', localVal.split(",")) - }) - + // this.$nextTick(() => { + // this.$set(this.form, 'specValue', localVal.split(",")) + // }) + this.form.specValue = localVal.split(",") if (localVal && localVal.indexOf("," > 0)) { this.specValue = this.form.specValue; } else { this.specValue = []; } - console.log("form.specValue", this.form); this.modalVisible = true; }, // 删除规格 - remove(v) { + remove (v) { this.$Modal.confirm({ title: "确认删除", content: "您确认要删除 " + v.specName + " ?", @@ -299,7 +298,7 @@ export default { }); }, // 批量删除 - delAll() { + delAll () { if (this.selectCount <= 0) { this.$Message.warning("您还未选择要删除的数据"); return; @@ -327,7 +326,7 @@ export default { }); }, }, - mounted() { + mounted () { this.init(); }, }; diff --git a/manager/src/views/order/order/fictitiousOrderList.vue b/manager/src/views/order/order/fictitiousOrderList.vue index 69b40ddc..2a2b218c 100644 --- a/manager/src/views/order/order/fictitiousOrderList.vue +++ b/manager/src/views/order/order/fictitiousOrderList.vue @@ -4,22 +4,10 @@
- + - + - + - +
-
+
- + diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue index 2df88231..6fc84f74 100644 --- a/manager/src/views/order/order/orderDetail.vue +++ b/manager/src/views/order/order/orderDetail.vue @@ -4,24 +4,12 @@
- - - + + + - +
@@ -66,10 +54,8 @@ -
+
发票税号:
{{ orderInfo.receipt && orderInfo.receipt.taxpayerId ? orderInfo.receipt.taxpayerId : "暂无" }} @@ -81,8 +67,8 @@
{{ orderInfo.receipt && orderInfo.receipt.receiptContent - ? orderInfo.receipt.receiptContent - : "暂无" + ? orderInfo.receipt.receiptContent + : "暂无" }}
@@ -92,8 +78,8 @@
{{ orderInfo.receipt && orderInfo.receipt.receiptPrice - ? orderInfo.receipt.receiptPrice - : "暂无" | unitPrice("¥") + ? orderInfo.receipt.receiptPrice + : "暂无" | unitPrice("¥") }}
@@ -101,7 +87,7 @@
是否开票:
- {{ orderInfo.receipt?(orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开"):"空" }} + {{ orderInfo.receipt ? (orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开") : "空" }}
@@ -127,12 +113,12 @@
{{ orderInfo.order.remark }}
-
+ -
+ -
+
配送方式:
{{ orderInfo.deliveryMethodValue }} @@ -189,22 +173,12 @@
- +