|
@@ -234,7 +234,7 @@ import checkSchedule from "../../../components/check/checkSchedule";
|
|
|
import uploadFile from "@/components/upload-file/main";
|
|
|
import {getToken} from "@/util/auth";
|
|
|
import {contrastObj, contrastList, contrastList2} from "@/util/contrastData";
|
|
|
-import {getCurrentDate} from "@/util/date";
|
|
|
+import {dateFormat, getCurrentDate} from "@/util/date";
|
|
|
import {validatenull} from '@/util/validate'
|
|
|
import check from "@/components/check/check";
|
|
|
|
|
@@ -288,7 +288,7 @@ export default {
|
|
|
label: "出库日期",
|
|
|
prop: "stockTime",
|
|
|
type: "datetime",
|
|
|
- value: new Date(),
|
|
|
+ value: dateFormat(new Date(),'yyyy-MM-dd hh:mm:ss'),
|
|
|
format: "yyyy-MM-dd HH:mm:ss",
|
|
|
valueFormat: "yyyy-MM-dd HH:mm:ss",
|
|
|
rules: [
|
|
@@ -630,6 +630,7 @@ export default {
|
|
|
done();
|
|
|
if (valid) {
|
|
|
this.dialogVisible = true
|
|
|
+ // ,purchaserId:this.form.purchaserId
|
|
|
getStorage({storageTypeId: this.form.storageId}).then(res => {
|
|
|
this.findObject(this.tableOption.column, "storageId").dicData = res.data;
|
|
|
this.findObject(this.tableOptionTwo.column, "storageId").dicData = res.data;
|
|
@@ -1074,6 +1075,8 @@ export default {
|
|
|
scanningCodeAddPc({
|
|
|
storageId: this.form.storageId,
|
|
|
purchaserId: this.form.purchaserId,
|
|
|
+ current:page.currentPage,
|
|
|
+ size:page.pageSize,
|
|
|
...obj
|
|
|
}).then(res => {
|
|
|
this.dialogList = res.data.data.records
|