Commit 9f730dbd authored by 罗超's avatar 罗超

2

parent 3fe5d7d9
...@@ -2511,7 +2511,7 @@ ...@@ -2511,7 +2511,7 @@
this.addMsg.MaterialId = val.Id this.addMsg.MaterialId = val.Id
this.addMsg.CarouselImageList = val.ImageList this.addMsg.CarouselImageList = val.ImageList
this.addMsg.SellingPrice = val.SellPrice this.addMsg.SellingPrice = val.SellPrice
this.addMsg.OriginalPrice = val.Money this.addMsg.OriginalPrice = val.SellPrice
this.addMsg.CostPrice = val.Money this.addMsg.CostPrice = val.Money
this.addMsg.Unit = val.Units||'件' this.addMsg.Unit = val.Units||'件'
this.addMsg.InventoryNum = val.InventoryNum this.addMsg.InventoryNum = val.InventoryNum
......
This diff is collapsed.
...@@ -58,8 +58,8 @@ ...@@ -58,8 +58,8 @@
<el-option label="资产类" :value="2"></el-option> <el-option label="资产类" :value="2"></el-option>
<el-option label="教室类" :value="3"></el-option> <el-option label="教室类" :value="3"></el-option>
</el-select> </el-select>
<el-checkbox v-model="IsSelectPayMoney" true-label="1" false-label="0" <el-checkbox v-model="IsSelectPayMoney" true-label="1" false-label="0" style="margin-left: 15px;font-size:14px"
style="margin-left: 15px;font-size:14px" @change="(msg.pageIndex = 1), getList()">只看已付款</el-checkbox> @change="(msg.pageIndex = 1), getList()">只看已付款</el-checkbox>
</div> </div>
<div style=" <div style="
display: flex; display: flex;
...@@ -80,7 +80,6 @@ ...@@ -80,7 +80,6 @@
clearable style="margin-top: 10px; width: 200px" class="input-with-select" placeholder="请输入主播名称" clearable style="margin-top: 10px; width: 200px" class="input-with-select" placeholder="请输入主播名称"
v-model="msg.AnchorName" size="small"> v-model="msg.AnchorName" size="small">
</el-input> --> </el-input> -->
</div> </div>
<div style=" <div style="
display: flex; display: flex;
...@@ -526,11 +525,11 @@ ...@@ -526,11 +525,11 @@
<img @click="getOrderSend(item)" v-if="item.OrderStatus == 3" class="app-order-icon" <img @click="getOrderSend(item)" v-if="item.OrderStatus == 3" class="app-order-icon"
src="../../assets/img/userman/change.png" alt="" /> src="../../assets/img/userman/change.png" alt="" />
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="线下付款" <!-- <el-tooltip class="item" effect="dark" content="线下付款"
v-if="item.OrderStatus == 1 || item.OrderStatus == 7" placement="top"> v-if="item.OrderStatus == 1 || item.OrderStatus == 7" placement="top">
<img @click="Offpayment(item)" v-if="item.OrderStatus == 1 || item.OrderStatus == 7" <img @click="Offpayment(item)" v-if="item.OrderStatus == 1 || item.OrderStatus == 7"
class="app-order-icon" src="../../assets/img/userman/OfflinePayment.png" alt="" /> class="app-order-icon" src="../../assets/img/userman/OfflinePayment.png" alt="" />
</el-tooltip> </el-tooltip> -->
</template> </template>
<el-tooltip class="item" effect="dark" content="查看订单详情" placement="top"> <el-tooltip class="item" effect="dark" content="查看订单详情" placement="top">
...@@ -927,7 +926,7 @@ ...@@ -927,7 +926,7 @@
AnchorName: "", AnchorName: "",
IsSelectPayMoney: 0, IsSelectPayMoney: 0,
IsOffline: -1, IsOffline: -1,
GoodsEduType:0, GoodsEduType: 0,
}, },
IsSelectPayMoney: 0, IsSelectPayMoney: 0,
platList: [], platList: [],
...@@ -1893,34 +1892,42 @@ ...@@ -1893,34 +1892,42 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
const loading = that.$loading({
lock: true,
text: '单据生成中...',
spinner: 'el-icon-loading',
});
that.i_post("/api/order/SetEduGoodsFreightCostFinance", { that.i_post("/api/order/SetEduGoodsFreightCostFinance", {
OrderId: id OrderId: id
}, (res) => { }, (res) => {
loading.close()
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(1884, res)
that.$message({ that.$message({
type: 'success', type: 'success',
message: '操作成功' message: '操作成功'
}); });
that.getList() that.getList()
} }
},()=>{
loading.close()
}); });
}) })
}, },
// 是否显示运费制单按钮 // 是否显示运费制单按钮
isShowzhidan(item){ isShowzhidan(item) {
const flag= item.DetailList.some(e=>{ const flag = item.DetailList.some(e => {
return e.FreightFinanceId==0&&e.FreightCostMoney>0 return e.FreightFinanceId == 0 && e.FreightCostMoney > 0
}) })
if(item.FreightMoney>0&&flag){ if (item.FreightMoney > 0 && flag) {
return true return true
}else{ } else {
return false return false
} }
} }
}, },
}; };
</script> </script>
<style scoped> <style scoped>
......
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