新增留样人信息

master
FCD 4 days ago
parent 105b50b13b
commit 08418b46e9

@ -52,7 +52,7 @@ export default class ProductSample extends BasePage {
queryDate: undefined, queryDate: undefined,
}; };
list: any = []; list: any = [];
userinfo: any = uni.getStorageSync('userinfo');
clear() { clear() {
this.checkTime = null; this.checkTime = null;
} }
@ -81,6 +81,8 @@ export default class ProductSample extends BasePage {
sampleTime: new Date(), sampleTime: new Date(),
sampleNum: '1盒', sampleNum: '1盒',
sampleAddress: '成品留样室', sampleAddress: '成品留样室',
sampleUserCode: this.userinfo.userName,
sampleUserName: this.userinfo.nickName,
}); });
if (this.model.confirmCode === 200) { if (this.model.confirmCode === 200) {
await this.getList(); await this.getList();

Loading…
Cancel
Save