|
@@ -100,7 +100,7 @@
|
|
|
</view>
|
|
|
<view class="row row-bottom has-btn">
|
|
|
<view class="left">成本(元/吨)</view>
|
|
|
- <input v-if="detailData.inOutType=='采购入库'" v-model='detailData.unitContractPrice' class="right-bottom"
|
|
|
+ <input v-if="detailData.inOutType=='采购入库'" v-model='detailData.cost' class="right-bottom"
|
|
|
placeholder="自动获取" :disabled="isEditCB"></input>
|
|
|
<input v-if="detailData.inOutType!='采购入库'" v-model='detailData.cost' class="right-bottom"
|
|
|
placeholder="自动获取" :disabled="isEditCB"></input>
|
|
@@ -274,7 +274,7 @@
|
|
|
this.detailData.goodsName = _data.goodsName;
|
|
|
this.detailData.contractNo = _data.contractNo;
|
|
|
this.detailData.goodsNameKey = _data.goodsNameKey;
|
|
|
- this.detailData.unitContractPrice = _data.unitContractPrice
|
|
|
+ this.detailData.cost = _data.unitContractPrice
|
|
|
if (_data.inOutType == '采购入库') {
|
|
|
this.detailData.freight = 0
|
|
|
}
|
|
@@ -345,8 +345,8 @@
|
|
|
},
|
|
|
dateChange(e) {
|
|
|
console.log(e)
|
|
|
- this.detailData.inOutDate = e.year + "-" + e.month + "-" + e.day
|
|
|
- this.inOutDate1 = e.year + "-" + e.month + "-" + e.day + "-" + e.hour + "-" + e.minute + "-" + e.second
|
|
|
+ this.detailData.inOutDate = e.year + "-" + e.month + "-" + e.day + " " + e.hour + ":" + e.minute + ":" + e.second
|
|
|
+ // this.inOutDate1 = e.year + "-" + e.month + "-" + e.day + " " + e.hour + ":" + e.minute
|
|
|
},
|
|
|
warehousingTypePicker(e) {
|
|
|
this.detailData.inOutType = this.warehousingTypeList[e].constValue
|
|
@@ -445,7 +445,7 @@
|
|
|
let title = ""
|
|
|
if (num == 1) {
|
|
|
this.detailData.statusFlag = 1
|
|
|
- this.detailData.inOutDate = this.inOutDate1
|
|
|
+ // this.detailData.inOutDate = this.inOutDate1
|
|
|
title = "暂存成功"
|
|
|
} else if (num == 2) {
|
|
|
this.detailData.statusFlag = 3
|
|
@@ -493,6 +493,7 @@
|
|
|
.top {
|
|
|
display: flex;
|
|
|
margin-bottom: 20rpx;
|
|
|
+ align-items: center;
|
|
|
|
|
|
.top-left {
|
|
|
margin-right: 20rpx;
|