|
@@ -456,91 +456,140 @@ onUnmounted(() => {
|
|
|
window.onRefresh = loadData
|
|
window.onRefresh = loadData
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style lang="sass" scoped>
|
|
|
|
|
-.container
|
|
|
|
|
- .move-stock
|
|
|
|
|
- .code
|
|
|
|
|
- background: #e9f4ff
|
|
|
|
|
- box-sizing: border-box
|
|
|
|
|
- padding: 8px 0
|
|
|
|
|
- .code-title
|
|
|
|
|
- display: flex
|
|
|
|
|
- justify-content: space-between
|
|
|
|
|
- padding: 0 15px 8px 15px
|
|
|
|
|
- .code-input
|
|
|
|
|
- ::v-deep(.van-search)
|
|
|
|
|
- padding: 0
|
|
|
|
|
- ::v-deep(.van-search__field)
|
|
|
|
|
- border-bottom: 2px solid #ffffff
|
|
|
|
|
- ::v-deep(.van-search__content)
|
|
|
|
|
- background: #fff
|
|
|
|
|
- .search-input-barcode
|
|
|
|
|
- ::v-deep(.van-search__field)
|
|
|
|
|
- border-bottom: 2px solid #0077ff
|
|
|
|
|
- z-index: 2
|
|
|
|
|
- .code-tips
|
|
|
|
|
- color: #ed6a0c
|
|
|
|
|
- flex: 1
|
|
|
|
|
- .code-count
|
|
|
|
|
- font-size: 16px
|
|
|
|
|
- font-weight: bold
|
|
|
|
|
- span
|
|
|
|
|
- color: #0077ff
|
|
|
|
|
- .nav-right
|
|
|
|
|
- padding: 14px 0 12px 5px
|
|
|
|
|
- .move-stock-list
|
|
|
|
|
- width: 100%
|
|
|
|
|
- overflow-y: auto
|
|
|
|
|
- max-height: 280px
|
|
|
|
|
- min-height: 100px
|
|
|
|
|
- .move-button
|
|
|
|
|
- background: #1989fa
|
|
|
|
|
- color: #fff
|
|
|
|
|
- width: 100%
|
|
|
|
|
- height: 30px
|
|
|
|
|
- font-size: 14px
|
|
|
|
|
- line-height: 30px
|
|
|
|
|
- font-weight: bold
|
|
|
|
|
- .task-table,.task-table-bin,.task-table-box
|
|
|
|
|
- width: 100%
|
|
|
|
|
- table-layout: fixed
|
|
|
|
|
- border-collapse: collapse
|
|
|
|
|
- font-size: 13px
|
|
|
|
|
- .task-table th,.task-table-bin th,.task-table td,.task-table-bin td,.task-table-box th,.task-table-box td
|
|
|
|
|
- text-align: center
|
|
|
|
|
- border: 1px solid #ccc
|
|
|
|
|
- word-wrap: break-word
|
|
|
|
|
- word-break: break-all
|
|
|
|
|
- .task-table thead,.task-table-bin thead,.task-table-box thead
|
|
|
|
|
- background-color: #3f8dff
|
|
|
|
|
- position: sticky
|
|
|
|
|
- top: 0
|
|
|
|
|
- color: white
|
|
|
|
|
- font-size: 13px
|
|
|
|
|
- .task-table-bin thead
|
|
|
|
|
- background-color: #3f8dff
|
|
|
|
|
- .task-table-bin tbody
|
|
|
|
|
- background: #cde7ff
|
|
|
|
|
- .task-table tbody tr.pricking-active
|
|
|
|
|
- background-color: #d6f9e7
|
|
|
|
|
- .task-table tbody tr.stock-active
|
|
|
|
|
- background-color: #fffadd
|
|
|
|
|
- .task-table tbody tr.virtual-active
|
|
|
|
|
- background-color: #cacaca
|
|
|
|
|
-.count-input
|
|
|
|
|
- ::v-deep(.van-field__value)
|
|
|
|
|
- border-bottom: 2px solid #0077ff
|
|
|
|
|
- font-size: 16px
|
|
|
|
|
-.completion
|
|
|
|
|
- text-align: right
|
|
|
|
|
- font-size: 14px
|
|
|
|
|
- line-height: 35px
|
|
|
|
|
- color: #0077ff
|
|
|
|
|
- padding: 0 10px
|
|
|
|
|
- cursor: pointer
|
|
|
|
|
- text-decoration: underline
|
|
|
|
|
-.tips
|
|
|
|
|
- font-size: 13px
|
|
|
|
|
- text-align: left
|
|
|
|
|
- padding: 5px 15px
|
|
|
|
|
|
|
+<style scoped lang="scss">
|
|
|
|
|
+.container {
|
|
|
|
|
+ .move-stock {
|
|
|
|
|
+ .code {
|
|
|
|
|
+ background: #e9f4ff;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ padding: 8px 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ .code-title {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ padding: 0 15px 8px 15px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .code-input {
|
|
|
|
|
+ ::v-deep(.van-search) {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ }
|
|
|
|
|
+ ::v-deep(.van-search__field) {
|
|
|
|
|
+ border-bottom: 2px solid #ffffff;
|
|
|
|
|
+ height: 50px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ ::v-deep(.van-search__content) {
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ height: 50px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ ::v-deep(.van-field__control) {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ height: 50px;
|
|
|
|
|
+ line-height: 50px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-input-barcode {
|
|
|
|
|
+ ::v-deep(.van-search__field) {
|
|
|
|
|
+ border-bottom: 2px solid #0077ff;
|
|
|
|
|
+ z-index: 2;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .code-tips {
|
|
|
|
|
+ color: #ed6a0c;
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ .code-count {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ span {
|
|
|
|
|
+ color: #0077ff;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .nav-right {
|
|
|
|
|
+ padding: 14px 0 12px 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .move-stock-list {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ max-height: 280px;
|
|
|
|
|
+ min-height: 100px;
|
|
|
|
|
+ .move-button {
|
|
|
|
|
+ background: #1989fa;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 30px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 30px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ }
|
|
|
|
|
+ .task-table,
|
|
|
|
|
+ .task-table-bin,
|
|
|
|
|
+ .task-table-box {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ table-layout: fixed;
|
|
|
|
|
+ border-collapse: collapse;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .task-table th,
|
|
|
|
|
+ .task-table-bin th,
|
|
|
|
|
+ .task-table td,
|
|
|
|
|
+ .task-table-bin td,
|
|
|
|
|
+ .task-table-box th,
|
|
|
|
|
+ .task-table-box td {
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ border: 1px solid #ccc;
|
|
|
|
|
+ word-wrap: break-word;
|
|
|
|
|
+ word-break: break-all;
|
|
|
|
|
+ }
|
|
|
|
|
+ .task-table thead,
|
|
|
|
|
+ .task-table-bin thead,
|
|
|
|
|
+ .task-table-box thead {
|
|
|
|
|
+ background-color: #3f8dff;
|
|
|
|
|
+ position: sticky;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .task-table-bin thead {
|
|
|
|
|
+ background-color: #3f8dff;
|
|
|
|
|
+ }
|
|
|
|
|
+ .task-table-bin tbody {
|
|
|
|
|
+ background: #cde7ff;
|
|
|
|
|
+ }
|
|
|
|
|
+ .task-table tbody tr.pricking-active {
|
|
|
|
|
+ background-color: #d6f9e7;
|
|
|
|
|
+ }
|
|
|
|
|
+ .task-table tbody tr.stock-active {
|
|
|
|
|
+ background-color: #fffadd;
|
|
|
|
|
+ }
|
|
|
|
|
+ .task-table tbody tr.virtual-active {
|
|
|
|
|
+ background-color: #cacaca;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+.count-input {
|
|
|
|
|
+ ::v-deep(.van-field__value) {
|
|
|
|
|
+ border-bottom: 2px solid #0077ff;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+.completion {
|
|
|
|
|
+ text-align: right;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 35px;
|
|
|
|
|
+ color: #0077ff;
|
|
|
|
|
+ padding: 0 10px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ text-decoration: underline;
|
|
|
|
|
+}
|
|
|
|
|
+.tips {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ padding: 5px 15px;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|