|
|
|
@ -8,59 +8,14 @@
|
|
|
|
|
<view class="right"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="table-wrapper">
|
|
|
|
|
<wyb-table
|
|
|
|
|
class="table"
|
|
|
|
|
ref="table"
|
|
|
|
|
width="100%"
|
|
|
|
|
enable-check="multiple"
|
|
|
|
|
show-left-and-right-border
|
|
|
|
|
:headers="headers"
|
|
|
|
|
:contents="model.materielList"
|
|
|
|
|
:show-vert-border="false"
|
|
|
|
|
></wyb-table>
|
|
|
|
|
<wyb-table class="table" ref="table" width="100%" enable-check="multiple" show-left-and-right-border :headers="headers" :contents="model.materielList" :show-vert-border="false"></wyb-table>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="bottom-bar">
|
|
|
|
|
<div class="extra">
|
|
|
|
|
<u-row class="bottom-info">
|
|
|
|
|
<u-col :span="12"
|
|
|
|
|
>{{ $t('message.po_Total') }} {{ model.materielList.length }}
|
|
|
|
|
{{ $t('message.po_Records') }}</u-col
|
|
|
|
|
>
|
|
|
|
|
<!-- <u-col :span="2">数量</u-col>-->
|
|
|
|
|
<!-- <u-col :span="4"><u-input v-model="locationCode"></u-input></u-col>-->
|
|
|
|
|
<!-- <u-col :span="3">-->
|
|
|
|
|
<!-- <u-button-->
|
|
|
|
|
<!-- size="mini"-->
|
|
|
|
|
<!-- type="warning"-->
|
|
|
|
|
<!-- :loading="$wait.is('*changeOrderInLocation')"-->
|
|
|
|
|
<!-- @click="changeLocation"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- 拒收-->
|
|
|
|
|
<!-- </u-button>-->
|
|
|
|
|
<!-- </u-col>-->
|
|
|
|
|
<u-col :span="12">{{ $t('message.po_Total') }} {{ model.materielList.length }} {{ $t('message.po_Records') }}</u-col>
|
|
|
|
|
</u-row>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="container">-->
|
|
|
|
|
<!-- <u-row>-->
|
|
|
|
|
<!-- <u-col :span="4">-->
|
|
|
|
|
<!-- <u-button type="primary" @click="model.checkAllOrderInInfoList(!model.isCheckedAll)">-->
|
|
|
|
|
<!-- {{-->
|
|
|
|
|
<!-- model.isCheckedAll-->
|
|
|
|
|
<!-- ? this.$t('message.po_noSelectAll')-->
|
|
|
|
|
<!-- : this.$t('message.po_SelectAll')-->
|
|
|
|
|
<!-- }}-->
|
|
|
|
|
<!-- </u-button>-->
|
|
|
|
|
<!-- </u-col>-->
|
|
|
|
|
<!-- <u-col :span="4">-->
|
|
|
|
|
<!-- <u-button type="success" :loading="$wait.is('*submitOrderInEnter')" @click="onSubmit">-->
|
|
|
|
|
<!-- {{ $t('message.po_Submit') }}-->
|
|
|
|
|
<!-- </u-button>-->
|
|
|
|
|
<!-- </u-col>-->
|
|
|
|
|
<!-- <u-col :span="4">-->
|
|
|
|
|
<!-- <u-button @click="uni.navigateBack()">{{ $t('message.po_Return') }}</u-button>-->
|
|
|
|
|
<!-- </u-col>-->
|
|
|
|
|
<!-- </u-row>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
@ -73,42 +28,9 @@ import { headers } from './config';
|
|
|
|
|
|
|
|
|
|
@Component
|
|
|
|
|
export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
/**
|
|
|
|
|
* 页面Module
|
|
|
|
|
*/
|
|
|
|
|
model = model;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 库位
|
|
|
|
|
*/
|
|
|
|
|
locationCode = '';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 表头
|
|
|
|
|
*/
|
|
|
|
|
headers = headers;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 逐条修改
|
|
|
|
|
*/
|
|
|
|
|
// changeLocation() {
|
|
|
|
|
// if (!this.model.hasChecked) {
|
|
|
|
|
// uni.showToast({
|
|
|
|
|
// icon: 'none',
|
|
|
|
|
// title: '请选择要修改的行',
|
|
|
|
|
// });
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
// this.model.changeOrderInLocation(this.locationCode);
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 提交
|
|
|
|
|
*/
|
|
|
|
|
// async onSubmit() {
|
|
|
|
|
// await this.model.submitOrderInEnter();
|
|
|
|
|
// this.locationCode = '';
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|