优化操作入库
This commit is contained in:
@@ -3,8 +3,8 @@ ENV = 'development'
|
|||||||
# 接口地址
|
# 接口地址
|
||||||
# VUE_APP_BASE_API = 'http://192.168.2.17:8000'
|
# VUE_APP_BASE_API = 'http://192.168.2.17:8000'
|
||||||
# VUE_APP_BASE_API = 'http://192.168.2.42:8000'
|
# VUE_APP_BASE_API = 'http://192.168.2.42:8000'
|
||||||
VUE_APP_BASE_API = 'http://192.168.2.147:8000'
|
# VUE_APP_BASE_API = 'http://192.168.2.133:8000'
|
||||||
# VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn'
|
VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn'
|
||||||
# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn'
|
# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn'
|
||||||
# VUE_APP_BASE_API = 'http://192.168.2.96:8000'
|
# VUE_APP_BASE_API = 'http://192.168.2.96:8000'
|
||||||
VUE_APP_WS_API = 'ws://192.168.2.128:8000'
|
VUE_APP_WS_API = 'ws://192.168.2.128:8000'
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ ENV = 'production'
|
|||||||
|
|
||||||
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
|
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
|
||||||
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
|
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
|
||||||
VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn'
|
# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn'
|
||||||
# VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn'
|
VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn'
|
||||||
# VUE_APP_BASE_API = 'http://192.168.2.98:8000'
|
# VUE_APP_BASE_API = 'http://192.168.2.98:8000'
|
||||||
# 如果接口是 http 形式, wss 需要改为 ws
|
# 如果接口是 http 形式, wss 需要改为 ws
|
||||||
VUE_APP_WS_API = 'wss://123.56.110.252
|
VUE_APP_WS_API = 'wss://123.56.110.252
|
||||||
|
|||||||
@@ -54,12 +54,11 @@ export function tbProductStockDetailSum(params) {
|
|||||||
*/
|
*/
|
||||||
export function tbShopPurveyorGet(params) {
|
export function tbShopPurveyorGet(params) {
|
||||||
return request({
|
return request({
|
||||||
url: `/api/tbProduct/admin`,
|
url: `/api/tbShopPurveyor`,
|
||||||
method: "get",
|
method: "get",
|
||||||
params
|
params
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 供应商列表1
|
// 供应商列表1
|
||||||
export function tbShopPurveyorGets(params) {
|
export function tbShopPurveyorGets(params) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import request from "@/utils/request";
|
|||||||
*/
|
*/
|
||||||
export function tbProduct(params) {
|
export function tbProduct(params) {
|
||||||
return request({
|
return request({
|
||||||
url: "/api/tbProduct",
|
url: "/api/tbProduct/list",
|
||||||
method: "get",
|
method: "get",
|
||||||
params
|
params
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="进价">
|
<el-table-column label="进价">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-input-number v-model="scope.row.guidePrice" :min="0" controls-position="right"
|
<el-input-number v-model="scope.row.costPrice" :min="0" controls-position="right"
|
||||||
@change="e => { scope.row.costPrice = e }"></el-input-number>
|
@change="e => { scope.row.costPrice = e }"></el-input-number>
|
||||||
<div class="tips">成本价¥{{ scope.row.costPrice }}/{{ scope.row.unitName }}</div>
|
<div class="tips">成本价¥{{ scope.row.costPrice }}/{{ scope.row.unitName }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user