|
@@ -188,7 +188,7 @@
|
|
|
<u-button class="firstBtn" size="small" type="primary" text="选择时间类型"
|
|
<u-button class="firstBtn" size="small" type="primary" text="选择时间类型"
|
|
|
@click="timeTypeShow = true"></u-button>
|
|
@click="timeTypeShow = true"></u-button>
|
|
|
<u-button type="warning" size="small"
|
|
<u-button type="warning" size="small"
|
|
|
- :text="`批量设置${curDateType?curDateTypeLabel[curDateType]:''}`"
|
|
|
|
|
|
|
+ :text="`批量设置${currentDateType?curDateTypeLabel[currentDateType]:''}`"
|
|
|
@click="typeTimeClick(index)"></u-button>
|
|
@click="typeTimeClick(index)"></u-button>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -246,10 +246,10 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <view class="lable rx-cc">{{ curDateTypeLabel[curDateType] }}</view>
|
|
|
|
|
|
|
+ <view class="lable rx-cc">{{ curDateTypeLabel[currentDateType] }}</view>
|
|
|
<view class="content input_box">
|
|
<view class="content input_box">
|
|
|
<u--input clearable placeholder="请选择" border="surround"
|
|
<u--input clearable placeholder="请选择" border="surround"
|
|
|
- v-model="ite[curDateType]"
|
|
|
|
|
|
|
+ v-model="ite[currentDateType]"
|
|
|
@click.native="typeTimeClick(index, idx)"></u--input>
|
|
@click.native="typeTimeClick(index, idx)"></u--input>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -366,6 +366,7 @@
|
|
|
statusShow: false,
|
|
statusShow: false,
|
|
|
dictCodeList: [], // 字典列表
|
|
dictCodeList: [], // 字典列表
|
|
|
curDateType: 'purchaseDate',
|
|
curDateType: 'purchaseDate',
|
|
|
|
|
+ currentDateType: 'purchaseDate',
|
|
|
qualityResultsOption: [
|
|
qualityResultsOption: [
|
|
|
[{
|
|
[{
|
|
|
label: '合格',
|
|
label: '合格',
|
|
@@ -837,7 +838,7 @@
|
|
|
if (this.currentPackingIndex > -1) {
|
|
if (this.currentPackingIndex > -1) {
|
|
|
// 单独
|
|
// 单独
|
|
|
this.productList[this.currentProductIndex].outInDetailRecordRequestList[this
|
|
this.productList[this.currentProductIndex].outInDetailRecordRequestList[this
|
|
|
- .currentPackingIndex][this.curDateType] = this.formatter(this.currentTypeTime)
|
|
|
|
|
|
|
+ .currentPackingIndex][this.currentDateType] = this.formatter(this.currentTypeTime)
|
|
|
} else {
|
|
} else {
|
|
|
// 批量
|
|
// 批量
|
|
|
this.productList[this.currentProductIndex].outInDetailRecordRequestList = this.productList[
|
|
this.productList[this.currentProductIndex].outInDetailRecordRequestList = this.productList[
|
|
@@ -846,7 +847,7 @@
|
|
|
console.log(this.formatter(this.currentTypeTime))
|
|
console.log(this.formatter(this.currentTypeTime))
|
|
|
return {
|
|
return {
|
|
|
...item,
|
|
...item,
|
|
|
- [this.curDateType]: this.formatter(this.currentTypeTime)
|
|
|
|
|
|
|
+ [this.currentDateType]: this.formatter(this.currentTypeTime)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -1218,7 +1219,7 @@
|
|
|
this.warehouseShow = false
|
|
this.warehouseShow = false
|
|
|
},
|
|
},
|
|
|
selectTimeTypeInfo(e) {
|
|
selectTimeTypeInfo(e) {
|
|
|
- this.curDateType = e.value[0]?.prop
|
|
|
|
|
|
|
+ this.currentDateType = e.value[0]?.prop
|
|
|
this.timeTypeShow = false
|
|
this.timeTypeShow = false
|
|
|
},
|
|
},
|
|
|
sceneStateFilter(bizType) {
|
|
sceneStateFilter(bizType) {
|