|
@@ -63,7 +63,7 @@
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
- <el-dialog title="导入价格"
|
|
|
+ <el-dialog title="导入库存"
|
|
|
append-to-body
|
|
|
:visible.sync="excelBox"
|
|
|
width="555px">
|
|
@@ -166,7 +166,6 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
uploadAfter(res, done, loading, column) {
|
|
|
- console.log(res)
|
|
|
window.console.log(column);
|
|
|
this.excelBox = false;
|
|
|
this.page.currentPage = 1;
|
|
@@ -267,10 +266,12 @@ export default {
|
|
|
// this.show = false;
|
|
|
},
|
|
|
statement() {
|
|
|
- this.statementData = {...this.search}
|
|
|
- this.statementData.createStartTime = this.statementData.createTime[0]+ " " + "00:00:00"
|
|
|
- this.statementData.createEndTime = this.statementData.createTime[1]+ " " + "23:59:59"
|
|
|
- delete this.statementData.createTime
|
|
|
+ this.statementData = {...this.search};
|
|
|
+ if (this.statementData.createTime && this.statementData.createTime.length > 0) {
|
|
|
+ this.statementData.createStartTime = this.statementData.createTime[0]+ " " + "00:00:00"
|
|
|
+ this.statementData.createEndTime = this.statementData.createTime[1]+ " " + "23:59:59"
|
|
|
+ delete this.statementData.createTime
|
|
|
+ }
|
|
|
this.switchDialog = !this.switchDialog;
|
|
|
},
|
|
|
onClose(val) {
|