update: 修复问题
This commit is contained in:
parent
426640fc6a
commit
f3fd202083
|
@ -97,7 +97,7 @@ const handleSearch = () => {
|
|||
|
||||
const update = (item: any) => {
|
||||
|
||||
GoodsApi.EditReceiveProduct({ isDeleted: true, id: item.id }).then((res) => {
|
||||
GoodsApi.deleteReceiveProduct({ id: item.id }).then((res) => {
|
||||
if (res.code === 200) {
|
||||
resetPageList();
|
||||
getList();
|
||||
|
|
|
@ -60,10 +60,12 @@
|
|||
v-model="model1.order.fileLists"
|
||||
@delete="handleDelete"
|
||||
></uni-file-picker>
|
||||
<!-- 当定价后编辑入库单 不能更改称重方式 -->
|
||||
<u-radio-group
|
||||
v-if="item.type === 'radio'"
|
||||
v-model="(model1.order as any)[item.key]"
|
||||
placement="row"
|
||||
:disabled="model1.order.scaleStatus === 1 && item.key === 'weighingMethod'"
|
||||
>
|
||||
<u-radio
|
||||
v-for="(c, index) in item.child"
|
||||
|
|
|
@ -74,7 +74,9 @@
|
|||
>
|
||||
</view>
|
||||
<view class="flex-box">
|
||||
<text>货款金额:{{ item.balanceTotalPrice || 0 }}元</text>
|
||||
<!-- 若是等待审核显示预估总价 其他显示货款金额 -->
|
||||
<text v-if="currentTab === 2">预估总价:{{ item.totalPrice || 0 }}元</text>
|
||||
<text v-else>货款金额:{{ item.balanceTotalPrice || 0 }}元</text>
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
|
|
|
@ -221,6 +221,7 @@ const state = reactive<{
|
|||
}>({
|
||||
order: {
|
||||
carNumber: "",
|
||||
balanceTotalPrice: 0
|
||||
},
|
||||
sheetList: [
|
||||
{
|
||||
|
@ -317,6 +318,7 @@ const handleConfirm = () => {
|
|||
],
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
state.order.balanceTotalPrice = amount.value || 0
|
||||
uni.showToast({ title: "修改成功" });
|
||||
gridList1[gridList1.length - 1].num = amount.value || "";
|
||||
isInput.value = false;
|
||||
|
|
|
@ -29,7 +29,7 @@ interface Order {
|
|||
points?: number; //扣点
|
||||
buckleMiscellaneous?: number; //扣杂
|
||||
price?: number; //单价
|
||||
balanceTotalPrice?: number; //结算总价 货款金额
|
||||
balanceTotalPrice: number; //结算总价 货款金额
|
||||
totalPrice?: number; //实际总价 预估价格
|
||||
weighingMethod?: number; //称重方式:0:有皮重 1:零皮重
|
||||
multiCategory?: number; //多品类:0:单品类 1:多品类
|
||||
|
|
Loading…
Reference in New Issue