提交
This commit is contained in:
@@ -6,6 +6,6 @@ VITE_APP_ENV = 'development'
|
||||
|
||||
# 后台管理系统/开发环境
|
||||
# VITE_APP_BASE_API = 'http://192.168.1.112:8086'
|
||||
VITE_APP_BASE_API = 'http://192.168.1.5:8087'
|
||||
# VITE_APP_BASE_API = 'http://192.168.1.19:8086'
|
||||
# VITE_APP_BASE_API = 'http://192.168.1.251:8086'
|
||||
# VITE_APP_BASE_API = 'http://192.168.1.5:8087' #温
|
||||
VITE_APP_BASE_API = 'http://192.168.1.13:8087' #雨欣
|
||||
# VITE_APP_BASE_API = 'http://192.168.1.251:8087'
|
||||
|
||||
@@ -164,8 +164,8 @@ const summaryList = computed(() => {
|
||||
props.billAllObj.forEach(item => {
|
||||
if (map.has(item.wlNo)) {
|
||||
const existing = map.get(item.wlNo);
|
||||
const total = (parseFloat(existing.totalQty)*100 *10000 + parseFloat(item.realQty)*100 *10000)
|
||||
existing.totalQty = total / ( 100 * 10000);
|
||||
const total = parseFloat(existing.totalQty) * 1000000+ parseFloat(item.realQty) * 1000000
|
||||
existing.totalQty = total / ( 1000000);
|
||||
} else {
|
||||
map.set(item.wlNo, {
|
||||
...item,
|
||||
|
||||
@@ -145,8 +145,8 @@ const summaryList = computed(() => {
|
||||
props.billAllObj.forEach(item => {
|
||||
if (map.has(item.wlNo)) {
|
||||
const existing = map.get(item.wlNo);
|
||||
const total = (parseFloat(existing.totalQty) * 100*10000+ parseFloat(item.realQty)* 100*10000)
|
||||
existing.totalQty = total / ( 100 * 10000);
|
||||
const total = parseFloat(existing.totalQty) * 1000000+ parseFloat(item.realQty) * 1000000
|
||||
existing.totalQty = total / ( 1000000);
|
||||
} else {
|
||||
map.set(item.wlNo, {
|
||||
...item,
|
||||
|
||||
@@ -1374,6 +1374,7 @@ const editRef = ref(null);
|
||||
function editForm() {
|
||||
editRef.value.validate((valid) => {
|
||||
if (valid) {
|
||||
delete billData.value.execStatus
|
||||
updateBill(billData.value).then((response) => {
|
||||
proxy.$modal.msgSuccess("操作成功");
|
||||
openBill.value = false;
|
||||
|
||||
Reference in New Issue
Block a user