Commit 85014ccf authored by liwenhong's avatar liwenhong

fix:email

parent d9329b8f
......@@ -124,6 +124,7 @@
v-model="commodityForm.inventory_total"
placeholder=""
@input="inventoryIpt"
:rules="[{ required: true, message: '请输入库存' }]"
></el-input>
</el-form-item>
<div style="display: inline-block; height: 42px; margin-left: 33px">
......@@ -234,8 +235,9 @@
<script>
import { GOODS_URI } from "../../../../../server/config";
import store from "../../../../store/index";
import { ElMessage } from "element-plus";
import { getCookie } from "@/utils/util";
import {
addGoods,
getBusinessList,
......@@ -427,7 +429,8 @@ export default {
marketing_name: this.editInfo.marketing_name,
marketing_type: "4",
ota_id: this.commodityForm.business1,
op_cur_user: store.state.userInfo.email,
op_cur_user: getCookie('username'),
// op_cur_user: store.state.userInfo.email,
goods_sku_id: goodsSkuID,
});
if (res.code == 0) {
......@@ -494,7 +497,7 @@ export default {
marketing_type: "4",
price: this.commodityForm.price,
ota_id: this.commodityForm.business1,
op_cur_user: store.state.userInfo.email,
op_cur_user: getCookie('username'),
});
if (res.code == 0) {
ElMessage.success({
......
......@@ -55,6 +55,8 @@ import { ElMessage } from "element-plus";
import infoEditing from "./components/infoEditing.vue";
import addProduc from "./components/addProduc.vue";
import spellOrderSet from "./components/spellOrderSet.vue";
import { getCookie } from "@/utils/util";
import {
addMarketing,
marketingInfo,
......@@ -156,7 +158,7 @@ export default {
goods_sku_id: this.goodsSkuIDArr.join(","),
marketing_name: this.$refs.infoEdit.infoEditForm.title,
marketing_type: "4",
op_cur_user: this.$store.state.userInfo.email,
op_cur_user: getCookie('username'),
start_time: dayJs(this.startDate).format("YYYY-MM-DD HH:mm:ss"),
end_time: dayJs(this.endDate).format("YYYY-MM-DD HH:mm:ss"),
pindan_pic: picList,
......
......@@ -182,6 +182,8 @@
<script>
import { postBusiness, opCommit, opBusinessUpdate } from "@/service/enterprise";
import { API_INTERNAL_URI } from "../../../../server/config";
import { getCookie } from "@/utils/util";
export default {
props: {
enterpriseId: { type: Number },
......@@ -402,7 +404,7 @@ export default {
data_from: 3,
data_type,
mobile,
proxy_user_name: this.$store.state.userInfo.email
proxy_user_name: getCookie('username')
};
postBusiness(enterpriseQuery).then(res => {
if (res.code !== 0) return this.$message.error(res.reason);
......
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