update: 优化细节
This commit is contained in:
parent
dc95484bf5
commit
b0e31d9d9e
|
@ -71,7 +71,7 @@
|
||||||
<view class="num">{{
|
<view class="num">{{
|
||||||
formatMoney(state.summary.totalPaidPrice)
|
formatMoney(state.summary.totalPaidPrice)
|
||||||
}}</view>
|
}}</view>
|
||||||
<view>实收金额</view>
|
<view>已付金额</view>
|
||||||
</view>
|
</view>
|
||||||
</up-col>
|
</up-col>
|
||||||
<up-col span="4">
|
<up-col span="4">
|
||||||
|
|
|
@ -247,8 +247,8 @@ const state = reactive({
|
||||||
const currentSpl = ref<any>(null);
|
const currentSpl = ref<any>(null);
|
||||||
const splBtnList = [
|
const splBtnList = [
|
||||||
{ key: null, name: "全部" },
|
{ key: null, name: "全部" },
|
||||||
{ key: false, name: "补单" },
|
{ key: false, name: "手工补单" },
|
||||||
{ key: true, name: "未补单" },
|
{ key: true, name: "系统单" },
|
||||||
];
|
];
|
||||||
const deliveryMethod = ref<any>(null);
|
const deliveryMethod = ref<any>(null);
|
||||||
const deliveryMethodBtnList = [
|
const deliveryMethodBtnList = [
|
||||||
|
@ -441,7 +441,7 @@ const getFilter = () => {
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.box {
|
.box {
|
||||||
padding: 60rpx 30rpx;
|
padding: 60rpx 30rpx 150rpx;
|
||||||
::v-deep .u-cell__value {
|
::v-deep .u-cell__value {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,7 +159,7 @@ const startSave = () => {
|
||||||
if (model1.formData.id) {
|
if (model1.formData.id) {
|
||||||
GoodsApi.editShipmentCategory({
|
GoodsApi.editShipmentCategory({
|
||||||
id: model1.formData.id,
|
id: model1.formData.id,
|
||||||
shmCategoryName: model1.formData.name,
|
shmCategoryName: model1.formData.shmCategoryName,
|
||||||
parentId: model1.formData.parentId,
|
parentId: model1.formData.parentId,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<u-form
|
<u-form
|
||||||
labelPosition="left"
|
labelPosition="left"
|
||||||
:model="model1"
|
:model="model1"
|
||||||
:rules="rules"
|
:rules="model1.formData.id ? rules1 : rules2"
|
||||||
ref="form"
|
ref="form"
|
||||||
:labelWidth="100"
|
:labelWidth="100"
|
||||||
:labelStyle="{ padding: '0rpx 10rpx' }"
|
:labelStyle="{ padding: '0rpx 10rpx' }"
|
||||||
|
@ -33,7 +33,11 @@
|
||||||
border="none"
|
border="none"
|
||||||
@change="(e:any) => {handleInput(e, item)}"
|
@change="(e:any) => {handleInput(e, item)}"
|
||||||
:disabled="item.type === 'select'"
|
:disabled="item.type === 'select'"
|
||||||
:disabledColor="['卡号', '供应商分类'].indexOf(item.name) > -1?'#ffffff':'#f5f7fa'"
|
:disabledColor="
|
||||||
|
['卡号', '供应商分类'].indexOf(item.name) > -1
|
||||||
|
? '#ffffff'
|
||||||
|
: '#f5f7fa'
|
||||||
|
"
|
||||||
@clear="handleClear(item)"
|
@clear="handleClear(item)"
|
||||||
>
|
>
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
|
@ -70,11 +74,11 @@ import { DeviceType, ImagesType, OrderType, StockCardType } from "@/utils/enum";
|
||||||
import valid from "@/utils/validate";
|
import valid from "@/utils/validate";
|
||||||
import { onLoad } from "@dcloudio/uni-app";
|
import { onLoad } from "@dcloudio/uni-app";
|
||||||
import _ from "underscore";
|
import _ from "underscore";
|
||||||
const handleClear = (item:any) => {
|
const handleClear = (item: any) => {
|
||||||
(model1.formData as any)[item.key] = '';
|
(model1.formData as any)[item.key] = "";
|
||||||
}
|
};
|
||||||
const handleInput = (e: any, item: any) => {
|
const handleInput = (e: any, item: any) => {
|
||||||
if (item.key === "phone" || item.key === 'bankNumber') {
|
if (item.key === "phone" || item.key === "bankNumber") {
|
||||||
const temp = e?.replace(valid.valid_number, "");
|
const temp = e?.replace(valid.valid_number, "");
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
model1.formData[item.key] = temp;
|
model1.formData[item.key] = temp;
|
||||||
|
@ -84,7 +88,21 @@ const handleInput = (e: any, item: any) => {
|
||||||
const model1 = reactive<any>({
|
const model1 = reactive<any>({
|
||||||
formData: {},
|
formData: {},
|
||||||
});
|
});
|
||||||
const rules = ref({
|
const rules1 = ref({
|
||||||
|
"formData.name": {
|
||||||
|
type: "string",
|
||||||
|
required: true,
|
||||||
|
message: "请输入供应商",
|
||||||
|
trigger: ["blur", "change"],
|
||||||
|
},
|
||||||
|
"formData.supplierTypeName": {
|
||||||
|
type: "string",
|
||||||
|
required: true,
|
||||||
|
message: "请选择供应商分类",
|
||||||
|
trigger: ["blur", "change"],
|
||||||
|
},
|
||||||
|
});
|
||||||
|
const rules2 = ref({
|
||||||
"formData.stockCardName": {
|
"formData.stockCardName": {
|
||||||
type: "string",
|
type: "string",
|
||||||
required: true,
|
required: true,
|
||||||
|
@ -127,11 +145,11 @@ const formAttrList = reactive<any>([
|
||||||
key: "stockCardName",
|
key: "stockCardName",
|
||||||
type: "select",
|
type: "select",
|
||||||
childKey: "stockCard",
|
childKey: "stockCard",
|
||||||
required: true,
|
// required: true,
|
||||||
fn: () => {
|
fn: () => {
|
||||||
if (contrlModalParams.stockCard.list.length === 0) {
|
if (contrlModalParams.stockCard.list.length === 0) {
|
||||||
uni.showToast({icon: 'none', title: '当前无可用卡号,请添加入库卡'})
|
uni.showToast({ icon: "none", title: "当前无可用卡号,请添加入库卡" });
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
contrlModalParams.stockCard.isShow = true;
|
contrlModalParams.stockCard.isShow = true;
|
||||||
contrlModalParams.stockCard.title = "卡号";
|
contrlModalParams.stockCard.title = "卡号";
|
||||||
|
@ -262,13 +280,13 @@ const startSave = () => {
|
||||||
if (model1.formData.id) {
|
if (model1.formData.id) {
|
||||||
SupplierApi.updateSupplierUser(model1.formData).then((res) => {
|
SupplierApi.updateSupplierUser(model1.formData).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
uni.navigateBack()
|
uni.navigateBack();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
SupplierApi.addSupplierUser(model1.formData).then((res) => {
|
SupplierApi.addSupplierUser(model1.formData).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
uni.navigateBack()
|
uni.navigateBack();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -283,7 +301,8 @@ const getSupplierTypeList = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const getStockCardList = () => {
|
const getStockCardList = () => {
|
||||||
StockCardApi.getStockCardListInfo({ vincolante: StockCardType.Receive }).then((res) => {
|
StockCardApi.getStockCardListInfo({ vincolante: StockCardType.Receive }).then(
|
||||||
|
(res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
contrlModalParams.stockCard.list = (res.data as any).map(
|
contrlModalParams.stockCard.list = (res.data as any).map(
|
||||||
(item: any) => {
|
(item: any) => {
|
||||||
|
@ -291,7 +310,8 @@ const getStockCardList = () => {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
@ -299,10 +319,24 @@ onMounted(() => {
|
||||||
getStockCardList();
|
getStockCardList();
|
||||||
});
|
});
|
||||||
|
|
||||||
onLoad((option) => {
|
onLoad((option:any) => {
|
||||||
// 接收传递的标题参数
|
// 接收传递的标题参数
|
||||||
const title = (option as any).title;
|
const title = option.title;
|
||||||
model1.formData = JSON.parse((option as any).item);
|
SupplierApi.getSupplierUserList({ id: option.item }).then(
|
||||||
|
(res: any) => {
|
||||||
|
if (res.code === 200) {
|
||||||
|
if (res.data.length > 0) {
|
||||||
|
model1.formData = res.data[0]
|
||||||
|
} else {
|
||||||
|
uni.showToast({ title: "未查询到供应商" });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
// 新增供应商卡号必填 编辑供应商卡号非必填
|
||||||
|
if (!option.item) {
|
||||||
|
formAttrList[1].required = true
|
||||||
|
}
|
||||||
if (model1.formData.cardCode) {
|
if (model1.formData.cardCode) {
|
||||||
model1.formData.stockCardName = model1.formData.cardCode;
|
model1.formData.stockCardName = model1.formData.cardCode;
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,6 +95,12 @@ const model1 = reactive<any>({
|
||||||
formData: {},
|
formData: {},
|
||||||
});
|
});
|
||||||
const rules1 = ref({
|
const rules1 = ref({
|
||||||
|
"formData.roleName": {
|
||||||
|
type: "string",
|
||||||
|
required: true,
|
||||||
|
message: "请选择用户角色",
|
||||||
|
trigger: ["blur", "change"],
|
||||||
|
},
|
||||||
"formData.userName": {
|
"formData.userName": {
|
||||||
type: "string",
|
type: "string",
|
||||||
required: true,
|
required: true,
|
||||||
|
@ -109,6 +115,12 @@ const rules1 = ref({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const rules2 = ref({
|
const rules2 = ref({
|
||||||
|
"formData.roleName": {
|
||||||
|
type: "string",
|
||||||
|
required: true,
|
||||||
|
message: "请选择用户角色",
|
||||||
|
trigger: ["blur", "change"],
|
||||||
|
},
|
||||||
"formData.userName": {
|
"formData.userName": {
|
||||||
type: "string",
|
type: "string",
|
||||||
required: true,
|
required: true,
|
||||||
|
@ -159,6 +171,7 @@ const formAttrList1 = reactive<any>([
|
||||||
key: "roleName",
|
key: "roleName",
|
||||||
type: "select",
|
type: "select",
|
||||||
childKey: "role",
|
childKey: "role",
|
||||||
|
required: true,
|
||||||
fn: () => {
|
fn: () => {
|
||||||
contrlModalParams.role.isShow = true;
|
contrlModalParams.role.isShow = true;
|
||||||
contrlModalParams.role.title = "选择角色";
|
contrlModalParams.role.title = "选择角色";
|
||||||
|
@ -204,6 +217,7 @@ const formAttrList2 = reactive<any>([
|
||||||
key: "roleName",
|
key: "roleName",
|
||||||
type: "select",
|
type: "select",
|
||||||
childKey: "role",
|
childKey: "role",
|
||||||
|
required: true,
|
||||||
fn: () => {
|
fn: () => {
|
||||||
contrlModalParams.role.isShow = true;
|
contrlModalParams.role.isShow = true;
|
||||||
contrlModalParams.role.title = "选择角色";
|
contrlModalParams.role.title = "选择角色";
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
<text v-if="cItem.name">{{ cItem.name }}:</text
|
<text v-if="cItem.name">{{ cItem.name }}:</text
|
||||||
><text
|
><text
|
||||||
>{{ cItem.isBefore ? cItem.unit : "" }}
|
>{{ cItem.isBefore ? cItem.unit : "" }}
|
||||||
{{ cItem.num }}
|
{{ cItem.name === '送货方式' ? item[`${cItem.enName}`] === DeliveryMethod.Deliver ? '送货' : '自提' : item[`${cItem.enName}`] }}
|
||||||
{{ cItem.isBefore ? "" : cItem.unit }}
|
{{ cItem.isBefore ? "" : cItem.unit }}
|
||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ReceiveApi, ShipmentApi } from "@/services";
|
import { ReceiveApi, ShipmentApi } from "@/services";
|
||||||
import PageView from "@/components/PageView/index.vue";
|
import PageView from "@/components/PageView/index.vue";
|
||||||
import { ScaleStatus } from "@/utils/enum";
|
import { DeliveryMethod, ScaleStatus } from "@/utils/enum";
|
||||||
|
|
||||||
const keyword = ref("");
|
const keyword = ref("");
|
||||||
const gridList1 = reactive([
|
const gridList1 = reactive([
|
||||||
|
@ -156,7 +156,7 @@ const gridList1 = reactive([
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "作废人",
|
name: "作废人",
|
||||||
enName: "updateUserName",
|
enName: "updateName",
|
||||||
unit: "",
|
unit: "",
|
||||||
isBefore: false,
|
isBefore: false,
|
||||||
isCustomStyle: true,
|
isCustomStyle: true,
|
||||||
|
|
|
@ -200,11 +200,11 @@ const state = reactive({
|
||||||
key: 2,
|
key: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "已审未付",
|
name: "待结算",
|
||||||
key: 3,
|
key: 3,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "已审已付",
|
name: "已结算",
|
||||||
key: 4,
|
key: 4,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -334,9 +334,9 @@ const getScaleStatus = (type: number) => {
|
||||||
} else if (type === ScaleStatus.ToBeShipmentReview) {
|
} else if (type === ScaleStatus.ToBeShipmentReview) {
|
||||||
return "待审核";
|
return "待审核";
|
||||||
} else if (type === ScaleStatus.ToBeShipmentPay) {
|
} else if (type === ScaleStatus.ToBeShipmentPay) {
|
||||||
return "待支付";
|
return "待结算";
|
||||||
} else if (type === ScaleStatus.ShipmentPaid) {
|
} else if (type === ScaleStatus.ShipmentPaid) {
|
||||||
return "已支付";
|
return "已结算";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -541,6 +541,14 @@ const save = () => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (parseFloat(model1.order.tare) > parseFloat(model1.order.grossWeight)) {
|
||||||
|
uni.showToast({
|
||||||
|
title: `毛重需大于皮重`,
|
||||||
|
icon: "none",
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
check().then((res) => {
|
check().then((res) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
startSave();
|
startSave();
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<view
|
<view
|
||||||
>{{
|
>{{
|
||||||
item.type === StockCardType.Shipment ? "客户" : "供应商"
|
item.type === StockCardType.Shipment ? "客户" : "供应商"
|
||||||
}}:{{ item.name }}</view
|
}}:{{ item.customUserName }}</view
|
||||||
>
|
>
|
||||||
<view>卡号:{{ item.cardCode }}</view>
|
<view>卡号:{{ item.cardCode }}</view>
|
||||||
<view
|
<view
|
||||||
|
|
|
@ -118,10 +118,11 @@ const update = (item: any) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const edit = (item: any) => {
|
const edit = (item: any) => {
|
||||||
|
console.log(JSON.stringify(item))
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:
|
url:
|
||||||
"/pagesApp/components/addSupplier?title=编辑供应商&item=" +
|
"/pagesApp/components/addSupplier?title=编辑供应商&item=" +
|
||||||
JSON.stringify(item), // 要跳转到的页面路径
|
item.id, // 要跳转到的页面路径
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const getList = (v?: boolean) => {
|
const getList = (v?: boolean) => {
|
||||||
|
|
|
@ -65,7 +65,9 @@
|
||||||
v-if="item.type === 'radio'"
|
v-if="item.type === 'radio'"
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
placement="row"
|
placement="row"
|
||||||
:disabled="model1.order.scaleStatus === 1 && item.key === 'weighingMethod'"
|
:disabled="
|
||||||
|
model1.order.scaleStatus === 1 && item.key === 'weighingMethod'
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<u-radio
|
<u-radio
|
||||||
v-for="(c, index) in item.child"
|
v-for="(c, index) in item.child"
|
||||||
|
@ -128,15 +130,15 @@ import {
|
||||||
SupplierApi,
|
SupplierApi,
|
||||||
} from "@/services/index";
|
} from "@/services/index";
|
||||||
import _ from "underscore";
|
import _ from "underscore";
|
||||||
import { onLoad } from "@dcloudio/uni-app";
|
import { onLoad, onShow } from "@dcloudio/uni-app";
|
||||||
import { ImagesType, OrderType } from "@/utils/enum";
|
import { ImagesType, OrderType } from "@/utils/enum";
|
||||||
import SupplierDialog from "../components/SupplierDialog.vue";
|
import SupplierDialog from "../components/SupplierDialog.vue";
|
||||||
import ProductDialog from "../components/ProductDialog.vue";
|
import ProductDialog from "../components/ProductDialog.vue";
|
||||||
import valid from "@/utils/validate";
|
import valid from "@/utils/validate";
|
||||||
import { countDots } from "@/utils";
|
import { countDots } from "@/utils";
|
||||||
const handleClear = (item:any) => {
|
const handleClear = (item: any) => {
|
||||||
(model1.order as any)[item.key] = '';
|
(model1.order as any)[item.key] = "";
|
||||||
}
|
};
|
||||||
// 供应商选择
|
// 供应商选择
|
||||||
const showDialog = <
|
const showDialog = <
|
||||||
{
|
{
|
||||||
|
@ -222,7 +224,7 @@ const model1 = reactive<{ order: Order }>({
|
||||||
fileLists: [],
|
fileLists: [],
|
||||||
scaleStatus: 1,
|
scaleStatus: 1,
|
||||||
netWeight: 0,
|
netWeight: 0,
|
||||||
balanceTotalPrice: 0
|
balanceTotalPrice: 0,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -290,7 +292,12 @@ const formAttrList = reactive<ComType>([
|
||||||
childKey: "userSelect",
|
childKey: "userSelect",
|
||||||
required: true,
|
required: true,
|
||||||
fn: () => {
|
fn: () => {
|
||||||
// handleDialog("showSupplier", true);
|
uni.navigateTo({
|
||||||
|
url:
|
||||||
|
"/pagesApp/components/addSupplier?title=编辑供应商&item=" +
|
||||||
|
model1.order.userId, // 要跳转到的页面路径
|
||||||
|
});
|
||||||
|
|
||||||
uni.hideKeyboard();
|
uni.hideKeyboard();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -524,9 +531,14 @@ watch(
|
||||||
实际收入:实际结算金额-运费-杂费
|
实际收入:实际结算金额-运费-杂费
|
||||||
*/
|
*/
|
||||||
if (model1.order.scaleStatus === 0) {
|
if (model1.order.scaleStatus === 0) {
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
model1.order.netWeight = parseFloat(((parseFloat(grossWeightNew as any) || 0) - (parseFloat(tareNew as any) || 0)).toFixed(2));
|
model1.order.netWeight = parseFloat(
|
||||||
|
(
|
||||||
|
(parseFloat(grossWeightNew as any) || 0) -
|
||||||
|
(parseFloat(tareNew as any) || 0)
|
||||||
|
).toFixed(2)
|
||||||
|
);
|
||||||
if (model1.order.buttonType === 0) {
|
if (model1.order.buttonType === 0) {
|
||||||
if (model1.order.subtractNum) {
|
if (model1.order.subtractNum) {
|
||||||
model1.order.netWeight =
|
model1.order.netWeight =
|
||||||
|
@ -545,11 +557,11 @@ watch(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
SupplierApi.getSupplierUserList({}).then((res) => {
|
// SupplierApi.getSupplierUserList({}).then((res) => {
|
||||||
if (res.code === 200) {
|
// if (res.code === 200) {
|
||||||
contrlModalParams.userSelect.list = res.data;
|
// contrlModalParams.userSelect.list = res.data;
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
ReceiveProductApi.getAllReProducts().then((res) => {
|
ReceiveProductApi.getAllReProducts().then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
contrlModalParams.productSelect.list = _.map(
|
contrlModalParams.productSelect.list = _.map(
|
||||||
|
@ -649,7 +661,8 @@ const save = () => {
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
model1.order.price &&
|
model1.order.price &&
|
||||||
model1.order.price.toString()[model1.order.price.toString().length - 1] === "."
|
model1.order.price.toString()[model1.order.price.toString().length - 1] ===
|
||||||
|
"."
|
||||||
) {
|
) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请输入正确的单价",
|
title: "请输入正确的单价",
|
||||||
|
@ -762,6 +775,9 @@ onLoad((option) => {
|
||||||
title: "编辑信息",
|
title: "编辑信息",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
onShow(() => {
|
||||||
if (model1.order.id) {
|
if (model1.order.id) {
|
||||||
ReceiveApi.getDetailById({ id: model1.order.id }).then((res) => {
|
ReceiveApi.getDetailById({ id: model1.order.id }).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
@ -796,7 +812,7 @@ onLoad((option) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.c-card {
|
.c-card {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
></view>
|
></view>
|
||||||
<view
|
<view
|
||||||
><u-tag
|
><u-tag
|
||||||
text="收货单作废"
|
text="出货单作废"
|
||||||
plain
|
plain
|
||||||
shape="circle"
|
shape="circle"
|
||||||
:borderColor="'rgba(255, 147, 68, 1) !important'"
|
:borderColor="'rgba(255, 147, 68, 1) !important'"
|
||||||
|
|
|
@ -29,7 +29,7 @@ interface Order {
|
||||||
points?: number; //扣点
|
points?: number; //扣点
|
||||||
buckleMiscellaneous?: number; //扣杂
|
buckleMiscellaneous?: number; //扣杂
|
||||||
price?: number; //单价
|
price?: number; //单价
|
||||||
balanceTotalPrice: number; //结算总价 货款金额
|
balanceTotalPrice?: number; //结算总价 货款金额
|
||||||
totalPrice?: number; //实际总价 预估价格
|
totalPrice?: number; //实际总价 预估价格
|
||||||
weighingMethod?: number; //称重方式:0:有皮重 1:零皮重
|
weighingMethod?: number; //称重方式:0:有皮重 1:零皮重
|
||||||
multiCategory?: number; //多品类:0:单品类 1:多品类
|
multiCategory?: number; //多品类:0:单品类 1:多品类
|
||||||
|
@ -211,5 +211,6 @@ interface StockCard {
|
||||||
cardCode?: string,
|
cardCode?: string,
|
||||||
type?: number, // 库存卡类型1=出库2=入库
|
type?: number, // 库存卡类型1=出库2=入库
|
||||||
cardCode?: string,
|
cardCode?: string,
|
||||||
name?: string
|
name?: string,
|
||||||
|
customUserName?:string
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue