|
|
|
@ -25,16 +25,20 @@
|
|
|
|
|
<view class="list-item"> 来料批次号: </view>
|
|
|
|
|
<view> {{ item.incomeBatchNo }} </view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="row-list">
|
|
|
|
|
<view class="list-item"> 任务号: </view>
|
|
|
|
|
<view> {{ item.checkNo }} </view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="row-list">
|
|
|
|
|
<view class="list-item"> 订单号: </view>
|
|
|
|
|
<view> {{ item.orderNo }} </view>
|
|
|
|
|
<view> {{ item.workorderCodeSap }} </view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="row-list">
|
|
|
|
|
<view class="list-item"> 物料号: </view>
|
|
|
|
|
<view> {{ item.materialCode }} </view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="row-list">
|
|
|
|
|
<view class="list-item"> 物料名称: </view>
|
|
|
|
|
<view class="list-item" style="white-space: nowrap"> 物料名称: </view>
|
|
|
|
|
<view> {{ item.materialName }} </view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="row-list">
|
|
|
|
@ -374,7 +378,9 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
belongTo: belongTo,
|
|
|
|
|
checkType: this.selectList.value,
|
|
|
|
|
};
|
|
|
|
|
console.log(this.model, '11111');
|
|
|
|
|
await this.model.getCheckTaskList(query);
|
|
|
|
|
|
|
|
|
|
this.detaillistceshi = this.model.CheckTaskList.qcCheckTaskDetails;
|
|
|
|
|
this.detaillistdefects = this.model.CheckTaskList.defects;
|
|
|
|
|
this.detaillistceshi.forEach((item) => {
|
|
|
|
@ -402,6 +408,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
await this.model.getCheckTaskListall(query);
|
|
|
|
|
console.log(this.model.CheckTaskListall);
|
|
|
|
|
this.list = this.model.CheckTaskListall;
|
|
|
|
|
console.log(this.selectList, '222222');
|
|
|
|
|
// let params = {
|
|
|
|
|
// productionState: this.productCodelocList.value.toString(),
|
|
|
|
|
// };
|
|
|
|
@ -463,6 +470,12 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
this.isvalue = false;
|
|
|
|
|
this.isquality = false;
|
|
|
|
|
console.log(this.selectList, this.detaillistceshi);
|
|
|
|
|
let typeCode = '';
|
|
|
|
|
this.nodelist.forEach((item) => {
|
|
|
|
|
if (this.selectList.value == item.orderCode) {
|
|
|
|
|
typeCode = item.typeCode;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.detaillistceshi.forEach((item) => {
|
|
|
|
|
if (item.propertyCode == 1) {
|
|
|
|
|
if (item.actualValue == null || item.actualValue == '') {
|
|
|
|
@ -522,7 +535,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
updateBy: session.userName,
|
|
|
|
|
factoryCode: session.PoolName,
|
|
|
|
|
updateByName: session.userName,
|
|
|
|
|
typeCode: this.selectList.value,
|
|
|
|
|
typeCode: typeCode,
|
|
|
|
|
checkType: this.selectList.value,
|
|
|
|
|
orderCode: this.clickitem.orderNo,
|
|
|
|
|
workorderCodeSap: this.clickitem.workorderCodeSap,
|
|
|
|
@ -603,8 +616,9 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
|
|
|
|
|
tempFilePaths.map((item) => {
|
|
|
|
|
uni.uploadFile({
|
|
|
|
|
// url: 'http://192.168.202.20:9000/prod-api/file/upload',
|
|
|
|
|
url: '/prod-api/file/upload',
|
|
|
|
|
url: 'http://192.168.202.20:9000/prod-api/file/upload',
|
|
|
|
|
// url: '/prod-api/file/upload',
|
|
|
|
|
// url: '/dev-api/file/upload',
|
|
|
|
|
fileType: 'image',
|
|
|
|
|
filePath: item,
|
|
|
|
|
header: {
|
|
|
|
|